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

Add device_map config to support chatglm2-6b #734

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

Jingsong-Yan
Copy link
Contributor

chatglm-6b和chatglm2-6b的参数命名不一致,本次提交旨在解决由于device_map未配置导致chatglm2-6b加载到多卡失败的问题。在chatglm_auto_configure_device_map 函数中新增了chatglm2-6b device_map 创建的相关代码。

chatglm-6b和chatglm2-6b的参数命名不一致,本次提交旨在解决chatglm2-6b device_map 创建的问题。在chatglm_auto_configure_device_map 函数中新增了chatglm2-6b device_map 创建的相关代码。
@imClumsyPanda imClumsyPanda merged commit 421ce3d into chatchat-space:master Jun 30, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants