Open underscore-en opened 3 weeks ago
Cc: @DN6
Hi @underscore-en we refactored from_single_file
in version 0.28.0
to rely on the model-index.json
to configure the pipeline, which could be what's causing the issue.
Is it possible to host your checkpoint on the HF Hub and share it? Additionally could you share a minimal code example we could use to reproduce the issue?
Describe the bug
I've been using diffuser for couple months, primarily for
StableDiffusionPipeline
andStableDiffusionXLPipeline
image inference using a downloaded .safetensors A while back I upgraded to v28.2 and.from_single_file
complained (refer to logs)I did some debugging and concluded that for whatever reason my
.cache/hf/hub/model-sth-xl-base/snapshot/model_index.json
is empty, which caused this error (keys in the json is used to populate sth).Logs are really not intuitive. For whatever reason this isn't an issue in v27.2.
Reproduction
empty the JSON in
.cache/hf/hub/model-sth-xl-base/snapshot/model_index.json
Logs
System Info
python 3.10 in windows .venv
Who can help?
No response