You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It fails to open any safetensors format models, including checkpoints and LoRAs.
Only the .ckpt checkpoint this came with was able to generate something.
The problem persists even with a new safetensors model downloaded fresh from CivitAI placed in the same directory as the ckpt model;
this rules out the possibility of my model files being corrupted or some filesystem quirk happened.
The following traceback will appear when this occurs: File "/opt/conda/lib/python3.10/site-packages/safetensors/torch.py", line 308, in load_file with safe_open(filename, framework="pt", device=device) as f: OSError: No such device (os error 19)
Which UI
auto.
Hardware / Software
OS: Debian 12 bookworm
OS version:
WSL version (if applicable):
Docker Version: 27.4.0, build bde2b89
Docker compose version: v2.31.0
Repo version: from master
RAM: 16GB
GPU/VRAM: GTX 1060 / 6GB
Steps to Reproduce
Follow the guide to set up container
Place any safetensors to its respective directory
Load a safetensors checkpoint, or select a safetensors LoRA and hit "Generate"
See error in docker container logs
Additional context
Any other context about the problem here. If applicable, add screenshots to help explain your problem.
MY first step would be to recreate the docker container using a 'std' compose file. Mine works fine. I would recommend using docker-compose.override.yml to add your additional folders.
docker stop webui-docker-auto-1
docker rm webui-docker-auto-1
docker compose --profile auto up --build -d
I also wouldn't recommend memory: 6G at all. Stable Diffusion is very memory heavy. This is mine:
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
c19af1b98db7 webui-docker-auto-1 0.26% 19.93GiB / 62.68GiB 31.80% 177MB / 922MB 218GB / 11.2GB 46
Has this issue been opened before?
Describe the bug
It fails to open any safetensors format models, including checkpoints and LoRAs.
Only the .ckpt checkpoint this came with was able to generate something.
The problem persists even with a new safetensors model downloaded fresh from CivitAI placed in the same directory as the ckpt model;
this rules out the possibility of my model files being corrupted or some filesystem quirk happened.
The following traceback will appear when this occurs:
File "/opt/conda/lib/python3.10/site-packages/safetensors/torch.py", line 308, in load_file
with safe_open(filename, framework="pt", device=device) as f:
OSError: No such device (os error 19)
Which UI
auto.
Hardware / Software
Steps to Reproduce
Additional context
Any other context about the problem here. If applicable, add screenshots to help explain your problem.
My docker compose file:
Log file of the error while attempting to load a safetensors checkpoint:
webui-docker-auto-1-2024-12-13T07-50-01.log
Log file of the error when it asks for a safetensors LoRA included in the prompt:
webui-docker-auto-1-2024-12-13T08-21-30.log
The text was updated successfully, but these errors were encountered: