eb3830635dcbcbcbfc2befeceab4689855f72bbd
QUICK START
-
Download repository as ZIP. Copy paste scripts directory from repository to: C:\Users\User\Documents\ComfyUI_windows_portable
-
Edit convert_spectral.bat — set your checkpoint filename: set "CKPT_NAME=FernflowerAI-2D.safetensors"
-
Double-click convert_spectral.bat. Script will generate: -> your_model_long248.safetensors in ComfyUI\models\checkpoints directory
-
Create directory sdxl_long_context in ComfyUI\custom_nodes directory
-
Copy paste __init__.py and nodes.py to sdxl_long_context directory
-
Restart ComfyUI
-
Use workflow_sdxl_long248.json from examples directory
IMPORTANT
- Always convert from ORIGINAL checkpoint, not already converted
- Prompts up to 77 tokens = almost identical to original model
- Only 248 tokens is stable. 512+ breaks the model.
- Works with any SDXL checkpoint (base, fine-tuned, merged)
- VRAM increase is minimal (~0.5 GB)
LICENSE: MIT
Languages
Python
90.8%
Batchfile
9.2%