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
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
%%scalenecp.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.
The text was updated successfully, but these errors were encountered:
ivirshup
changed the title
Unicode decode error after executing cupy code
Unicode decode error after executing cupy code in a notebook
Apr 17, 2024
ivirshup
changed the title
Unicode decode error after executing cupy code in a notebook
Unicode decode error after executing cupy code in ipython
Apr 17, 2024
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
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):
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 containsunicode
This also occurs in the ipython repl.
The text was updated successfully, but these errors were encountered: