runtime error
Exit code: 1. Reason: py:1891: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:77.) offload_device: Union[str, torch.device] = torch.device("cpu"), Loading pipeline components...: 0%| | 0/7 [00:00<?, ?it/s][A Loading pipeline components...: 71%|███████▏ | 5/7 [00:00<00:00, 6.75it/s] Traceback (most recent call last): File "/home/user/app/app.py", line 17, in <module> pipe = DiffusionPipeline.from_pretrained(model_repo_id, torch_dtype=torch_dtype) 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/pipelines/pipeline_utils.py", line 876, in from_pretrained loaded_sub_model = load_sub_model( File "/usr/local/lib/python3.10/site-packages/diffusers/pipelines/pipeline_loading_utils.py", line 700, in load_sub_model loaded_sub_model = load_method(os.path.join(cached_folder, name), **loading_kwargs) 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/schedulers/scheduling_utils.py", line 157, in from_pretrained return cls.from_config(config, return_unused_kwargs=return_unused_kwargs, **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/schedulers/scheduling_euler_ancestral_discrete.py", line 206, in __init__ sigmas = np.array(((1 - self.alphas_cumprod) / self.alphas_cumprod) ** 0.5) File "/usr/local/lib/python3.10/site-packages/torch/_tensor.py", line 956, in __array__ return self.numpy() RuntimeError: Numpy is not available
Container logs:
Fetching error logs...