Duplicating Fails

by Nahiko - opened


It seems I am not able to duplicate reliably,
Note that this is the first time I'm trying to duplicate a space, I might be doing something wrong, I didn't change any parameter from default.
it looks like numpy version is not working properly, any way to retrieve the exact versions running on your instance @radames to update requirements.txt ?

Screenshot 2024-03-29 at 08.40.09.png

Container Logs:
pipeline: controlnetSDTurbo

compile: --sfast

port: 7860
reload: False
max_queue_size: 2
timeout: 120.0
safety_checker: True
torch_compile: False
taesd: True
pipeline: controlnetSDTurbo
ssl_certfile: None
ssl_keyfile: None
sfast: True
onediff: False
compel: False
debug: False

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0b1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled against NumPy 2.0.

If you are a user of the module, the easiest solution will be to
either downgrade NumPy or update the failing module (if available).

Traceback (most recent call last): File "/home/user/app/./server/main.py", line 15, in
from device import device, torch_dtype
File "/home/user/app/server/device.py", line 1, in
import torch
File "/home/user/.local/lib/python3.10/site-packages/torch/init.py", line 1477, in
from .functional import * # noqa: F403
File "/home/user/.local/lib/python3.10/site-packages/torch/functional.py", line 9, in
import torch.nn.functional as F
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/init.py", line 1, in
from .modules import * # noqa: F403
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/init.py", line 35, in
from .transformer import TransformerEncoder, TransformerDecoder,
File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/transformer.py", line 20, in
device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu'),
/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/transformer.py:20: UserWarning: Failed to initialize NumPy: module compiled against ABI version 0x1000009 but this version of numpy is 0x2000000 (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.)
device: torch.device = torch.device(torch._C._get_default_device()), # torch.device('cpu')


I've fixed the requirments.txt duplicating it now would work! thanks for reporting

radames changed discussion status to closed

Sign up or log in to comment