Scalene: Program did not run for long enough to profile. #586
Replies: 4 comments 1 reply
-
Any hope you can share the |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here is a reduced version of the source. I removed the dependency and cut some other parts of the code. The rest is not simple to reduce. It still throws an "Unknown Error" |
Beta Was this translation helpful? Give feedback.
0 replies
-
I wrote a very simple program, it throws a stack overflow exception in scalene. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I downloaded the latest version of scalene on Windows 11 with Python 3.11. I ran is from the command line as follows
C:\Users\kt\OneDrive\Transfer\Python\intersections\repository\src>scalene --cpu --reduced_profile random_test.py
I get the following rather unhelpful message.
Error in program being profiled:
Unknown Error
Scalene: Program did not run for long enough to profile.
NOTE: The GPU is currently running in a mode that can reduce Scalene's accuracy when reporting GPU utilization.
Run once as Administrator or root (i.e., prefixed with
sudo
) to enable per-process GPU accounting.The script random_test.py runs fine, and takes 1-2 minutes. This should be long enough, I suppose, and anyhow the error message appears much quicker than that,
I am stuck. And I would like to use scalene, according to the docs it really does what I was looking for.
Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions