AWS Machine Learning Blog·· 2026-10-22
Train Qwen3 on AWS Trainium with torchtitan
Train Qwen3 on AWS Trainium with torchtitan
中文摘要
在AWS Trainium上使用torchtitan在单个trn2.48xlarge实例上训练Qwen3的三种方法:Hugging Face Transformers v5建模后端、torchtitan的原生Qwen3以及NKI专家混合内核。相同的torchtitan启动器和配置结构在所有三种路径中保持不变,包括加载和保存发布的Hugging Face safetensors。
英文原文
Train Qwen3 on AWS Trainium with torchtitan three ways on a single trn2.48xlarge: the Hugging Face Transformers v5 modeling backend, torchtitan's native Qwen3, and NKI mixture-of-experts kernels. The same torchrun launcher and config structure work unchanged across all three paths, including loading and saving published Hugging Face safetensors.
应来源方要求,这里只提供摘要与原文入口。完整内容请阅读原文。
来源:AWS Machine Learning Blog · aws.amazon.com