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.

Hi, I use conda install -c prigoyal pytorch=0.4.0 to install pytorch and run ./ Everything goes well until line 105 of


The output is:

 ./ line 30: 27040 Segmentation fault      (core dumped) python3 -u --model_path $MODEL_PATH --test_img $TEST_IMG --arch_encoder resnet50_dilated8 --arch_decoder ppm_bilinear_deepsup --fc_dim 2048 --result $RESULT_PATH

I guess it’s the problem of pytorch, and test the code:

import torch
x = torch.Tensor(3,3)

Similar error : Segmentation fault (core dumped).

Any suggestions?

BTW, my other projects of pytorch 0.2.0 and 0.3.0 on this machine work well.


Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

zhijiewcommented, Apr 10, 2018

Using pytorch 0.4.0 from ostrokach, it can work fine on my machine.

conda install -c ostrokach-forge pytorch

Tete-Xiaocommented, Apr 10, 2018

@zhiweifang It is because PyTorch’s source codes are still being aggressively changed…

We tried to catch up with the latest source codes, but realized that if we use the newest codes, it doesn’t work on any older version…

We will update and fix warnings when a stable version of PyTorch is released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Trying To Find Reason Why RTX 3060 Can't Use CUDA in ...
According to the screen dump, the compute mode in your GPU is set to “Default”, which means that CUDA does not seem to...
Read more >
Pytorch says that CUDA is not available (on Ubuntu)
Pytorch doesn't use the system cuda when installed via pip or conda, it ships with its own copy of the cuda runtime and...
Read more >
Unable to use CUDA from artifacts - GPU
I'm trying to use julia in an HPC environment. I load the CUDA driver using slurm's “module” functionality. I can see where it...
Read more >
Can not use .cuda() function to load the model into GPU ...
I think the problem is related to CUDA version since the new pytorch 1.3 is built using CUDA 10.1.243 and my current CUDA...
Read more >
Ubuntu 22.04 cannot install nvidia-utils-515 and ...
Procedure · To do this, you need to firstly remove the existing driver (510 or 515), and/or the toolkit (may have been installed...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found