You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I installed the latest version of Scalene using python3 -m pip install -U git+https://github.com/plasma-umass/scalene.git as was advised in #110 in order to get rid of a SIGSEGV error.
When running scalene -m my-script.py I receive the following error:
Scalene failed to initialize.
Traceback (most recent call last):
File "/Users/Hans/opt/anaconda3/envs/ai-models/lib/python3.8/site-packages/scalene/scalene_profiler.py", line 1433, in run_profiler
import register_files_to_profile
ModuleNotFoundError: No module named 'register_files_to_profile'
I managed to get the profiler working by using the cpu-only flag: scalene --cpu-only -m my-script.py
I am assuming scalene wants to use the "GPU" of the M1 chip?
Desktop (please complete the following information):
OS: macOS 11.6
Chip: M1
The text was updated successfully, but these errors were encountered:
This is an issue loading libscalene.dylib, which is required for memory and memcpy profiling but not for CPU profiling. It has nothing to do with a built-in GPU (our GPU support is for NVIDIA GPUs). I'm on it...
We're almost there... our next release should fix it. BTW, the problem is anaconda specific (and stems from their static linking of the Python library).
Describe the bug
I installed the latest version of Scalene using
python3 -m pip install -U git+https://github.com/plasma-umass/scalene.git
as was advised in #110 in order to get rid of a SIGSEGV error.When running
scalene -m my-script.py
I receive the following error:I managed to get the profiler working by using the
cpu-only
flag:scalene --cpu-only -m my-script.py
I am assuming scalene wants to use the "GPU" of the M1 chip?
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: