runtime error

Exit code: 1. Reason: site-packages/transformers/cache_utils.py", line 1826, in <module> class OffloadedStaticCache(StaticCache): File "/usr/local/lib/python3.10/site-packages/transformers/cache_utils.py", line 1891, in OffloadedStaticCache offload_device: Union[str, torch.device] = torch.device("cpu"), /usr/local/lib/python3.10/site-packages/transformers/cache_utils.py:1891: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.) offload_device: Union[str, torch.device] = torch.device("cpu"), Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> transformer = Transformer2DModel.from_pretrained( File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 1203, in from_pretrained return remapped_class.from_pretrained(pretrained_model_name_or_path, **kwargs_copy) File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/models/modeling_utils.py", line 730, in from_pretrained model = cls.from_config(config, **unused_kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 260, in from_config model = cls(**init_dict) File "/usr/local/lib/python3.10/site-packages/diffusers/configuration_utils.py", line 653, in inner_init init(self, *args, **init_kwargs) File "/usr/local/lib/python3.10/site-packages/diffusers/models/transformers/pixart_transformer_2d.py", line 142, in __init__ self.pos_embed = PatchEmbed( File "/usr/local/lib/python3.10/site-packages/diffusers/models/embeddings.py", line 233, in __init__ self.register_buffer("pos_embed", torch.from_numpy(pos_embed).float().unsqueeze(0), persistent=persistent) RuntimeError: Numpy is not available

Container logs:

Fetching error logs...