1fc9b386e198af1621187bf67ebd2403bf78cae6
float-increment-per-latent
Node for single-pass LoRA sweep
Per Sample LoRA Loader (Single Pass)
Inputs:
modellora_namemode:range,range_step_by_batch,manual_valuesstart,stopstep(used only inrange)direction(used only inrange)manual_values(used only inmanual_values)fallback_adapter_policy: controls non-fusible adapters such as LoKr
range_step_by_batch formula:
- uses the runtime latent batch from
EmptySD3LatentImage - if runtime batch is 1: value =
start - else:
auto_step = (stop - start) / (runtime_batch - 1)
Examples:
- start=-4, stop=5, batch_size=10 -> step=1
- start=-10, stop=10, batch_size=10 -> step=2.222222...
Outputs:
model(patched)weights_used(string preview)
Multiple Per Sample LoRA Loader (Single Pass) nodes can be stacked. Stacked LoRAs are aggregated into shared per-layer bypass hooks, and standard LoRA adapters are fused per layer into one larger rank projection where possible.
fallback_adapter_policy:
error_on_slow_fallback: stop immediately if any adapter would use the slow runtime path.static_base_only: keep non-fusible adapters at the base strength and apply per-sample changes only to fusible LoRA adapters.allow_slow_fallback: exact per-sample behavior for non-fusible adapters, but can be very slow with large stacks.
Wiring
CheckpointLoaderSimple.model->Per Sample LoRA Loader (Single Pass).model- Output
modelfrom this node ->KSampler.model - Set
EmptySD3LatentImage.batch_sizenormally;range_step_by_batchreads the runtime batch during sampling.
Languages
Python
100%