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

样例 infer_pretrain.ipynb 在colab运行出错 #130

Open
wukailu opened this issue Apr 4, 2023 · 0 comments
Open

样例 infer_pretrain.ipynb 在colab运行出错 #130

wukailu opened this issue Apr 4, 2023 · 0 comments

Comments

@wukailu
Copy link

wukailu commented Apr 4, 2023

"""python
model = PeftModel.from_pretrained(model, "mymusise/chatGLM-6B-alpaca-lora")
"""
报错
"""
ValueError: We need an offload_dir to dispatch this model according to this device_map, the following
submodules need to be offloaded: base_model.model.transformer.layers.22, base_model.model.transformer.layers.23,
base_model.model.transformer.layers.24, base_model.model.transformer.layers.25,
base_model.model.transformer.layers.26, base_model.model.transformer.layers.27,
base_model.model.transformer.final_layernorm.
"""

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