runtime error
ckpoint to a meta ' /home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py:2025: UserWarning: for base_model.model.model.layers.31.mlp.gate_proj.lora_A.default.weight: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?) warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta ' /home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py:2025: UserWarning: for base_model.model.model.layers.31.mlp.gate_proj.lora_B.default.weight: copying from a non-meta parameter in the checkpoint to a meta parameter in the current model, which is a no-op. (Did you mean to pass `assign=True` to assign items in the state dictionary to their corresponding key in the module instead of copying them in place?) warnings.warn(f'for {key}: copying from a non-meta parameter in the checkpoint to a meta ' Traceback (most recent call last): File "/home/user/app/app.py", line 29, in <module> ft_model = PeftModel.from_pretrained(model, "gildead/mistral_7b_AES_v2_epoch") File "/home/user/.local/lib/python3.10/site-packages/peft/peft_model.py", line 353, in from_pretrained model.load_adapter(model_id, adapter_name, is_trainable=is_trainable, **kwargs) File "/home/user/.local/lib/python3.10/site-packages/peft/peft_model.py", line 727, in load_adapter dispatch_model( File "/home/user/.local/lib/python3.10/site-packages/accelerate/big_modeling.py", line 374, in dispatch_model raise ValueError( 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.model.layers.27, base_model.model.model.layers.28, base_model.model.model.layers.29, base_model.model.model.layers.30, base_model.model.model.layers.31, base_model.model.model.norm, base_model.model.lm_head.
Container logs:
Fetching error logs...