Problem Description
~~bash
"/models/opt-125m" --output_dir "/data2/wenhuach/haha" --scheme W2A16G64 --tasks lambada_openai --device_map "auto" --iters 1
~~
Reproduction Steps
~
Environment Information
~
Error Logs
File "/home/wenhuach/miniforge3/envs/autoround/lib/python3.13/site-packages/torch/nn/functional.py", line 2567, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Expected all tensors to be on the same device, but got index is on cuda:0, different from other tensors on cuda:1 (when checking argument in method wrapper_CUDA__index_select)
Additional Context
No response
Problem Description
~~bash
"/models/opt-125m" --output_dir "/data2/wenhuach/haha" --scheme W2A16G64 --tasks lambada_openai --device_map "auto" --iters 1
~~
Reproduction Steps
~
Environment Information
~
Error Logs
File "/home/wenhuach/miniforge3/envs/autoround/lib/python3.13/site-packages/torch/nn/functional.py", line 2567, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Expected all tensors to be on the same device, but got index is on cuda:0, different from other tensors on cuda:1 (when checking argument in method wrapper_CUDA__index_select)
Additional Context
No response