Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.

#301 PyTorch Grows Up and Moves Out

September 15, 2022 00:31:10 26.47 MB Downloads: 0

Watch the live stream:

Watch on YouTube

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