ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
NewsTopic · FlagOS异构移植栈1 min read·2026-10-14

PyTorch Tutorial: FlagOS Stack for Portable Large Models on Heterogeneous Accelerators

A tutorial by M. Lyu, H. Zhang & Y. Lyu introduces the FlagOS open-source stack to simplify porting large models across diverse AI accelerators, covering Triton kernels, FlagGems operator coverage, and unified plugins for vLLM and Megatron.

ImportanceLocalEvidenceE2 unreplicatedWrite-upQuick

2026-09-25 04:35 GMT+8

This resource is a tutorial presented by M. Lyu, H. Zhang & Y. Lyu on the PyTorch official channel, published on September 24, 2026. It focuses on the challenge of running large language models efficiently across fragmented hardware ecosystems.

The session demonstrates how the FlagOS open-source stack bridges the gap between high-level frameworks like PyTorch, vLLM, and SGLang and underlying vendor-specific libraries. Key components discussed include Triton for portable kernel programming, FlagGems for PyTorch operator coverage, and KernelGen for auto-coding on different accelerators.

Developers seeking to reduce porting effort when deploying open models such as Qwen, MiniMax, or DeepSeek on non-NVIDIA hardware may find this overview relevant. The content covers training and inference support via unified plugins for vLLM, Megatron, and VeRL.

Sources

  • 原始出处youtube.com↗
Topic

FlagOS异构移植栈

Sign in / Sign up
ReadingResearchRadarInvestment framework

FlagOS是由北京智源人工智能研究院牵头,联合清华、北大及十余家芯片厂商共建的统一开源AI系统软件栈。其核心目标是解决大模型在不同国产AI芯片(如昇腾、沐曦、海光等)间迁移成本高、生态隔离严重的问题,实现“一次开发,多端部署”。

3 steps1 piecesUpdated 2026-10-15 04:35

How it got here

  1. 2026-06-03智源研究院在2026世界智能产业博览会上发布“众智FlagOS·科学智能基座”,宣布支持18家厂商32款芯片,并将能力拓展至科学计算与量子模拟。
  2. 2026-08-07FlagRelease平台更新MiniCPM-o-4.5-zhenwu-FlagOS模型镜像,提供基于PAI平台的容器化部署方案,支持USE_FLAGGEMS=1环境变量启用优化算子。
  3. 2026-10-14M. Lyu等人在PyTorch官方频道发布教程,介绍使用FlagOS栈进行异构加速器大模型移植,涵盖Triton内核编程及vLLM/Megatron插件支持。

What is still unsettled

  • FlagOS在非NVIDIA/AMD芯片(如PPU、Kunlunxin)上的生产环境稳定性如何?目前文档显示这些平台多为Experimental或Beta状态。
  • FlagTree编译器替换官方Triton后,对现有依赖标准Triton的第三方库是否存在隐性兼容性问题?
  • 随着支持芯片数量增加,FlagGems通用算子库的性能是否在所有后端均能超越原生厂商库?
Read the full topic →
Continue researching →