From 0f77d937e5291df63aa2d00471ca11a434c7c082 Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Sat, 19 Sep 2026 23:17:21 +0300 Subject: [PATCH] docs: confirm the compiler-disable scope is per-call, not session-wide Confirmed on a real rental: the ~20s a REINS-injecting/block-repeat generation now takes to start (no aimdo dynamic-VRAM streaming for that one call) does not carry over to the next generation -- every other generation this session keeps the compiler's normal speed. No behavior change; this documents that the per-call scope (not a session-wide sticky disable, which was drafted and reverted while chasing an initial guess about the 20s cause) is the right one to keep. Co-Authored-By: Claude Sonnet 5 --- samplers.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/samplers.py b/samplers.py index 5f205d49..32a33024 100644 --- a/samplers.py +++ b/samplers.py @@ -3807,10 +3807,16 @@ class FunPackLTXAVSceneChainSampler: attention patches (Comfy-Org/ComfyUI#16144, #16342), and their documented fix is the --disable-comfy-compiler launch flag. That flag is read live on every malloc-graph scope (comfy/model_prefetch.py: malloc_graph_enabled), not cached - at startup, so toggling it for just this sample_custom call is enough -- - no launch-command edit needed (useful on hosts with a templated/fixed launch), - and every other generation, including REINS passive-capture-only, keeps the - compiler's VRAM/speed benefit. + at startup, so toggling it for just this sample_custom call is enough -- no + launch-command edit needed (useful on hosts with a templated/fixed launch). + + Scoped to exactly this call, on purpose: confirmed on a real rental that the + ~20s a REINS-injecting/block-repeat generation now takes to start (running + without aimdo's dynamic-VRAM streaming for that one call) does NOT carry over + to the next generation once this call ends and the compiler is restored -- + every OTHER generation this session, including REINS passive-capture-only and + every generation before REINS is used at all, keeps the compiler's normal + speed. Only the call that genuinely needs it disabled pays the cost. """ if not active: yield