failed in debug
See original GitHub issueDescription
What steps will reproduce the problem?
input_tensor, mask_tensor, output_tensor = batch_embedding
using spyder 4.2.0 with pytorch 1.6.0 cuda 10.2
Traceback
Exception in comms call get_namespace_view:
File "C:\shankar\anaconda3\envs\spyder\lib\site-packages\spyder_kernels\comms\commbase.py", line 314, in _comm_message
buffer = cloudpickle.loads(msg['buffers'][0],
ModuleNotFoundError: No module named 'torch'
Versions
- Spyder version: 4.2.0
- Python version: 3.9.2
- Qt version: 5.9.7
- PyQt5 version: 5.9.2
- Operating System: Windows 10
Dependencies
# Mandatory:
atomicwrites >=1.2.0 : 1.4.0 (OK)
chardet >=2.0.0 : 4.0.0 (OK)
cloudpickle >=0.5.0 : 1.6.0 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree >=3.0.2 : 3.1.0 (OK)
IPython >=4.0 : 7.21.0 (OK)
jedi =0.17.2 : 0.17.2 (OK)
jsonschema >=3.2.0 : 3.2.0 (OK)
nbconvert >=4.0 : 6.0.7 (OK)
numpydoc >=0.6.0 : 1.1.0 (OK)
paramiko >=2.4.0 : 2.7.2 (OK)
parso =0.7.0 : 0.7.0 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.8.0 (OK)
pygments >=2.0 : 2.8.0 (OK)
pylint >=1.0 : 2.7.2 (OK)
pyls >=0.36.1;<1.0.0 : 0.36.2 (OK)
pyls_black >=0.4.6 : 0.4.6 (OK)
pyls_spyder >=0.1.1 : 0.3.2 (OK)
qdarkstyle >=2.8 : 2.8.1 (OK)
qtawesome >=0.5.7 : 1.0.1 (OK)
qtconsole >=4.7.7 : 5.0.2 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.4 (OK)
setuptools >=39.0.0 : 52.0.0.post20210125 (OK)
sphinx >=0.6.6 : 3.5.1 (OK)
spyder_kernels >=1.10.0;<1.11.0 : 1.10.2 (OK)
three_merge >=0.1.1 : 0.1.1 (OK)
watchdog >=0.10.3 : 1.0.2 (OK)
zmq >=17 : 20.0.0 (OK)
# Optional:
cython >=0.21 : None (NOK)
matplotlib >=2.0.0 : None (NOK)
numpy >=1.7 : None (NOK)
pandas >=1.1.1 : None (NOK)
scipy >=0.17.0 : None (NOK)
sympy >=0.7.3 : None (NOK)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Debug.Fail Method (System.Diagnostics) - Microsoft Learn
Emits the specified error message. Fail(String, String). Emits an error message and a detailed error message.
Read more >10 tips for debugging build failures - Jimus' Blog
10 tips for debugging build failures · Read the build logs! · If the logs don't help then, if possible, increase their verbosity....
Read more >Debug start fails with error. - Visual Studio Feedback
VS shows that multiple projects failed to build. Run rebuild all, No errors or warnings. Start debug session. Same message about errors. Shutdown...
Read more >Process detection failed on Debug in Pattern Designer
I received a 'process detection failed' establishing a Debug Mode session with the exact same target machine that was just successfully discovered.
Read more >Flutter debug error, FAILURE: Build failed with an exception
Go to pubspec.yaml file in android studio. try doing “packages get” and then build the project again. or follow this answer https:// ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Oh okay maybe my gpu has ran out of memory…I am able to run the code on a cloud cluster like compute canada using cuda…I was previously able to run on my system using cpu version of pytorch…I think my system might be just running out of gpu memory…Ok thanks
Sorry but the last error message you posted implies that this is not an error in Spyder but one with CUDA not finding enough memory in your GPU to run the computations you want.
Are you able to run your code outside Spyder? For instance, in a Jupyter notebook?