Brought to you by Michael and Brian - take a Talk Python course or get Brian's pytest book

Episode #301: PyTorch Grows Up and Moves Out

Published Thu, Sep 15, 2022, recorded Tue, Sep 13, 2022.


Watch the live stream:


About the show

Sponsored by Microsoft for Startups Founders Hub.

Michael #1: PythonAnywhere: Our Commitment to Providing Free Accounts

  • via Matthew Kramer
  • In light of Heroku’s cancelling their free tiers…
  • They believe free tiers are important for beginners
  • Two part solution:
    • Limit outbound internet access for free accounts
    • “Proof of life” to keep running - 3 months for apps, 1 yr for accounts
  • BTW, they were acquired by Anaconda Inc.

Brian #2: ruff: An extremely fast Python linter, written in Rust.

  • Announcement article: Python tooling could be much, much faster
  • Charlie Marsh
  • Quite the star history, as it’s a new repo as of Aug 30. Now at 1.8k.
  • It is extremely fast.
  • I installed it and tried it on a small project.
  • It ran so fast I thought it didn’t do anything. I went and added some errors to convince myself it was running.
    $ time flake8 src tests     
        ...
        flake8 src tests  0.29s user 0.02s system 98% cpu 0.311 total
    
        $ time ruff src/ tests/   
        ...  
        ruff src/ tests/  0.01s user 0.01s system 162% cpu 0.011 total
    

Michael #3: Meta spins off PyTorch Foundation to make AI framework vendor neutral

  • PyTorch, which powers Tesla Autopilot and 150K other projects, will join the Linux Foundation.
  • Its governing board includes representatives from Nvidia, Meta, Google, Microsoft, Amazon, and AMD.
  • The PyTorch Foundation will strive to adhere to four principles,
    • Remaining open
    • Maintaining neutral branding
    • Staying fair
    • Forging a strong technical identity
  • According to Meta, the transition to the PyTorch Foundation will not affect any existing PyTorch code

Brian #4: Two string resources

Extras

Brian:

Michael:

Joke: If a developer had to build a horse


Want to go deeper? Check our projects