Modern Apps git

← Modern-Apps.git

ml: note the padded-frame wide-load expectation on the sampler

Commit
04cf2cd44bac58c9d51f9808a8e57f2cb3032b9e
Author
vayun-mathur <[email protected]>
When
2026-10-25 22:01 UTC (1 month ago)
Parents
32210bf

Diff

library/ml/src/main/rust/src/nets/supertonic_sampler.rs
diff --git a/library/ml/src/main/rust/src/nets/supertonic_sampler.rs b/library/ml/src/main/rust/src/nets/supertonic_sampler.rsindex 3a5075826a..2b0270c25d 100644--- a/library/ml/src/main/rust/src/nets/supertonic_sampler.rs+++ b/library/ml/src/main/rust/src/nets/supertonic_sampler.rs@@ -159,6 +159,10 @@ pub const TENSORS: usize = PLAN_TENSORS + 18; /// [`crate::post::supertonic::synthesise`] runs this net `2 * STEPS` = 32 times per utterance. The /// benchmark in `vulkan::parity` is what closed that off - the tiled int8 path measured at 0.98x of /// the fp16 tiled one, so quantising costs no time here.+///+/// [`crate::post::supertonic::synthesise`] runs every utterance at a multiple of four frames+/// (see [`crate::post::supertonic::pad_positions`]), so these dispatches take the shader's+/// 16-tap wide-load path rather than its scalar fallback. pub const INT8_CONVS: usize = 2 + BLOCKS * 2 + MAIN_BLOCKS * 7;  /// The rotary `theta`, `[32]`. `rotary_scale * rotary_base ^ (-j / 32)`.