-
-
Couldn't load subscription status.
- Fork 430
Open
Description
Describe the bug
I have some code that loads a pytorch model with torch.jit.load. Things run fine when running the script normally, but when adding scalene with python -m scalene <program.py> it breaks.
Screenshots
File "/usr/local/lib/python3.8/site-packages/torch/jit/_serialization.py", line 169, in load
return wrap_cpp_module(cpp_module)
File "/usr/local/lib/python3.8/site-packages/torch/jit/_recursive.py", line 885, in wrap_cpp_module
return torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
AttributeError: type object 'RecursiveScriptModule' has no attribute '_construct'
jcbsv
Metadata
Metadata
Assignees
Labels
No labels