- Load and apply all 4 LoRAs at startup with optimal scaling
- Remove LoRA dropdown - all are active by default
- Use adapter names for simultaneous LoRA application
- Show status that all LoRAs are active
- AntiBlur (0.8) + Add Details (1.2) + Ultra Realism (0.9) + Face Realism (1.1)
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Remove model CPU offload that conflicts with torch.compile
- Remove torch.compile that causes device placement issues
- Add error handling for LoRA unloading
- Remove fuse_lora call that requires PEFT backend
- Enable public sharing with share=True
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add xai-realism.safetensors from its-magick/merlin-test-loras
- Set optimal scale to 0.95 for AI-generated realism
- Expands realism options alongside existing LoRAs
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add Face Realism and Perfection Style LoRAs with optimal scalingβ
- Add Canopus-LoRA-Flux-FaceRealism.safetensors with 1.1 scale
- Add perfection style v1.safetensors with 1.0 scale
- Implement get_optimal_lora_scale() function for per-LoRA optimization
- Apply optimal scaling during LoRA fusion for better performance
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add advanced mathematical and pipeline optimizationsβ
- Implement optimal LoRA scaling per type (AntiBlur: 0.8, Add Details: 1.2, Ultra Realism: 0.9)
- Add mixed precision inference with autocast for faster transformer calls
- Reduce preview frequency to every 8th step for less overhead
- Optimize memory management with selective cache clearing
- Reduce upscaler steps from 20 to 15 and guidance from 7.5 to 6.0
- Add torch.compile() with reduce-overhead mode for transformer
- Enable attention slicing, VAE slicing, and VAE tiling for memory efficiency
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add 4x upscaling with stabilityai/stable-diffusion-x4-upscalerβ
- Load StableDiffusionUpscalePipeline for 4x upscaling
- Add enable_upscale checkbox in Advanced Settings
- Apply upscaling as final step after image generation
- Maintain live preview during generation, then upscale final image
- Add error handling for upscaling failures
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add Canopus-LoRA-Flux-UltraRealism.safetensors from its-magick/merlin-test-loras
- Available alongside existing Shakker Labs LoRAs
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix static output issue with LoRA loading and error handlingβ
- Fix LoRA loading by properly unloading existing LoRAs first
- Add error handling for generation with fallback to basic pipe() call
- Add debug prints to track LoRA loading status
- Should resolve static output issues
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Keep only Shakker-Labs/FLUX.1-dev-LoRA-AntiBlur and Add Details
- Remove Face Realism, Ultra Realism, and Detailed Hands LoRAs
- Simplify to only officially supported LoRAs
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix compatibility issues with stable diffusers versionβ
- Use stable diffusers 0.30.3 instead of git dev version
- Use transformers 4.44.2 for compatibility
- Remove PEFT dependency causing import errors
- Switch back to single LoRA selection instead of simultaneous loading
- Download all LoRAs at startup but load one at a time
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add peft and requests to requirements.txt
- Use adapter names for loading multiple LoRAs
- Use pipe.set_adapters() to activate all LoRAs simultaneously
- Proper error handling for each LoRA load
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Fix LoRA loading error - load individually instead of batchβ
- Load each LoRA individually using pipe.load_lora_weights(single_path)
- Add error handling for individual LoRA loading
- Fuse all LoRAs after individual loading
- Fixes ValueError: PEFT backend is required for this method
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add 5 LoRAs: AntiBlur, Add Details, Face Realism, Ultra Realism, Detailed Hands
- Implement automatic download from HuggingFace URLs
- Load all LoRAs simultaneously at startup for combined effects
- Update UI to show all LoRAs are active by default
- Remove LoRA selection dropdown in favor of all-active approach
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update README.md with FLUX.1 dev configuration
- Add app.py with Gradio interface for image generation
- Add live_preview_helpers.py for real-time preview functionality
- Add requirements.txt with necessary dependencies
- Update .gitattributes line endings normalization
π€ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>