This repository has been archived on 2026-11-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
radiance-sycl/arch
gearwave00001andClaude 5dd0ba8a81 venc: let one-frame media (endpoint keyframes) encode at output resolution
Endpoint keyframes are resized to the target canvas and their latent rows share the TARGET grid
(ref2va_build), so they must VAE-encode at output resolution -- but venc_geom had a flat
h,w > kEncMaxSide(256) reject, so I2VA/L2VA/FL2VA failed at any output above 256 with "the video
encoder refuses a reference at 512x512 over 1 frames". The flat cap is a crude proxy for the real
limit: the encoder holds one clip's pixels sized for a kVaeClipLength(17)-frame clip at 256
(Rmax=17*256^2). Replace it with clip*h*w <= 17*256^2 -- a multi-frame video ref is unchanged
(clip=17 forces each side back to 256), while a one-frame media fits at up to sqrt(Rmax) per side.
No buffer, kernel, or arena change: a 512^2 keyframe (262k rows) is a third of the existing budget.

A first relax then faulted ("cast n=128 at M=262144 outside band") because the encoder's debug
shadow casts (op_ve_cindbg / op_ve_ldbg / trunk / nout -- write b_vcin/b_vl/b_vtrunk/b_vnout, read
only under R4D_ENC_SEL) were issued on EVERY encode at a PF[] plane range a 512 frame overflows.
Gate them on R4D_ENC_DEBUG (the env the readback already uses): a no-op for the production latent,
and it stops paying for debug work on every encode.

Device-verified: FL2VA 512x512 and I2VA 512x512 12s complete clean, server survives, no band fault;
host vae_geom/video_gen/videos/ref2va_pack/encoding tests green.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-10-19 23:44:25 -05:00
..
2026-10-18 11:38:37 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-16 18:25:18 +02:00
2026-10-18 11:38:37 +02:00
2026-10-16 18:25:18 +02:00