runtime error
Exit code: 1. Reason: all last): File "/home/user/app/app.py", line 6, in <module> import spaces File "/usr/local/lib/python3.10/site-packages/spaces/__init__.py", line 19, in <module> from .zero.decorator import GPU File "/usr/local/lib/python3.10/site-packages/spaces/zero/__init__.py", line 12, in <module> from . import torch File "/usr/local/lib/python3.10/site-packages/spaces/zero/torch/__init__.py", line 9, in <module> import torch File "/usr/local/lib/python3.10/site-packages/torch/__init__.py", line 1477, 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'), The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. β Those bitsandbytes warnings are expected on ZeroGPU β Traceback (most recent call last): File "/home/user/app/app.py", line 8, in <module> from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStreamer, Llama3ForCausalLM ImportError: cannot import name 'Llama3ForCausalLM' from 'transformers' (/usr/local/lib/python3.10/site-packages/transformers/__init__.py)
Container logs:
Fetching error logs...