runtime error
Exit code: 1. Reason: (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?) module._load_from_state_dict( Traceback (most recent call last): File "/app/app.py", line 32, in <module> model = PeftModel.from_pretrained(base_model, peft_model_id, token=hf_token) File "/usr/local/lib/python3.13/site-packages/peft/peft_model.py", line 601, in from_pretrained load_result = model.load_adapter( model_id, ...<5 lines>... **kwargs, ) File "/usr/local/lib/python3.13/site-packages/peft/peft_model.py", line 1585, in load_adapter dispatch_model( ~~~~~~~~~~~~~~^ self, ^^^^^ ...<2 lines>... **dispatch_model_kwargs, ^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/local/lib/python3.13/site-packages/accelerate/big_modeling.py", line 514, in dispatch_model model.to(device) ~~~~~~~~^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1388, in to return self._apply(convert) ~~~~~~~~~~~^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 933, in _apply module._apply(fn) ~~~~~~~~~~~~~^^^^ File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 933, in _apply module._apply(fn) ~~~~~~~~~~~~~^^^^ File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 933, in _apply module._apply(fn) ~~~~~~~~~~~~~^^^^ [Previous line repeated 5 more times] File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 966, in _apply param_applied = fn(param) File "/usr/local/lib/python3.13/site-packages/torch/nn/modules/module.py", line 1381, in convert raise NotImplementedError( ...<2 lines>... ) from None NotImplementedError: Cannot copy out of meta tensor; no data! Please use torch.nn.Module.to_empty() instead of torch.nn.Module.to() when moving module from meta to a different device.
Container logs:
Fetching error logs...