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 <noreply@anthropic.com>
This commit is contained in:
digital-garbage
2026-06-03 00:07:35 +03:00
co-authored by Claude Opus 4.8
parent 7ff60f7a9d
commit 3e4161232b
+3 -1
View File
@@ -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,