-
Notifications
You must be signed in to change notification settings - Fork 812
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
在两张GPU卡上加载Chatglm3-6b 出错,请问如何解决? #514
Comments
from plugins.settings import settings import os from torch.nn import Module def auto_configure_device_map(num_gpus: int) -> Dict[str, int]:
def load_model_on_gpus(checkpoint_path: Union[str, os.PathLike], num_gpus: int = 2,
def chat_init(history): def chat_one(prompt, history_formatted, max_length, top_p, temperature, zhishiku=False): def load_model(): |
Describe the bug
在两张GPU卡上加载Chatglm3-6b 出错.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
The text was updated successfully, but these errors were encountered: