ml: supertonic vocoder on the blocked conv path (head 81 ms), vocoder -16%
- Commit
8d90d08635eee5ef833536e1b39de6df015c7f8f- Author
- vayun-mathur <[email protected]>
- When
- 2026-10-26 01:11 UTC (1 month ago)
- Parents
d354135
Diff
library/ml/src/main/rust/src/nets/supertonic_vocoder.rs
diff --git a/library/ml/src/main/rust/src/nets/supertonic_vocoder.rs b/library/ml/src/main/rust/src/nets/supertonic_vocoder.rsindex 8b42ec7df5..7922c2da6f 100644--- a/library/ml/src/main/rust/src/nets/supertonic_vocoder.rs+++ b/library/ml/src/main/rust/src/nets/supertonic_vocoder.rs@@ -188,6 +188,8 @@ fn sequence(b: &mut Builder, l: &mut Layers, frames: u32) -> Result<Id, String> // Every convolution in this network replicates its border. See the module docs. b.edge_padding();+ // The head's dense 512 -> 2048 (1, 3) conv was 81 of the vocoder's 175 ms GPU untiled.+ b.spatial_tiling(); let input = b.input(Shape::new(LATENT, 1, positions)); // `embed` also carries the input's per-channel affine, folded in by the converter.