runtime error
Exit code: 1. Reason: siest 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 4, in <module> import torch File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 1382, in <module> from .functional import * # noqa: F403 File "/usr/local/lib/python3.10/site-packages/torch/functional.py", line 7, in <module> import torch.nn.functional as F File "/usr/local/lib/python3.10/site-packages/torch/nn/__init__.py", line 1, in <module> from .modules import * # noqa: F403 File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/__init__.py", line 35, in <module> from .transformer import TransformerEncoder, TransformerDecoder, \ File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/transformer.py", line 20, in <module> device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), /usr/local/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.) device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'), Traceback (most recent call last): File "/home/user/app/app.py", line 5, in <module> from basicsr.archs.srvgg_arch import SRVGGNetCompact File "/usr/local/lib/python3.10/site-packages/basicsr/__init__.py", line 3, in <module> from .archs import * File "/usr/local/lib/python3.10/site-packages/basicsr/archs/__init__.py", line 5, in <module> from basicsr.utils import get_root_logger, scandir File "/usr/local/lib/python3.10/site-packages/basicsr/utils/__init__.py", line 2, in <module> from .diffjpeg import DiffJPEG File "/usr/local/lib/python3.10/site-packages/basicsr/utils/diffjpeg.py", line 19, in <module> y_table = nn.Parameter(torch.from_numpy(y_table)) RuntimeError: Numpy is not available
Container logs:
Fetching error logs...