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

RuntimeError: Not compiled with GPU support. #1878

Open
dfdu233 opened this issue Sep 26, 2024 · 1 comment
Open

RuntimeError: Not compiled with GPU support. #1878

dfdu233 opened this issue Sep 26, 2024 · 1 comment

Comments

@dfdu233
Copy link

dfdu233 commented Sep 26, 2024

RuntimeError: Not compiled with GPU support.

  1. What you observed (including the full logs):
    [rank1]: File "/pytorch3d/pytorch3d/ops/knn.py", line 189, in knn_points
    [rank1]: p1_dists, p1_idx = _knn_points.apply(
    [rank1]: ^^^^^^^^^^^^^^^^^^
    [rank1]: File "/opt/conda/envs/env/lib/python3.12/site-packages/torch/autograd/function.py", line 574, in apply
    [rank1]: return super().apply(*args, **kwargs) # type: ignore[misc]
    [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [rank1]: File "/pytorch3d/pytorch3d/ops/knn.py", line 74, in forward
    [rank1]: idx, dists = _C.knn_points_idx(p1, p2, lengths1, lengths2, norm, K, version)

my conda list related

pytorch 2.4.0 py3.12_cuda12.1_cudnn9.1.0_0 pytorch
pytorch-cuda 12.1 ha16c6d3_5 pytorch
pytorch-mutex 1.0 cuda pytorch
pytorch3d 0.7.8 dev_0

Can you please help with this?thx

@bottler
Copy link
Contributor

bottler commented Sep 26, 2024

How did you install pytorch3d? I think you might've done it from source without having the necessary prerequisites working correctly. perhaps try again in a new environment looking closely at install.md.

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