HLAT: High-quality Large Language Model Pre-trained on AWS Trainium
Not on the map. Why?
Abstract (arXiv)
Getting large language models (LLMs) to perform well on the downstream tasks requires pre-training over trillions of tokens. This typically demands a large number of powerful computational devices in addition to a stable distributed training framework to accelerate the training. The growing number of applications leveraging AI/ML led to a scarcity of the expensive conventional accelerators (such as GPUs), which emphasizes the need for the alternative specialized-accelerators that are scalable and cost-efficient. AWS Trainium is the second-generation machine learning accelerator purposely built for training large deep learning models. However, training LLMs with billions of parameters on AWS Trainium is challenging due to its relatively nascent software ecosystem. In this paper, we showcase HLAT: a family of 7B and 70B decoder-only LLMs pre-trained using 4096 AWS Trainium accelerators over 1.8 trillion tokens. The performance of HLAT is benchmarked against popular open source models including LLaMA and OpenLLaMA, which have been trained on NVIDIA GPUs and Google TPUs, respectively. On various evaluation tasks, we show that HLAT achieves model quality on par with the baselines of similar model size. We also open-source all the training scripts and configurations of HLAT (https://github.com/awslabs/HLAT) and share the best practice of using the NeuronX Distributed Training (NxDT), a customized distributed training library for AWS Trainium. Our work demonstrates that AWS Trainium powered by NxDT is able to successfully pre-train state-of-the-art LLM models with high performance and cost-effectiveness.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 47 of its 70 references that are in the map. First posted on arXiv 16 Apr 2024.
Builds on
47 of 70 references.
References · 47
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
35 more
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023A Survey of Large Language Modelscited by 2,576
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,807
- 2020GLU Variants Improve Transformercited by 1,804
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2023A Survey on Evaluation of Large Language Modelscited by 1,242
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2023PaLM 2 Technical Reportcited by 1,162
- 2017Mixed Precision Trainingcited by 1,156
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2023StarCoder: may the source be with you!cited by 799
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2020Aligning AI With Shared Human Valuescited by 723
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2023Siren's Song in the AI Ocean: A Survey on Hallucination in Large Language Modelscited by 698
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2024OLMo: Accelerating the Science of Language Modelscited by 613
- 2023Textbooks Are All You Needcited by 569
- 2023The Falcon Series of Open Language Modelscited by 535
- 2015Deep Learning with Limited Numerical Precisioncited by 376
- 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 348
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
- 2019WinoGrande: An Adversarial Winograd Schema Challenge at Scalecited by 204
- 2023OpenWebMath: An Open Dataset of High-Quality Mathematical Web Textcited by 155
- 2021Pretrained Language Models for Text Generation: A Surveycited by 95
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 52
- 2023Distributed Inference and Fine-tuning of Large Language Models Over The Internetcited by 42
Built on by
Citing papers per year: 2025: 8.
8 papers.
- 2025Stochastic Rounding for LLM Training: Theory and Practicecited by 10
- 2025An Inquiry into Datacenter TCO for LLM Inference with FP8cited by 5
- 2025Modes of Sequence Models and Learning Coefficientscited by 3
- 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Modelcited by 2
- 2025Learning to Focus: Focal Attention for Selective and Scalable Transformerscited by 2
- 2025Nonuniform-Tensor-Parallelism: Mitigating GPU failure impact for Scaled-up LLM Trainingcited by 0
- 2025Survey of HPC in US Research Institutionscited by 0
- 2025NeuronMLP: Efficient LLM Inference via Singular Value Decomposition Compression and Tiling on AWS Trainiumcited by 0
- 2025Learning to Focus: Focal Attention for Selective and Scalable Transformers10 Nov 2025
- 2025NeuronMLP: Efficient LLM Inference via Singular Value Decomposition Compression and Tiling on AWS Trainium29 Oct 2025
- 2025Survey of HPC in US Research Institutions23 Jun 2025
- 2025DECA: A Near-Core LLM Decompression Accelerator Grounded on a 3D Roofline Model25 May 2025
- 2025Modes of Sequence Models and Learning Coefficients25 Apr 2025
- 2025Nonuniform-Tensor-Parallelism: Mitigating GPU failure impact for Scaled-up LLM Training8 Apr 2025
- 2025Stochastic Rounding for LLM Training: Theory and Practice27 Feb 2025
- 2025An Inquiry into Datacenter TCO for LLM Inference with FP83 Feb 2025