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.

Hello, running the code I encounter this message from the torch implementation.

what(): owning_ptr == NullType::singleton() || owning_ptr->refcount_.load() > 0 INTERNAL ASSERT FAILED at /pytorch/c10/util/intrusive_ptr.h:348, please report a bug to PyTorch. intrusive_ptr: I used the suggested versions. Do you have some advice? Thank you.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
monkeyDemoncommented, Dec 26, 2019

I also encountered this error. I can also confirm that the error occurred at the end of the test and occured randomly.

I guess the most possible reason is the different ways of using ray? in README.md it says: Please read ray’s document to construct a proper ray cluster : https://github.com/ray-project/ray, and run search.py with the master’s redis address.

Can you give a more detailed tutorial about “construct a proper ray cluster” ?

what I do is modified this line in search.py,maybe doing this way has problem? #ray.init(redis_address=args.redis) ray.init(num_cpus=8, num_gpus=4)

Hope some suggestions, thanks!

0reactions
TOM-tymcommented, Sep 26, 2020

@gogo03 Hi, I’ve got the same error here. Do you have any solutions? I’ve tried to comment “time.sleep(10)” but the error still occours.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PyTorch crashes without an error message, when running this ...
PyTorch crashes without an error message, when running this code snippet with torch.tensor subclassing & forward hooks (Not sure what the exact cause...
Read more >
Pytorch crashing while trying to iterate through a loaded ...
I am using the code: import torch import torchvision import torchvision.transforms as transforms transform = transforms.Compose( [transforms.
Read more >
GPU Kernels keep crashing using Pytorch - Kaggle
Hello, I am trying to test my code for Deep Q Learning using Kaggle Kernels on GPU, but unfortunately, the Kernel keeps crashing....
Read more >
Colab Session Crashes on importing torch_geometric.data
When the execution reaches the lats line, the colab session crashes, I have tried switching to GPU and TPU as well, but nothing...
Read more >
Plasma CNC Torch Crashing and How to fix it! - YouTube
654 views Feb 14, 2022 Plasma CNC Torch Crashing and How to fix it! … ...more ...more. Show less. 8. Dislike. Share. Save....
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