Require the model_index.json to sit at the snapshot ROOT before flagging a cached repo as pipeline-loadable: CachedFileInfo.file_name is the basename, so the previous name match also claimed nested copies (subdir/model_index.json) and the picker then sent a from_pretrained load that fails only after the GPU handoff. Scope by file_path against the revision's snapshot_path. Validate the maximum derived seed before the multi-run image loop: an explicit seed near 2**53-1 plus the per-run offset (base + i*batchSize) exceeded the backend cap and 422'd a later run after earlier images had already generated. Route local single-file .safetensors picks on the Images and Video pages through the single_file load path (parent dir + basename), matching the local GGUF branch: the pipeline route rejects a bare file with no model_index.json, and only after evicting the resident model. |
||
|---|---|---|
| .. | ||
| backend | ||
| frontend | ||
| src-tauri | ||
| __init__.py | ||
| install_llama_prebuilt.py | ||
| install_node_prebuilt.py | ||
| install_python_stack.py | ||
| install_sd_cpp_prebuilt.py | ||
| LICENSE.AGPL-3.0 | ||
| node_prebuilt_pins.json | ||
| package-lock.json | ||
| package.json | ||
| setup.bat | ||
| setup.ps1 | ||
| setup.sh | ||
| Unsloth_Studio_Colab.ipynb | ||