Metraipolis › archive › dc_909b7de78942
Exploiting Native Hardware Heterogeneity: Custom GPSIMD Operators for Accelerating Emerging LLM Memory on AWS Trainium — arXiv:2611.11820
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.11820
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-10T18:45:47.860Z
- SHA-256 of the archived text
2a832bb26cf3886a94e3cd9197fa370a76e33b48ef3321e0bdfb3aacd15a33a9- Stable URL of this page
https://metraipolis.com/documento/dc_909b7de78942
How to cite
Exploiting Native Hardware Heterogeneity: Custom GPSIMD Operators for Accelerating Emerging LLM Memory on AWS Trainium — arXiv:2611.11820 — arXiv (en), https://arxiv.org/abs/2611.11820 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_909b7de78942 (Metraipolis archive dc_909b7de78942, sha256 2a832bb26cf3886a94e3cd9197fa370a76e33b48ef3321e0bdfb3aacd15a33a9)
BibTeX
@misc{dc909b7de78942,
title = {Exploiting Native Hardware Heterogeneity: Custom GPSIMD Operators for Accelerating Emerging LLM Memory on AWS Trainium — arXiv:2611.11820},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.11820},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_909b7de78942; sha256 2a832bb26cf3886a94e3cd9197fa370a76e33b48ef3321e0bdfb3aacd15a33a9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.11820. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Emerging memory modules of large language models, such as Engram in DeepSeek-V4.1-Flash, mix irregular integer work (a 64-bit n-gram hash and a sparse table lookup) with dense computation (a GEMM and a gate). When deploying on a GPU-FPGA system, we can disaggregate operations to different devices for Engram to speed up by 5.9$\times$. AWS Trainium provides a similar heterogeneity natively: each Trainium NeuronCore pairs dense engines with a customizable GPSIMD Engine, and all engines share the on-chip SBUF. However, the Neuron Kernel Interface (NKI) exposes the GPSIMD cores only through fixed built-in instructions, and the official GPSIMD custom-operator toolchain does not support Trainium 2 or 3 and cannot be used with NKI. In this work, we build a toolchain that compiles C++ custom operators for the GPSIMD cores and injects them into the compiled NEFF from the NKI kernel on Trainium 3, expanding the customizability of GPSIMD with the current software stack. Over a hand-optimized NKI baseline of DeepSeek-V4.1-Flash, two GPSIMD operators speed up the n-gram hashing by 1.79$\times$ at decode, the table retrieval by up to 4.95$\times$, and the whole Engram computation by up to 1.14$\times$. Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2611.11820 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-11-10T18:38:07.444Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).