From 3e4161232b529b4ea4b2cac2bc5dc68adfb57694 Mon Sep 17 00:00:00 2001 From: digital-garbage <133010426+digital-garbage@users.noreply.github.com> Date: Wed, 3 Jun 2026 00:07:35 +0300 Subject: [PATCH] Batch Training: log the ACTUAL per-scene noise seeds (loop_seed was misleading) The 'seed=' in the batch log was the loop index seed (base+idx), not the seed that drives noise. The real noise seed is each scene's funpack_scene_seed (set distinct per variant by _v2_pack_batch). Print those so we can tell whether distinct seeds actually reach the sampler vs. stale/old-code identical seeds. Co-Authored-By: Claude Opus 4.8 --- samplers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samplers.py b/samplers.py index 078bf34f..68d5d689 100644 --- a/samplers.py +++ b/samplers.py @@ -2521,7 +2521,9 @@ class FunPackLTXAVSceneChainSampler: base_seed = int(seed) for idx, pos_i in entries: iter_seed = base_seed + idx - print(f"[FunPackSceneChain] Batch Training {idx + 1}/{len(entries)} (seed={iter_seed})") + _scene_seeds = [self._scene_seed(sc) for sc in (pos_i or [])] + print(f"[FunPackSceneChain] Batch Training {idx + 1}/{len(entries)} " + f"(loop_seed={iter_seed}, ACTUAL noise scene_seeds={_scene_seeds})") out = self.sample( model, vae, pos_i, negative, sampler, sigmas, iter_seed, latent_template, num_frames_per_scene, frame_overlap, cfg, max_scenes, use_same_seed=use_same_seed,