runtime error

Exit code: 1. Reason: ined( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 309, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4574, in from_pretrained ) = cls._load_pretrained_model( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 5031, in _load_pretrained_model disk_offload_index, cpu_offload_index = _load_state_dict_into_meta_model( File "/usr/local/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 116, in decorate_context return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 843, in _load_state_dict_into_meta_model _load_parameter_into_model(model, param_name, param.to(param_device)) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 731, in _load_parameter_into_model module.load_state_dict({param_type: tensor}, strict=False, assign=True) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2593, in load_state_dict raise RuntimeError( RuntimeError: Error(s) in loading state_dict for Linear: While copying the parameter named "weight", whose dimensions in the model are torch.Size([1024, 1024]) and whose dimensions in the checkpoint are torch.Size([1024, 1024]), an exception occurred : ('Only Tensors of floating point and complex dtype can require gradients',). During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 57, in <module> raise gr.Error(error_msg) gradio.exceptions.Error: 'Gagal memuat model. Ini mungkin karena model disimpan dengan konfigurasi khusus (misalnya 8-bit quantization) dan perlu dimuat dengan konfigurasi yang sama. Pastikan `bitsandbytes` terinstal dan coba lagi. Kesalahan ini mengindikasikan masalah tipe data bobot yang kemungkinan besar disebabkan oleh ketidaksesuaian saat memuat model terkuantisasi.'

Container logs:

Fetching error logs...