runtime error

Exit code: 1. Reason: 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( /usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py:2397: UserWarning: for model.layers.27.self_attn.v_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( /usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py:2397: UserWarning: for model.layers.27.self_attn.v_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( Traceback (most recent call last): File "/home/user/app/app.py", line 23, in <module> model.load_adapter(adapter_path) File "/usr/local/lib/python3.10/site-packages/transformers/integrations/peft.py", line 276, in load_adapter self._dispatch_accelerate_model( File "/usr/local/lib/python3.10/site-packages/transformers/integrations/peft.py", line 523, in _dispatch_accelerate_model dispatch_model( File "/usr/local/lib/python3.10/site-packages/accelerate/big_modeling.py", line 379, 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: model.layers.16, model.layers.17, model.layers.18, model.layers.19, model.layers.20, model.layers.21, model.layers.22, model.layers.23, model.layers.24, model.layers.25, model.layers.26, model.layers.27, model.norm, model.rotary_emb, lm_head.

Container logs:

Fetching error logs...