runtime error
Exit code: 1. Reason: . To avoid downloading new versions of the code file, you can pin a revision. Downloading shards: 0%| | 0/4 [00:00<?, ?it/s][A Downloading shards: 25%|██▌ | 1/4 [00:12<00:38, 12.83s/it][A Downloading shards: 50%|█████ | 2/4 [00:25<00:25, 12.80s/it][A Downloading shards: 75%|███████▌ | 3/4 [00:36<00:12, 12.15s/it][A Downloading shards: 100%|██████████| 4/4 [00:43<00:00, 9.86s/it][A Downloading shards: 100%|██████████| 4/4 [00:43<00:00, 10.84s/it] Traceback (most recent call last): File "/home/user/app/app.py", line 72, in <module> model = AutoModel.from_pretrained(model_path, trust_remote_code=True, torch_dtype=torch.bfloat16) File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 558, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3550, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/home/user/.cache/huggingface/modules/transformers_modules/openbmb/MiniCPM-V-2_6/4e4be000cd81feda8b96d14b53f1791b4010b038/modeling_minicpmv.py", line 29, in __init__ self.resampler = self.init_resampler(self.embed_dim, self.vision_dim) File "/home/user/.cache/huggingface/modules/transformers_modules/openbmb/MiniCPM-V-2_6/4e4be000cd81feda8b96d14b53f1791b4010b038/modeling_minicpmv.py", line 51, in init_resampler return Resampler( File "/home/user/.cache/huggingface/modules/transformers_modules/openbmb/MiniCPM-V-2_6/4e4be000cd81feda8b96d14b53f1791b4010b038/resampler.py", line 106, in __init__ self._set_2d_pos_cache(self.max_size) File "/home/user/.cache/huggingface/modules/transformers_modules/openbmb/MiniCPM-V-2_6/4e4be000cd81feda8b96d14b53f1791b4010b038/resampler.py", line 111, in _set_2d_pos_cache pos_embed = torch.from_numpy(get_2d_sincos_pos_embed(self.embed_dim, max_size)).float().to(device) RuntimeError: Numpy is not available
Container logs:
Fetching error logs...