runtime error

Exit code: 1. Reason: affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/home/user/app/app.py", line 3, in <module> import torch File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 870, in <module> from . import _masked File "/usr/local/lib/python3.10/site-packages/torch/_masked/__init__.py", line 420, in <module> def sum(input: Tensor, File "/usr/local/lib/python3.10/site-packages/torch/_masked/__init__.py", line 223, in _apply_docstring_templates example_input = torch.tensor([[-3, -2, -1], [0, 1, 2]]) /usr/local/lib/python3.10/site-packages/torch/_masked/__init__.py:223: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:68.) example_input = torch.tensor([[-3, -2, -1], [0, 1, 2]]) Downloading: "https://github.com/kahnchana/clippy/releases/download/v1.0/clippy_5k.pt" to /home/user/.cache/torch/hub/checkpoints/clippy_5k.pt 0%| | 0.00/748M [00:00<?, ?B/s] 34%|███▍ | 253M/748M [00:01<00:01, 266MB/s] 75%|███████▍ | 560M/748M [00:02<00:00, 299MB/s] 100%|██████████| 748M/748M [00:02<00:00, 298MB/s] Downloading: "https://dl.fbaipublicfiles.com/dino/dino_vitbase16_pretrain/dino_vitbase16_pretrain.pth" to /home/user/.cache/torch/hub/checkpoints/dino_vitbase16_pretrain.pth Traceback (most recent call last): File "/home/user/app/app.py", line 12, in <module> clippy = CLIPpyModel() File "/home/user/app/infer_model.py", line 147, in __init__ self.text = SentenceTransformer("sentence-transformers/sentence-t5-base") File "/usr/local/lib/python3.10/site-packages/sentence_transformers/SentenceTransformer.py", line 195, in __init__ device = get_device_name() File "/usr/local/lib/python3.10/site-packages/sentence_transformers/util.py", line 1403, in get_device_name elif torch.backends.mps.is_available(): AttributeError: module 'torch.backends' has no attribute 'mps'

Container logs:

Fetching error logs...