The native sd.cpp one-shot engine re-reads its companion VAE and text-encoder files from the HF cache on every generation, but the delete-cached guard only compared the loaded main diffusion repo_id. Deleting a companion repo such as comfyanonymous/flux_text_encoders while a FLUX GGUF was loaded therefore succeeded and broke the next generation. Add a loaded_repo_ids() accessor to the native backend (mirroring loading_repo_ids(), reconstructed from the committed family's VAE + text-encoder repos) and have the guard refuse those companions too. Server mode and the diffusers engine hold companions in-process/VRAM, so they are unaffected. |
||
|---|---|---|
| .. | ||
| 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 | ||