Noel O'Boyle · @baoilleach
117 followers · 56 posts · Server mstdn.science

Tried out Python 3.11 from conda-forge due to rumoured performance improvements. For a very simple (yet real) workload I had 97s for v3.9 but 62s for v3.11. Pypy naturally blew past at ~7.4s, but the 3.11 hype is real and hopefully will lead to speedups in many workflows.

#python #python311

Last updated 2 years ago

Björn Ricks · @bjoernricks
37 followers · 132 posts · Server norden.social
Martin Kodovský · @nitrram
5 followers · 5 posts · Server techhub.social

Got on within up and running. So far just recipe tested, but seems to run faster whilst CPU decoding.

Building it was not that easy though. First, I experienced troubles while linking against glibc, but it was due to switching back and forth to conda environment, because I needed gcc 11.1 (my Fedora 36 has gcc 12+, and it has issues preprocessing some templates among the pytorch dependencies). Moreover, I needed linkage to the system's , which was present at a conda repository

I was too lazy to find the way through, exporting correct variables and/or setting correct paths here and there. So I decided to first build custom gcc 11.1 and eventually pytorch.

I visited ftp.gnu.org/gnu/gcc/gcc-11.1.0, but then I struggled once again. Now it was compiling gcc itself. Even then I had very little patience finding the true reason, but was lucky enough to find a patch enabling succesful compilation of the gcc: reviews.llvm.org/D129471

#speechbrain #pytorch2 #python311 #cuda12

Last updated 2 years ago

holger · @holgerjs
19 followers · 27 posts · Server hachyderm.io

Here is a quick read on how I created a Python Web App and deployed code directly from a GitHub... dev.to/holger/azure-sdk-for-py

#python #azure #azuresdk #python311

Last updated 2 years ago

Python 3.11 improvement:

This is a graph of CPU utilization for the web services that power .

▶️ They upgraded from python 3.10 to 3.11
▶️ a significant and correlated drop in CPU usage

#pypi #python #python3 #pythonprogramming #programming #python311

Last updated 2 years ago

Paolo Melchiorre · @paulox
481 followers · 295 posts · Server fosstodon.org

RT FastAPI ⚡ by Sebastián Ramírez

Here we go! 🔖

Just released: 0.86.0 with official support for 3.11 😎🐍

Go get that extra and beautiful errors 🚀

fastapi.tiangolo.com/release-n

#tiangolo #fastapi #python #performance #traceback #python311

Last updated 2 years ago