WeSearch

Systems Engineering Playbook: Optimizing Qwen 3.5-397B MoE on Ironwood (TPU7x)

·2 min read · 0 reactions · 0 comments · 4 views
#systems#engineering#playbook#optimizing#qwen
Systems Engineering Playbook: Optimizing Qwen 3.5-397B MoE on Ironwood (TPU7x)
TL;DR · WeSearch summary

To optimize this track, the performance team implemented a series of algorithmic fusions and precision co-designs:1. Causal Conv1D FusionThe GDN recurrent update is preceded by a causal 1D convolution (K=4). Initially, this was compiled as an independent operation, forcing the intermediate convolution outputs to be written to and read from HBM.

Key facts
About this source

Google Developers Blog files mainly under programming. We currently carry 20 of its stories.

Original article
Google Developers Blog
Read full at Google Developers Blog →
Opening excerpt (first ~120 words) tap to expand

To optimize this track, the performance team implemented a series of algorithmic fusions and precision co-designs:1. Causal Conv1D FusionThe GDN recurrent update is preceded by a causal 1D convolution (K=4). Initially, this was compiled as an independent operation, forcing the intermediate convolution outputs to be written to and read from HBM. We designed a register-level sliding window algorithm that caches historical token states directly within the TPU's VPU registers. Fusing the 1D convolution and the GDN recurrent state update into a single execution block eliminated 6 redundant HBM round-trips (see PR #2823).2. Algebraic Identity OptimizationsWe restructured the linear attention update equations to exploit algebraic identities.

Excerpt limited to ~120 words for fair-use compliance. The full article is at Google Developers Blog.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments