Press Release · Beijing Academy of Artificial Intelligence (BAAI) and the FlagOS Community
FlagOS Global Competition S2 Concludes Successfully | From SGLang Operators to ModelBest End-to-End Inference Optimization: A Complete Record of FlagOS Cross-Chip Engineering in Practice
Distributed by NetFrame · Originally issued via PR Newswire
BEIJING, Nov. 26, 2026 — The large-scale deployment of LLMs inevitably involves challenges at two levels: at the top is end-to-end inference efficiency, and at the bottom are operators. As model parameter counts continue to grow and inference costs become a bottleneck to deployment, the way an inference framework organizes computation, schedules memory, and manages communication determines how much throughput and latency the same hardware can deliver. Ultimately, all these system-level optimizations must be implemented through operators. High-performance operators are the foundational layer for reducing inference latency, increasing throughput, and unlocking the potential of heterogeneous computing hardware.
For AI chips with different architectures, developing high-performance, deployable operators that work across chips—and then organizing those operators into an end-to-end, production-ready inference system—has long ceased to be an internal concern for any single chip company. It is now an engineering hurdle shared by AI systems developers.
The FlagOS Open Computing Global Competition (Season 2) was designed to address precisely this gap. Season 2 featured two independent tracks that complemented each other, spanning low-level operators and system-level inference. Track 1 focused on optimizing the performance of SGLang framework operators across multiple AI chips. More than 200 operators from real inference workloads were released in batches, testing participants' ability to perform deep operator-level optimization across chips. Track 2 shifted its focus to the end-to-end inference throughput of ModelBest models. Using the FlagOS inference framework and the FlagGems operator library, participants were required to perform full-stack optimization of the MiniCPM5-2B model on Iluvatar CoreX and MetaX chips, pushing the upper limit of total tokens/s.
One track went deep into operators, while the other tackled the full system stack. Together, they provided a comprehensive test of FlagOS's cross-chip capabilities. Over the four-month competition from July to November 2026, Season 2 attracted 2,025 participants worldwide, including 146 participants from outside China. A total of 72,125 submissions were received, of which 354 were valid.
The competition brought forward many development teams and individual developers whose work deserves to be documented. Those who reached the podium did not fit a single profile: they included a small industry team working on inference acceleration for video-generation models, an individual developer working alone with AI Agents, a student who persevered despite limited hardware access, and a returning veteran who had competed in both seasons and refined his methods in his spare time. They started with different resources and took different paths. The following accounts document how several of them entered the competition, the difficulties they faced, the solutions they developed, and what they gained from the experience.
I. An Experienced Industry Team: Using Controlled Measurements to Bring "Intuition" Back Down to Earth
The c2flow R&D team at Yusuan Intelligence has long worked on accelerating world-model inference. In team member Zhang Pengfei's words, its core task is to make video-generation models run faster. Operator fusion and optimization are already part of the team's day-to-day work, so when his team saw information about the competition on the FlagOS WeChat account and at WAIC, they quickly concluded that the challenges closely matched their own work. The team began preparing during the first week after registration opened.
Zhang Pengfei explained that the team's division of labor happened to cover several of the hardest parts of the competition, including setting up the Agent environment, diagnosing problems, and improving productivity with AI. Even so, the team encountered many obstacles. Zhang recalled that, during the early stages of the competition, compilation failures occurred frequently while adapting operators for Kunlunxin. Even when compilation succeeded, the computed results sometimes failed to match the reference implementation. The team later discovered that compilation did not require access to physical hardware, so it changed its process to run compilation checks locally first, eliminating environment-related issues earlier. To investigate accuracy discrepancies, the team later borrowed a Kunlunxin P800 and repeatedly validated its implementations on the actual device, significantly improving the efficiency of problem diagnosis.
A controlled experiment on Problem 144 illustrates the team's strong technical foundation. The implementation used several sophisticated techniques, including packing two 16-bit values into one 32-bit value for data movement, which intuition suggested should have been the main source of acceleration. However, after testing each change separately on the same chip, the team found that packing delivered no measurable benefit. What actually mattered was a small cache hint for reads and writes, which improved overall performance on the task by approximately 24%. To rule out measurement noise, the team alternated four submissions during the same period—two with the hint and two without it—and the results within each pair matched.
This experiment changed the order in which the team evaluated optimization results. Previously, its first question had been, "Can it run faster?" Afterward, the more important question became, "Can this number be reproduced?" Zhang said the team fixed its evaluation criteria in advance: candidates that produced incorrect results would not generate performance numbers. It first established the validation system and only then allowed AI to attempt optimizations at scale.
The same approach also paid off on Task 130, the layernorm_scale_shift_gate_select01 operator challenge. The team's first submission achieved an average speedup of 4.01×, which appeared substantial, but it failed to meet the threshold because performance on one chip was only 0.05×. The team then changed strategies and wrote a dedicated implementation for each of the five chips, raising the average speedup to 11.65× and successfully completing a "Validated Solve." This result also points to a counterintuitive conclusion: the best solution for cross-chip optimization is often not a single universal implementation, but multiple specialized implementations for different hardware platforms under FlagOS's unified interface.
According to the team's statistics, over the course of the three-plus-month competition, c2flow achieved 114 "First Solves" among 211 challenges—the number of operators for which it was first to produce an implementation that met the challenge requirements—and 100 "Validated Solves"—the number of operators that passed the judges' review and met the development requirements. All 100 validated implementations have been merged into the official FlagGems-sglang repository. Discussing future plans, Zhang said the team would extend its work from operator development to end-to-end inference optimization for both text-only and multimodal models, measuring results by end-to-end latency and throughput.
Speaking about the FlagOS technology stack, Zhang praised its greatest advantage: the FlagOS ecosystem has accumulated a large number of high-performance general-purpose operator implementations that developers can use as references. Even when AI is used to assist operator development, the experience embodied in FlagOS remains extremely important. For example, when supporting a new operator, AI can begin with implementations of similar operators in FlagGems and then adjust them based on measurements from the target chip.
II. A Developer with AI Agents: One Person, One Pipeline
Yang Zhongwu of the EvokeAgent team represents another form of participation. Yang is a graduate student in Control Science and Engineering at Nankai University, and his competition team consisted of himself and his Agent assistants. He had previously worked on operator development during an internship at BAAI. He registered this time with the thought, "Let's see whether I can take a few challenges."
Yang's competition journey followed a very clear progression. He began by using vibe coding to optimize individual operators. After completing several challenges, he started developing an automated optimization workflow. This pipeline shifted his role from "writing optimizations" to "reviewing operators and submitting them," freeing up a great deal of time and energy. But the pipeline itself also required continual patching. During his exploration, he encountered edge cases such as the compilation-cache mechanism on Huawei Ascend chips and had to update his rules to guard against them. "Everyone is using AI for optimization—why should mine be better?" was the greatest challenge he felt he faced. His answer was to understand real production workflows well enough to outperform others in both process and detail.
In addition, to address limited access to computing resources, Yang mainly rented online compute powered by locally developed hardware, which helped him make it through many submission windows. As more operator pull requests appeared in the FlagGems-sglang repository, he had more optimization experience to draw on. For example, launching with .run and hard-coding a segment of PTX assembly into the code could significantly improve performance on a certain type of chip. His workflow gradually became standardized: first, generate test shapes and scripts for correctness and performance testing based on repository examples; next, optimize for large, medium, and small shapes using profiling tools together with a knowledge base; and finally, incorporate new knowledge from repository pull requests.
The impact of this experience on Yang was highly tangible. His strongest impression was that "one person using AI can already reach the level of a ten-person team."
He also offered his own interpretation of FlagOS's open-computing philosophy: cross-chip operator support is not intended to eliminate hardware differences. Instead, FlagOS's unified AI systems software stack is designed to make full use of the performance advantages of different hardware platforms, enable technical achievements to be reused across platforms, and allow developers to move from compatibility work to innovation.
III. A Veteran of Two Seasons: The Regret of Missing by Seconds, and a Knowledge Base That Grows by Itself
Like Yang Zhongwu of EvokeAgent, Zhou Chunguang, who works at Alps System Integration (Dalian) Co., Ltd., entered the competition as an individual developer. Unlike Yang, however, he had already participated in the first season of the FlagOS Open Computing Global Competition. Asked why he returned, Zhou said that, on the one hand, he wanted to continue the experience from the previous season and use the opportunity to try new technologies and tools. On the other hand, the flexible schedule allowed him to keep developing, submitting, and optimizing in spare moments outside work and daily life, making the format well suited to individual developers. In addition, the gamified leaderboard provided feedback on every attempt.
But competition for a "First Solve" was more intense than he had expected. The experience that stayed with him most strongly was finally completing the development work and submitting it, only to discover that he had missed the "First Solve" by a few seconds. It was disappointing, but it also made the competition tense and engaging. Whenever this happened, he would look back and consider where he could become more efficient in preparation for the next challenge.
Zhou's core method for this competition was a continually growing knowledge base. First, he asked AI to help him understand each problem and organize possible approaches. He then used actual submissions and result feedback to determine whether a solution was correct and whether its performance met the standard. When an attempt failed, he recorded the error, its possible causes, and effective ways to address it, allowing the next attempt to benefit from previous experience. He dynamically collected lessons from each round of challenges, then continuously revised and expanded them based on new results. The AI's ability to handle subsequent challenges improved accordingly. Rather than pursuing a dramatic breakthrough in a single round, he made every attempt leave behind a searchable asset for the next.
This method also changed his view of learning. When entering an unfamiliar technical field, it is not always necessary to wait until every piece of knowledge has been fully mastered before beginning. Instead, one can use AI to build a basic understanding, then fill in the gaps continuously through practice, validation, and review. After the competition, he plans to continue following the use of AI tools in specialized technical tasks and to explore how individual developers can learn and solve complex problems more efficiently.
His assessment of FlagOS's open-computing philosophy and cross-chip compatibility was straightforward: different hardware platforms have their own characteristics. If developers can exchange experience and validate solutions in an open software ecosystem like FlagOS, they have an opportunity to lower the barriers to compatibility work and optimization, enabling more hardware platforms and developers to participate.
IV. A Student: When Hardware Is Scarce, Make Up for It with a "To-Be-Validated List"
Compared with the other participating teams, Du Xuanzheng faced much harsher practical constraints. A student at Beihang University, he focuses on AI systems software and high-performance computing. His motivation for entering was simple: the competition offered an opportunity to practice cross-chip optimization. He wanted to test his existing programming experience on real hardware while systematically learning Triton and performance analysis.
Access to physical hardware, however, was precisely his biggest constraint. Apart from one GPU available for hands-on testing, the only other hardware he had access to was an Ascend card, leaving him unable to benchmark performance on other chips. To address this limitation, he divided the problem into two parts: for what he could verify on the GPU at his disposal, he conducted careful experiments; for chips he could not test directly, he consulted vendor documentation and open-source examples, explored potential adaptation approaches, and developed solutions pending validation. He set himself one rule: clearly distinguish measured results, evidence from documentation, and questions still awaiting validation, and never apply results from the single GPU directly to other chips.
Even when working with the GPU available to him, Du took a measured approach. For each operator, he compared different parallelization strategies and memory access patterns, aiming to test just one hypothesis at a time. He checked correctness first, repeated performance tests, and documented both successful and unsuccessful attempts. Along the way, he discovered that making code more complex does not necessarily lead to more consistent performance gains. Some approaches may seem reasonable in theory but fail to deliver the expected results in practice. He therefore became more disciplined about preserving code versions and raw results, repeating measurements for the same approach, and determining whether performance improvements were consistent. Whenever he saw a faster result, his first questions were: Why is it faster? Can the result be reproduced? He considers this habit one of the most valuable lessons he gained from the competition.
The competition also made Du's understanding of AI development more concrete. In the past, complex low-level code could initially make the barrier to entry seem very high. Now, he tries to break it down into semantics, implementation, testing, and performance, then works through each part one by one.
His experience in the FlagOS Open Computing Global Competition also gave him clearer direction for his future development. He plans to focus his studies on AI systems software and high-performance computing, strengthen his knowledge of computer architecture, parallel computing, and compiler optimization, continue developing operators, and seek opportunities to work with a wider range of real hardware.
He also remarked that the most compelling aspect of FlagOS is the ability to study different chips through open operator interfaces and the Triton development model. Existing computational semantics and algorithmic approaches can be reused, while public code allows developers to compare and understand the implementation of each backend. Compared with development around a single device, this approach encourages developers to focus on how common logic connects with backend differences and provides more concrete references when they consult documentation and analyze compatibility solutions.
Conclusion
This year, development teams with different backgrounds participated in the FlagOS Open Computing Global Competition (Season 2) in different ways.
Zhang Pengfei's c2flow team at Yusuan Intelligence brought the engineering discipline of an industry team, using controlled measurements to anchor every "speedup" in reproducible evidence. After the competition, it will extend these capabilities to end-to-end inference optimization. Yang Zhongwu of EvokeAgent amplified his individual productivity with an automated optimization pipeline, searching for his own place between the efficiency of "one person working like a team" and the palpable reality of employment pressure. Working with limited hardware, Du Xuanzheng used a "to-be-validated list" and experimental records to fill gaps in cross-chip assessment while clearly setting his career direction toward AI systems software. As a veteran of two seasons, Zhou Chunguang patiently turned his spare time into a knowledge base that continues to grow.
What they share is not simply that "they all won awards," but that they genuinely developed cross-chip operator optimization capabilities through this competition. This did not depend on any single talent. It emerged from repeatedly raising questions, testing judgments, and revising solutions under the combined constraints of correctness requirements, chip differences, and leaderboard pressure.
Although the FlagOS Open Computing Global Competition (Season 2) has concluded, the next batch of challenges, the next group of developers, and the next round of cross-chip challenges are already on the way. The FlagOS community's positioning of the competition—"advancing R&D through competition, energizing the ecosystem through competition, and cultivating talent and setting benchmarks through competition"—has found concrete expression in the stories of these developers.
SOURCE Beijing Academy of Artificial Intelligence (BAAI) and the FlagOS Community
About the FlagOS Community
To support the large-scale deployment of different AI chips, BAAI joined with research institutions, chip companies, system vendors, and organizations working in algorithms and software—both in China and abroad—to initiate and establish the FlagOS community. It now has more than 100 member organizations.
FlagOS is an open-source, cross-chip systems software stack designed for AI chips. It enables AI models to be developed once and seamlessly ported to a wide range of hardware platforms, significantly reducing migration and compatibility costs. Its core open-source projects include a large-scale operator library, a cross-chip AI compiler, a parallel training and inference framework, and a cross-chip communication library. It is committed to building an open technology ecosystem spanning the model, system, and chip layers, unlocking hardware computing potential through "develop once, migrate across chips," and breaking down ecosystem silos among the software stacks of different chips.
Official website: https://flagos.io
GitHub project: https://github.com/flagos-ai
GitCode project: https://gitcode.com/flagos-ai
SkillHub: https://skillhub.flagos.io