Nodes/ComfyUI-Taylor-Attention/Flux2TTRControllerTrainer
ComfyUI Node

Flux2TTRControllerTrainer

Phase-2: train a TTR controller using dual-path sampling and REINFORCE updates.

By ttulttul·Created 6 months ago·Updated 6 months ago· 1
Flux2TTRControllerTrainer
  • model_original
  • model_ttr
  • positive
  • negative
  • latent
  • vae
  • training_config
  • IMAGE_ORIGINAL
  • IMAGE_PATCHED
  • CONTROLLER
steps20
seed0
cfg1.000
sampler_nameeuler
schedulernormal
checkpoint_path/tmp/ComfyUI/models/approximate_attention/flux2_ttr_controller.pt
training_iterations100
denoise1.000
sigma_aware_trainingtrue
Categoryadvanced/attention

Inputs (16)

NameTypeDefaultDescription
model_originalMODEL
model_ttrMODEL
positiveCONDITIONING
negativeCONDITIONING
latentLATENT
vaeVAE
training_configTTR_TRAINING_CONFIG
stepsINT201–10000
seedINT00–18446744073709550000
cfgFLOAT1.0000–100
sampler_nameCOMBOeuler44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBOnormal9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
checkpoint_pathSTRING/tmp/ComfyUI/models/approximate_attention/flux2_ttr_controller.ptController checkpoint path (defaults to ComfyUI/models/approximate_attention/flux2_ttr_controller.pt).
training_iterationsINT1001–100000
denoiseFLOAT1.0000–1
sigma_aware_trainingBOOLEANtrue

Outputs (3)

NameTypeDescription
IMAGE_ORIGINALIMAGE
IMAGE_PATCHEDIMAGE
CONTROLLERTTR_CONTROLLER