Files
brahianrosswill-ComfyUI_SDX…/README.md
T
2026-02-15 17:22:51 +05:00

941 B

QUICK START

  1. Download repository as ZIP. Copy paste scripts directory from repository to: C:\Users\User\Documents\ComfyUI_windows_portable

  2. Edit convert_spectral.bat — set your checkpoint filename: set "CKPT_NAME=FernflowerAI-2D.safetensors"

  3. Double-click convert_spectral.bat. Script will generate: -> your_model_long248.safetensors in ComfyUI\models\checkpoints directory

  4. Create directory sdxl_long_context in ComfyUI\custom_nodes directory

  5. Copy paste __init__.py and nodes.py to sdxl_long_context directory

  6. Restart ComfyUI

  7. 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