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

加载cogvlm-chat-hf模型报错 Error while deserializing header: MetadataIncompleteBuffer #482

Open
1 of 2 tasks
xxWeiDG opened this issue May 21, 2024 · 0 comments
Open
1 of 2 tasks
Assignees

Comments

@xxWeiDG
Copy link

xxWeiDG commented May 21, 2024

System Info / 系統信息

与官方需求的环境相同

Who can help? / 谁可以帮助到您?

No response

Information / 问题信息

  • The official example scripts / 官方的示例脚本
  • My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程

代码为
model = AutoModelForCausalLM.from_pretrained( 'THUDM/cogvlm-chat-hf', torch_dtype=torch.bfloat16, low_cpu_mem_usage=True, trust_remote_code=True ).to('cuda').eval()
报错信息为
image

Expected behavior / 期待表现

正常运行

@zRzRzRzRzRzRzR zRzRzRzRzRzRzR self-assigned this May 28, 2024
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

2 participants