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
--device改成auto后,启动web_demo.py服务成功,但是运行任务报错
File "/root/.cache/huggingface/modules/transformers_modules/CodeShell-7B/modeling_codeshell.py", line 401, in forward
hidden_states = residual + feed_forward_hidden_states
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1!
^CKeyboard interruption in main thread... closing server.
似乎不支持多卡?
--divice改成auto后,启动服务报错