runtime error

de 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 3, in <module> from transformers import AutoModelForCausalLM File "/usr/local/lib/python3.10/site-packages/transformers/__init__.py", line 26, in <module> from . import dependency_versions_check File "/usr/local/lib/python3.10/site-packages/transformers/dependency_versions_check.py", line 16, in <module> from .utils.versions import require_version, require_version_core File "/usr/local/lib/python3.10/site-packages/transformers/utils/__init__.py", line 33, in <module> from .generic import ( File "/usr/local/lib/python3.10/site-packages/transformers/utils/generic.py", line 465, in <module> import torch.utils._pytree as _torch_pytree File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 1471, in <module> from .functional import * # noqa: F403 File "/usr/local/lib/python3.10/site-packages/torch/functional.py", line 9, 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 6, in <module> token = os.environ["HF_TOKEN"] NameError: name 'os' is not defined

Container logs:

Fetching error logs...