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
I have read the above rules and searched the existing issues.
System Info
I'm trying to finetune an LLM using ray and since the sft dataset is large, I tried to allocate 4 gpus into one worker.
ray
ray_run_name: ray_run_name
ray_num_workers: 1 # number of GPUs to use
resources_per_worker:
GPU: 4
placement_strategy: PACK
Reproduction
command:
USE_RAY=1 CUDA_VISIBLE_DEVICES=4,5,6,7 PYTHONPATH=./ llamafactory-cli train conf/safety/sft.yaml
This command will raise an error as below:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:3 and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
Others
No response
The text was updated successfully, but these errors were encountered:
Reminder
System Info
I'm trying to finetune an LLM using ray and since the sft dataset is large, I tried to allocate 4 gpus into one worker.
ray
ray_run_name: ray_run_name
ray_num_workers: 1 # number of GPUs to use
resources_per_worker:
GPU: 4
placement_strategy: PACK
Reproduction
Others
No response
The text was updated successfully, but these errors were encountered: