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

CUDA Error when running raw_pose_processing #154

Open
euminds opened this issue Sep 29, 2024 · 1 comment
Open

CUDA Error when running raw_pose_processing #154

euminds opened this issue Sep 29, 2024 · 1 comment

Comments

@euminds
Copy link

euminds commented Sep 29, 2024

When attempting to run the raw_pose_processing.py script in the torch_render conda environment, I encountered a compatibility issue between PyTorch and the NVIDIA GeForce RTX 3090 GPU related to CUDA capability mismatch. I think it should be updated to a new torch setting. Could you give me some advice?

(torch_render) jintao@dg04:~/rjtproject/HumanML3D$ python raw_pose_processing.py
/home/jintao/miniconda3/envs/torch_render/lib/python3.7/site-packages/torch/cuda/init.py:104: UserWarning:
NVIDIA GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.
The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_70 sm_75.
If you want to use the NVIDIA GeForce RTX 3090 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/

warnings.warn(incompatible_device_warn.format(device_name, capability, " ".join(arch_list), device_name))
Traceback (most recent call last):
File "raw_pose_processing.py", line 91, in
male_bm = BodyModel(bm_fname=male_bm_path, num_betas=num_betas, num_dmpls=num_dmpls, dmpl_fname=male_dmpl_path).to(comp_device)
File "/home/jintao/miniconda3/envs/torch_render/lib/python3.7/site-packages/torch/nn/modules/module.py", line 612, in to
return self._apply(convert)
File "/home/jintao/miniconda3/envs/torch_render/lib/python3.7/site-packages/torch/nn/modules/module.py", line 402, in _apply
self._buffers[key] = fn(buf)
File "/home/jintao/miniconda3/envs/torch_render/lib/python3.7/site-packages/torch/nn/modules/module.py", line 610, in convert
return t.to(device, dtype if t.is_floating_point() else None, non_blocking)
RuntimeError: CUDA error: invalid device ordinal

@Hzh873851987
Copy link

#10 (comment)

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