You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:3! (when checking argument for argument mat2 in method wrapper_CUDA_mm)
#21
Open
orangezfj opened this issue
Dec 30, 2023
· 1 comment
Hello!
The calculation accuracy of QLora training is float16, what is the calculation accuracy of qa-lora training?
My fine-tuning TechGPT-7b was successful with QLora, but using qa-lora always reported the following error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:3! (when checking argument for argument mat2 in method wrapper_CUDA_mm)
Looking forward to your answers, this is very important to me。
The text was updated successfully, but these errors were encountered:
orangezfj
changed the title
请问使用qalora微调其他大模型,我用来微调TechGPT-7B,计算的数据类型是什么呀?
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:3! (when checking argument for argument mat2 in method wrapper_CUDA_mm)
Jan 2, 2024
Hi, it seems to be an error that occurs when running on multiple GPUs. You can resolve this issue by simply specifying the visible devices before your run script, using CUDA_VISIBLE_DEVICES, for example:
CUDA_VISIBLE_DEVICES=0 python qalora.py --model_path
Hello!
The calculation accuracy of QLora training is float16, what is the calculation accuracy of qa-lora training?
My fine-tuning TechGPT-7b was successful with QLora, but using qa-lora always reported the following error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:3! (when checking argument for argument mat2 in method wrapper_CUDA_mm)
Looking forward to your answers, this is very important to me。
The text was updated successfully, but these errors were encountered: