-
-
Notifications
You must be signed in to change notification settings - Fork 431
Description
Describe the bug
Scalene cell magic errors after I execute cupy code.
Interestingly, doesn't seem to error unless I've actually called a cupy function (just importing seems fine)
To Reproduce
%load_ext%%scalene
cp.ones(100)[:]
sleep(0.1)The traceback is too long to include here (the second line is very very long) so I've uploaded it to this gist
Expected behavior
I didn't expect an error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS] centos 7
- Browser [e.g. chrome, safari]
- Version [e.g. 22] 1.5.39 & 1.5.38 (only versions tested)
If you have not yet tried with the repository version (python3 -m pip install git+https://github.com/plasma-umass/scalene), please try that before reporting.
I've tried with both installs from pypi and the repo directly.
FWIW, I can reproduce this on multiple machines. It seems like the problem is really just the text trying to be decoded as ascii when it contains unicode
This also occurs in the ipython repl.