Skip to content
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

AUTO_SPLIT=1 如何搭配CUDA_VISIBLE_DEVICES=使用 #674

Open
ZihaoZheng98 opened this issue Dec 19, 2024 · 2 comments
Open

AUTO_SPLIT=1 如何搭配CUDA_VISIBLE_DEVICES=使用 #674

ZihaoZheng98 opened this issue Dec 19, 2024 · 2 comments
Assignees

Comments

@ZihaoZheng98
Copy link

和别人共享机器,只有4,5,6,7卡可以用时,有auto_split和visible_device一起使用的需求。但是目前的代码一起用会报cuda error错误。

@FangXinyu-0913
Copy link
Collaborator

您好@ZihaoZheng98! 想问一下您auto_split是针对哪个某些模型呢~部分模型因为一些原因,只支持在8卡上进行auto_split

和别人共享机器,只有4,5,6,7卡可以用时,有auto_split和visible_device一起使用的需求。但是目前的代码一起用会报cuda error错误。

@FangXinyu-0913 FangXinyu-0913 self-assigned this Dec 29, 2024
@kennymckormick
Copy link
Member

Hi, @ZihaoZheng98 ,
目前的 model split 策略暂未考虑起始 GPU index 非 0 的情况,可以在对应模型的 building 过程中设置 device 以绕过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants