question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when running on Colab CPU instance

See original GitHub issue

When I attempt to import anything from pytorch_memlab on a Google Colab CPU instance, I get the following error:

Could not reset CUDA stats and cache: 'NoneType' object has no attribute 'lower'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Stonesjtucommented, Oct 28, 2021

@RobinFrcd I’ve uploaded a new version 0.2.4 manually onto pypi, could you try upgrading it?

0reactions
RobinFrcdcommented, Oct 28, 2021

@Stonesjtu Perfect, it works like a charm! Thank you very much for the prompt release! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

CUDA error: device-side assert triggered on Colab
If your code runs normally on device("cpu"), try deleting the current Colab runtime and restart it.
Read more >
Local runtimes - Google Colab
Colaboratory lets you connect to a local runtime using Jupyter. This allows you to execute code on your local hardware and have access...
Read more >
Connecting Google Colab to an Amazon EC2 instance
This means Colab is connected to a runtime other than the Colab default. We also run some tests to confirm GPU is detected....
Read more >
TensorFlow with GPU - Colaboratory - Google Colab
In this notebook you will connect to a GPU, and then run some basic TensorFlow operations on both the CPU and a GPU,...
Read more >
How to Run Stable Diffusion Locally to Generate Images
You can also run Stable Diffusion on CPU in Colab if you do not have Colab Pro, ... but use this instead if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found