Add debug logging to fused pipeline
Some checks are pending
GPU Worker CI/CD / test (push) Waiting to run
GPU Worker CI/CD / deploy (push) Blocked by required conditions

This commit is contained in:
giles
2026-02-04 12:13:39 +00:00
parent 180d6a874e
commit 0a6dc0099b

View File

@@ -960,6 +960,11 @@ def prim_fused_pipeline(img, effects_list, **dynamic_params):
gpu_img = img gpu_img = img
# Run the fused pipeline # Run the fused pipeline
# Debug: log dynamic params occasionally
import random
if random.random() < 0.01: # 1% of frames
print(f"[fused] dynamic_params: {dynamic_params}", file=sys.stderr)
print(f"[fused] effects: {[(e['op'], e.get('amount'), e.get('amplitude')) for e in effects_list]}", file=sys.stderr)
return pipeline(gpu_img, **dynamic_params) return pipeline(gpu_img, **dynamic_params)