Repository navigation
v0.3.48
Auto-release from commit ba25638
Changes
fix(multi-model): Fix FLUX integration and dynamic model switching
-
Add negative_prompt=None to all Z-Image generate() methods
- GGUF mode (line 1178)
- PyTorch multi-model mode (line 1598)
- PyTorch single-model mode (line 2196)
- Fixes: "unexpected keyword argument 'negative_prompt'" error
-
Add multi-model script generation when INSTALL_BOTH_MODELS=true
- Generates inference_flux.py (FLUX-specific)
- Generates inference_zimage.py (Z-Image-specific)
- Creates symlink inference.py -> inference_zimage.py
-
Update worker.go restartPythonWithModel() for model switching
- Detects multi-model mode via IsMultiModel()
- Selects correct script based on model name
- Passes model path via --model flag
-
Add ModelLoadTimeout to PythonConfig (default: 60s, max: 120s)
Workers with multi-model support need to reinstall:
cd ~/.power-node && ./install.sh
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com