Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault when installing pytorch3d using conda #1940

Open
sreeharshaparuchur1 opened this issue Jan 24, 2025 · 2 comments
Open

Segmentation fault when installing pytorch3d using conda #1940

sreeharshaparuchur1 opened this issue Jan 24, 2025 · 2 comments

Comments

@sreeharshaparuchur1
Copy link

🐛 Bugs / Unexpected behaviors

After running conda install pytorch=2.4.1 torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia I should be able to install pytorch3d using conda install -c pytorch3d pytorch3d

nvidia-smi:
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01 Driver Version: 535.183.01 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3060 ... Off | 00000000:01:00.0 On | N/A |
| N/A 41C P8 16W / 40W | 933MiB / 6144MiB | 1% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

Instructions To Reproduce the Issue:

  1. What you observed (including the full logs):```
    Channels:
  • pytorch3d
  • nvidia
  • pytorch
  • defaults
    Platform: linux-64
    Collecting package metadata (repodata.json): done
    Solving environment: | Segmentation fault (core dumped)
I'd appreciate your help on this matter. Thanks in advance.
@bottler
Copy link
Contributor

bottler commented Jan 24, 2025

This appears to be a problem with conda itself. Probably not something we can help much with. A work around might be to download the right conda package explicitly from https://anaconda.org/pytorch3d/pytorch3d/files and then conda install the package. Or you might be able to upgrade or downgrade your conda itself.

@sreeharshaparuchur1
Copy link
Author

Hello,

Thanks for getting back so soon. I upgraded conda just before trying this pytorch3d installation on a fresh ubuntu installation. I downloaded the required conda package from the link you provided and installed it into my conda environment. While I can see the pytorch3d version when I do conda list, when I try to import it on the ipython interface or import it in a script, it says that pytorch3d is not installed.

What might be going wrong here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants