runtime error
Exit code: 1. Reason: torch_model.bin: 0%| | 0.00/1.26G [00:00<?, ?B/s][A pytorch_model.bin: 9%|▉ | 115M/1.26G [00:01<00:10, 109MB/s][A pytorch_model.bin: 22%|██▏ | 276M/1.26G [00:02<00:07, 137MB/s][A pytorch_model.bin: 73%|███████▎ | 916M/1.26G [00:03<00:00, 359MB/s][A pytorch_model.bin: 100%|█████████▉| 1.26G/1.26G [00:03<00:00, 349MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> trans=pipeline("automatic-speech-recognition",model="facebook/wav2vec2-large-xlsr-53-spanish") File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 942, in pipeline framework, model = infer_framework_load_model( File "/usr/local/lib/python3.10/site-packages/transformers/pipelines/base.py", line 291, in infer_framework_load_model model = model_class.from_pretrained(model, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 571, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 279, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4333, in from_pretrained model_init_context = cls.get_init_context(is_quantized, _is_ds_init_called) File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3736, in get_init_context init_contexts = [no_init_weights(), init_empty_weights()] NameError: name 'init_empty_weights' is not defined model.safetensors: 0%| | 0.00/1.26G [00:00<?, ?B/s][A model.safetensors: 3%|▎ | 41.9M/1.26G [00:01<00:35, 34.6MB/s][A model.safetensors: 24%|██▎ | 297M/1.26G [00:02<00:06, 153MB/s] [A model.safetensors: 82%|████████▏ | 1.03G/1.26G [00:03<00:00, 399MB/s][A model.safetensors: 100%|█████████▉| 1.26G/1.26G [00:03<00:00, 349MB/s]
Container logs:
Fetching error logs...