跳到正文
AWS Machine Learning Blog· Josh Longenecker·· 2026-10-22AI 评分34

在 AWS Trainium 上使用 torchtitan 训练 Qwen3

Train Qwen3 on AWS Trainium with torchtitan

AI 导读

本文演示了在单台 trn2.48xlarge 实例上使用 torchtitan 训练 Qwen3 模型的三种配置方法。第一种方法使用 Transformers v5 作为建模后端,通过 AutoModelForCausalLM 运行 Hub 模型并直接读写 safetensors 格式的权重。

来源:AWS Machine Learning Blog · aws.amazon.com