Commit Graph
8 Commits
Author SHA1 Message Date
dseditor 39cae890c1 randomseed 2025-12-09 23:23:02 +08:00
dseditor 7e6f2430f7 v113-GGUF 2025-12-05 12:27:52 +08:00
dseditorandClaude f2e0385cfb Enhance qwen_inference.py with advanced features
Add FlashAttention-2 and INT8 quantization support while keeping the keep_model_loaded feature from the recent PR merge. This provides the most comprehensive feature set:
- FlashAttention-2 support for faster inference
- INT8 quantization for ~45% memory reduction
- Manual memory management via keep_model_loaded parameter
- Improved memory threshold (6.0GB instead of 7.5GB)
- More accurate free memory calculation using allocated memory

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-05 00:14:59 +08:00
Creepybits 2ffc0b9304 Add files via upload
Added logic and option for unloading model
2025-12-04 13:57:18 +01:00
dseditor e8df65c8f2 Qwen_Node Speed Fix 2025-12-04 19:56:59 +08:00
dseditor 8433b3fd5d TELLM Update 2025-12-04 15:44:32 +08:00
dseditor 4bd28f74c6 qwen gpu node 2025-12-04 15:30:58 +08:00
dseditorandClaude a90f71066c Add Qwen GPU Inference node with intelligent memory management
- Add QwenGPUInference node for AI photo prompt optimization
- Implement smart GPU memory management with automatic detection
- Support CPU offload when GPU memory is insufficient
- Auto-download model config files from HuggingFace
- Remove <think> tags from model output
- Add bilingual (Chinese/English) support
- Remove deprecated GGUF inference node and related files
- Update README with comprehensive documentation

Features:
- Automatic model detection (qwen_3_4b.safetensors)
- Three loading strategies: Full GPU / CPU Offload / CPU-only
- Memory conflict prevention with ComfyUI models
- Professional photography prompt generation
- Default max_tokens: 2048 for detailed prompts
- Custom system prompt for photo optimization

Performance:
- Full GPU: ~26-30 tokens/second
- CPU Offload: ~1-2 tokens/second (reliable fallback)
- First load: 7-130 seconds depending on hardware
- Subsequent loads: Near-instant (model cached)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 11:15:12 +08:00