You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""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.
"""
The text was updated successfully, but these errors were encountered:
"""python
model = PeftModel.from_pretrained(model, "mymusise/chatGLM-6B-alpaca-lora")
"""
报错
"""
ValueError: We need an
offload_dir
to dispatch this model according to thisdevice_map
, the followingsubmodules 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.
"""
The text was updated successfully, but these errors were encountered: