- Fixed intermittent ModuleNotFoundError: No module named 'wrappers.qwenimage'
- Root cause: Module-level sys.path setup insufficient in all execution contexts
- Solution: Implemented importlib.util-based dynamic import within method execution
- Each method now dynamically imports using file paths at execution time
- Completely bypasses Python's import mechanism for 100% reliability
- No dependency on sys.path state or module loading order
- Works in all ComfyUI execution scenarios
- Updated README.md with comprehensive v1.5.2 documentation
This fix ensures the LoRA loader works reliably regardless of:
- Python module cache state
- ComfyUI execution context variations
- sys.path configuration timing
- Module loading order
Special thanks to community for bug reports and patience during troubleshooting.
- Add Special Thanks section recognizing @mcv1234's solution
- Credit @mcv1234 for providing the technical solution
- Emphasize community contribution in changelog
- Update Features section to acknowledge user's solution
- Show proper attribution for the path detection improvement
- Recognize that this fix was made possible by community feedback
- Add NunchakuQwenImageLoraLoader for single LoRA loading
- Add NunchakuQwenImageLoraStack for multiple LoRA stacking
- Add ComfyQwenImageWrapper for LoRA composition
- Add dynamic VRAM management with CPU offloading
- Add JavaScript UI for dynamic LoRA count control
- Add comprehensive LoRA application logic
- Support for Nunchaku Qwen Image models
- Integration with ComfyUI-nunchaku plugin
- Requires modification of official ComfyUI-nunchaku plugin