runtime error
Exit code: 1. Reason: Disabling PyTorch because PyTorch >= 2.1 is required but found 1.13.0 None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used. A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the 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 12, in <module> device = torch.device("cpu") /home/user/app/app.py:12: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:77.) device = torch.device("cpu") Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> model = OwlViTForObjectDetection.from_pretrained("google/owlvit-base-patch32").to(device) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 2139, in __getattribute__ requires_backends(cls, cls._backends) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 2125, in requires_backends raise ImportError("".join(failed)) ImportError: OwlViTForObjectDetection requires the PyTorch library but it was not found in your environment. Check out the instructions on the installation page: https://pytorch.org/get-started/locally/ and follow the ones that match your environment. Please note that you may need to restart your runtime after installation.
Container logs:
Fetching error logs...