New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make pyperformance runnable from --disable-gil builds
#116024
Comments
This comment was marked as resolved.
This comment was marked as resolved.
Ah, it looks like, psutil should publish package for free-threaded build :(
|
I need to read https://discuss.python.org/t/python-abis-and-pep-703/ :) |
I think the fixes are already upstream, but need a new release of |
Which issue? It cannot be installed? It does crash? |
|
https://pypi.org/project/pyperformance/1.11.0/ is released, use this version for a while. |
For psutil, @colesbury submitted the patch. giampaolo/psutil#2402 |
Under investigation,
psutil
has an issued with runningpypeformance
andpyperf
(essential one).With manual uninstalling
psutil
frompyperf
andpyperformance
, running the script itself is okay.So the main issue is related to
psutil
package.(Need to investigate essential issue from now on)
We need to fix psutil-related code for the free-threaded build to benchmark performance exactly.
Since
psutil
inpyperf
only used for memory usage checking and disabling psutil from pyperf for free-threaded build for a while, it is acceptable (CPU counting also depends on psutils but it has fallback logic, so it's okay)For action items
psutil
if the build is free-threaded from pyperf temporally. gh-174: Support free-threading CPython by disabling psutil related fe… psf/pyperf#175psutil
related features for free-threaded build.Backtrace
cc @mdboom @colesbury @giampaolo
The text was updated successfully, but these errors were encountered: