-
Notifications
You must be signed in to change notification settings - Fork 546
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: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cuda:0! #64
Comments
难道,推理服务,只能部署在单GPU的机器上? |
单卡时报内存不足。 |
我也遇到了相同的问题,但是我是单卡机器也是报错 |
找到解决方法了,因为transforms版本过高导致的报错,回退到4.29.0之后,问题解决 |
没找到这个版本啊,请问你是怎么安装的? ` |
|
步骤3:合并ChatLaw权重并推理 ,这一步骤在执行时,报错。RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select) 。是不支持在多卡的机器上创建推理吗?
The text was updated successfully, but these errors were encountered: