NVIDIA 如何高效训练生物基础模型的 MoE 架构
Efficient MoE Training for Biological Foundation Models
稠密 Transformer 中每个 token 都要经过所有层,扩展能力会同时推高训练与推理算力;MoE 架构改用多个子网络(专家),每个 token 只激活其中一小部分。NVIDIA 开发者博客介绍了面向生物基础模型的高效 MoE 训练方法。
As language models grow, scaling dense architectures becomes increasingly expensive. In a dense transformer, every token passes through every layer, so adding...
As language models grow, scaling dense architectures becomes increasingly expensive. In a dense transformer, every token passes through every layer, so adding capabilities increases computation for both training and inference. Mixture-of-experts (MoE) architectures take a different approach to scaling by using many subnetworks, or experts, while activating only a small subset for each token.
来源:NVIDIA Developer Blog · developer.nvidia.com