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

[Bug] 如何在指定卡上加载lmdeploy加速的模型 #3091

Open
3 tasks done
qingchunlizhi opened this issue Jan 26, 2025 · 0 comments
Open
3 tasks done

[Bug] 如何在指定卡上加载lmdeploy加速的模型 #3091

qingchunlizhi opened this issue Jan 26, 2025 · 0 comments

Comments

@qingchunlizhi
Copy link

Checklist

  • 1. I have searched related issues but cannot get the expected help.
  • 2. The bug has not been fixed in the latest version.
  • 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.

Describe the bug

当使用CUDA_VISIBLE_DEVICES指定可见卡不是0卡时,使用pipeline加载InternVL2_5-38B-MPO-AWQ模型会报错:
ValueError: At least one of the model submodule will be offloaded to disk, please pass along an offload_folder.
debug发现部分vit的权重是放在cpu上的,尝试直接使用to方法迁到gpu上失败。请问这个问题该怎么解决

Reproduction

pipeline(model_path, backend_config=TurbomindEngineConfig(session_len=10000),)

Environment

InternVL2_5-38B-MPO-AWQ

Error traceback

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

1 participant