Closed nuclear314 closed 2 weeks ago
i have to ask, did you read flux wiki? it clearly says that all-in-one models in safetensors are not yet supported. you need to select flux variant from networks->reference and then load unet-only safetensors that you downloaded.
I did read that, guess I forked it up somewhere in the settings. Thanks Vlad!
Issue Description
When trying to load a Flux model an error is returned as follows:
SingleFileComponentError: Failed to load CLIPTextModel. Weights for this component appear to be missing in the checkpoint. Please load the component before passing it in as an argument to
from_single_file
.text_encoder = CLIPTextModel.from_pretrained('...') pipe = StableDiffusionPipeline.from_single_file(, text_encoder=text_encoder)
Tried changing diffusers to 0.30.0 but got same error. This was produced on the latest repo version, newly generated VENV, RTX 4090.
Version Platform Description
Using VENV: A:\sd.next\venv 14:07:33-368044 INFO Starting SD.Next 14:07:33-371543 INFO Logger: file="A:\sd.next\sdnext.log" level=DEBUG size=65 mode=create 14:07:33-373044 INFO Python version=3.10.11 platform=Windows bin="A:\sd.next\venv\Scripts\python.exe" venv="A:\sd.next\venv" 14:07:33-520567 INFO Version: app=sd.next updated=2024-08-31 hash=bab17a0b branch=master url=https://github.com/vladmandic/automatic/tree/master ui=main 14:07:33-938117 INFO Platform: arch=AMD64 cpu=AMD64 Family 25 Model 33 Stepping 2, AuthenticAMD system=Windows release=Windows-10-10.0.22631-SP0 python=3.10.11 14:07:33-944117 INFO HF cache folder: C:\Users\roy_p.cache\huggingface\hub 14:07:33-970117 INFO nVidia CUDA toolkit detected: nvidia-smi present 14:07:34-105646 INFO Verifying requirements 14:07:41-142551 INFO Verifying packages 14:07:41-178051 DEBUG Repository update time: Sat Aug 31 22:57:34 2024 14:07:41-179050 INFO Startup: standard 14:07:41-180050 INFO Verifying submodules 14:07:44-373500 INFO Extensions enabled: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info', 'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
Relevant log output
Backend
Diffusers
UI
ModernUI
Branch
Master
Model
Other
Acknowledgements