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: CUDA error: unknown error #154

Open
Shaosifan opened this issue Oct 24, 2024 · 0 comments
Open

RuntimeError: CUDA error: unknown error #154

Shaosifan opened this issue Oct 24, 2024 · 0 comments

Comments

@Shaosifan
Copy link

I tried to use one 4090 to train this model, but I met the following problem. What may cause this, thank you!

File "/mnt/c/Codes/referring-segmentation/work-2-SAM-guided/LISA-main/train_ds.py", line 477, in train model.step() File "/home/ls/anaconda3/envs/SAM-RIS-py310/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 2213, in step self._take_model_step(lr_kwargs) File "/home/ls/anaconda3/envs/SAM-RIS-py310/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 2119, in _take_model_step self.optimizer.step() File "/home/ls/anaconda3/envs/SAM-RIS-py310/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1910, in step self._optimizer_step(i) File "/home/ls/anaconda3/envs/SAM-RIS-py310/lib/python3.10/site-packages/deepspeed/runtime/zero/stage_1_and_2.py", line 1816, in _optimizer_step self.optimizer.step() File "/home/ls/anaconda3/envs/SAM-RIS-py310/lib/python3.10/site-packages/torch/optim/optimizer.py", line 140, in wrapper out = func(*args, **kwargs) File "/home/ls/anaconda3/envs/SAM-RIS-py310/lib/python3.10/site-packages/deepspeed/ops/adam/fused_adam.py", line 157, in step state['exp_avg_sq'] = torch.zeros_like(p.data) RuntimeError: CUDA error: unknown error

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

1 participant