Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22852

Python Bytes: #301 PyTorch Grows Up and Moves Out

$
0
0
<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=oCLokYIIT0U' style='font-weight: bold;'>Watch on YouTube</a><br> <br> <p><strong>About the show</strong></p> <p>Sponsored by <a href="http://pythonbytes.fm/foundershub2022"><strong>Microsoft for Startups Founders Hub</strong></a>.</p> <p><strong>Michael #1:</strong> <a href="https://blog.pythonanywhere.com/206/"><strong>PythonAnywhere: Our Commitment to Providing Free Accounts</strong></a></p> <ul> <li>via Matthew Kramer</li> <li>In light of Heroku’s cancelling their free tiers…</li> <li>They believe free tiers are important for beginners</li> <li>Two part solution: <ul> <li>Limit outbound internet access for free accounts</li> <li>“Proof of life” to keep running - 3 months for apps, 1 yr for accounts</li> </ul></li> <li>BTW, they were acquired by Anaconda Inc.</li> </ul> <p><strong>Brian #2:</strong> <a href="https://github.com/charliermarsh/ruff"><strong>ruff: An extremely fast Python linter, written in Rust.</strong></a></p> <ul> <li>Announcement article: <a href="https://notes.crmarsh.com/python-tooling-could-be-much-much-faster">Python tooling could be much, much faster</a></li> <li>Charlie Marsh</li> <li>Quite the <a href="https://star-history.com/#charliermarsh/ruff&amp;Date">star history</a>, as it’s a new repo as of Aug 30. Now at 1.8k.</li> <li>It is extremely fast.</li> <li>I installed it and tried it on a small project.</li> <li>It ran so fast I thought it didn’t do anything. I went and added some errors to convince myself it was running. <pre><code>$ 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 </code></pre></li> </ul> <p><strong>Michael #3:</strong> <a href="https://arstechnica.com/information-technology/2022/09/meta-spins-off-pytorch-foundation-to-make-ai-framework-vendor-neutral/"><strong>Meta spins off PyTorch Foundation to make AI framework vendor neutral</strong></a></p> <ul> <li>PyTorch, which powers Tesla Autopilot and 150K other projects, will join the Linux Foundation.</li> <li>Its governing board includes representatives from Nvidia, Meta, Google, Microsoft, Amazon, and AMD.</li> <li>The PyTorch Foundation will strive to adhere to four principles, <ul> <li>Remaining open</li> <li>Maintaining neutral branding</li> <li>Staying fair</li> <li>Forging a strong technical identity</li> </ul></li> <li>According to Meta, the transition to the PyTorch Foundation will not affect any existing PyTorch code</li> </ul> <p><strong>Brian #4:</strong> <strong>Two string resources</strong></p> <ul> <li><a href="https://www.pythonmorsels.com/string-methods/?utm_source=pocket_mylist">Python String Methods to Know</a> <ul> <li>Trey Hunner</li> </ul></li> <li><a href="https://cheatography.com/brianallan/cheat-sheets/python-f-strings-number-formatting/?utm_source=pocket_mylist">F-Strings Number Formatting Cheat Sheet</a> <ul> <li>Brian Allan</li> </ul></li> </ul> <p><strong>Extras</strong> </p> <p>Brian:</p> <ul> <li>In Feb, on <a href="https://pythonbytes.fm/episodes/show/271/cpython-async-task-groups-in-python-3.11">episode 271, we talked about Seaborn’s new object interface</a> <ul> <li>Well, it’s <a href="https://michaelwaskom.medium.com/announcing-the-release-of-seaborn-0-12-f26266ddbd8f">out now in seaborn 0.12</a></li> </ul></li> <li>Interesting discussion about <a href="https://lwn.net/SubscriberLink/907226/d9bd243556d15d8b/">lazy imports</a>.</li> <li>Other than that, I’m good with your extra. 🙂 </li> </ul> <p>Michael:</p> <ul> <li><a href="https://training.talkpython.fm/courses/getting-started-with-testing-in-python-using-pytest"><strong>pytest course is out</strong></a>!</li> </ul> <p><strong>Joke:</strong> <a href="https://twitter.com/pr0grammerhum0r/status/1544093723541348353?s=12&amp;t=9gGvVIDpqOfv22I40TQUzw"><strong>If a developer had to build a horse</strong></a>…</p>

Viewing all articles
Browse latest Browse all 22852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>