memray: Could not load library libcudnn_ops_infer.so.8.
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Code:
import yolov5
def pip_load():
return yolov5.load('yolov5s.pt')
pip_load()
Error Message:
Writing profile results into speed/memray-pip_speed.py.15691.bin
Memray WARNING: Correcting symbol for aligned_alloc from 0x7f6d26393cc0 to 0x7f6d279a4250
Could not load library libcudnn_ops_infer.so.8. Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory
Please make sure libcudnn_ops_infer.so.8 is in your library path!
Expected Behavior
No response
Steps To Reproduce
pip install memray
Code :
memray run file.py
Memray Version
1.3.1
Python Version
3.8
Operative System
Linux
Anything else?
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (10 by maintainers)
@kadirnar Could you please post the solution, faving same issue when profiling pytorch model
@pablogsal
this code works without memray, it also works with scalene
Thanks, @kadirnar for opening an issue.
This doesn’t seem like a
memray
error. This error seems to be coming from the library because your are missing a shared object.Can you paste here what is the output of the program if you run
python file.py
andpython -m memray file.py
?