Nodes/ComfyUI_MiraSubPack/Sage FP16 Switch (Mira SubPack)
ComfyUI Node

Sage FP16 Switch (Mira SubPack)

Per-model fp16 switch: sets compute dtype to fp16 and installs a per-model attention fp16 cast for SageAttention. Bypass to disable.

By mirabarukaso·Created 10 months ago·Updated 9 days ago· 1
Sage FP16 Switch (Mira SubPack)
  • model
  • model
◄compute_fp16true►
◄sage_casttrue►
CategoryMira/SubPack/Model

Inputs (3)

NameTypeDefaultDescription
modelMODELDiffusion model (after loader).
compute_fp16BOOLEANtrueRun this model's compute in fp16 (skip if already fp16). Same mechanism as ModelComputeDtype.
sage_castBOOLEANtrueCast q/k/v to fp16 before attention (SageAttention) and back. Skips if already fp16.

Outputs (1)

NameTypeDescription
modelMODEL—