FlagOS is a unified heterogeneous computing software stack for large models, co-developed with leading global chip manufacturers. With core technologies such as the FlagScale, together with vllm-plugin-fl, distributed training/inference framework, FlagGems universal operator library, FlagCX communication library, and FlagTree unified compiler, the FlagRelease platform leverages the FlagOS stack to automatically produce and release various combinations of <chip + open-source model>. This enables efficient and automated model migration across diverse chips, opening a new chapter for large model deployment and application.
Based on this, the MiniCPM-o-4.5-zhen-FlagOS model is adapted for the zhenwu chip using the FlagOS software stack, enabling:
FlagGems is a high-performance, generic operator library implemented in Triton language. It is built on a collection of backend-neutral kernels that aims to accelerate LLM (Large-Language Models) training and inference across diverse hardware platforms.
FlagTree is an open source, unified compiler for multiple AI chips project dedicated to developing a diverse ecosystem of AI chip compilers and related tooling platforms, thereby fostering and strengthening the upstream and downstream Triton ecosystem. Currently in its initial phase, the project aims to maintain compatibility with existing adaptation solutions while unifying the codebase to rapidly implement single-repository multi-backend support. For upstream model users, it provides unified compilation capabilities across multiple backends; for downstream chip manufacturers, it offers examples of Triton ecosystem integration.
FlagScale is a comprehensive toolkit designed to support the entire lifecycle of large models. It builds on the strengths of several prominent open-source projects, including Megatron-LM and vLLM, to provide a robust, end-to-end solution for managing and scaling large models. vllm-plugin-fl is a vLLM plugin built on the FlagOS unified multi-chip backend, to help flagscale support multi-chip on vllm framework.
FlagCX is a scalable and adaptive cross-chip communication library. It serves as a platform where developers, researchers, and AI engineers can collaborate on various projects, contribute to the development of cutting-edge AI solutions, and share their work with the global community.
FlagEval is a comprehensive evaluation system and open platform for large models launched in 2023. It aims to establish scientific, fair, and open benchmarks, methodologies, and tools to help researchers assess model and training algorithm performance. It features:
Accuracy Difference between USE_FLAGGEMS=1 on Zhenwu and launch vllm server directly on Nvidia。
| Metrics(avg@1) | Difference with Nvidia-CUDA |
|---|---|
| CMMMU ↑ | 3.50% |
| MMMU ↑ | 1.18% |
| MMMU_Pro_standard ↑ | 0.22% |
| MM-Vet v2 ↑ | 1.33% |
| OCRBench ↑ | 1.00% |
| CII-Bench ↑ | 0.13% |
| Blink ↑ | 2.19% |
| Item | Version |
|---|---|
| FlagGems | Version: 4.2.1rc0 |
| vllm & vllm-plugin-fl | Version: 0.13.0 + vllm_fl 0.0.0 |
The image for this task is exported from Alibaba Cloud PAI and can be used on Alibaba Cloud EAS and DSW, both of which are container‑based resource services. For detailed instructions on how to use this image, please contact the PAI platform support team. The task released by BAAI is developed based on the container environment launched via the PAI platform.
docker pull harbor.baai.ac.cn/flagrelease-public/minicpm-0-4.5-zhenwu:202608071022
pip install modelscope
modelscope download --model FlagRelease/MiniCPM-o-4.5-zhenwu-FlagOS --local_dir /data/MiniCPMO45
docker run --init --detach --net=host --user 0 --ipc=host \
-v /data:/data --security-opt=seccomp=unconfined \
--privileged --ulimit=stack=67108864 --ulimit=memlock=-1 \
--shm-size=512G --gpus all \
--name flagos harbor.baai.ac.cn/flagrelease-public/minicpm-0-4.5-zhenwu:202608071022
docker exec -it flagos /bin/bash
USE_FLAGGEMS=1 vllm serve /data/MiniCPMO45 --trust-remote-code --served-model-name MiniCPMO45
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "MiniCPMO45",
"messages": [{"role": "user", "content": "hi!"}]
}'
We warmly welcome global developers to join us:
The weight files are from https://github.com/OpenBMB/MiniCPM-o, open source with apache2.0 licensehttps://www.apache.org/licenses/LICENSE-2.0.txt.
4 commits
1 commits
FlagOS is a unified heterogeneous computing software stack for large models, co-developed with leading global chip manufacturers. With core technologies such as the FlagScale, together with vllm-plugin-fl, distributed training/inference framework, FlagGems universal operator library, FlagCX communication library, and FlagTree unified compiler, the FlagRelease platform leverages the FlagOS stack to automatically produce and release various combinations of <chip + open-source model>. This enables efficient and automated model migration across diverse chips, opening a new chapter for large model deployment and application.
Based on this, the MiniCPM-o-4.5-zhen-FlagOS model is adapted for the zhenwu chip using the FlagOS software stack, enabling:
FlagGems is a high-performance, generic operator library implemented in Triton language. It is built on a collection of backend-neutral kernels that aims to accelerate LLM (Large-Language Models) training and inference across diverse hardware platforms.
FlagTree is an open source, unified compiler for multiple AI chips project dedicated to developing a diverse ecosystem of AI chip compilers and related tooling platforms, thereby fostering and strengthening the upstream and downstream Triton ecosystem. Currently in its initial phase, the project aims to maintain compatibility with existing adaptation solutions while unifying the codebase to rapidly implement single-repository multi-backend support. For upstream model users, it provides unified compilation capabilities across multiple backends; for downstream chip manufacturers, it offers examples of Triton ecosystem integration.
FlagScale is a comprehensive toolkit designed to support the entire lifecycle of large models. It builds on the strengths of several prominent open-source projects, including Megatron-LM and vLLM, to provide a robust, end-to-end solution for managing and scaling large models. vllm-plugin-fl is a vLLM plugin built on the FlagOS unified multi-chip backend, to help flagscale support multi-chip on vllm framework.
FlagCX is a scalable and adaptive cross-chip communication library. It serves as a platform where developers, researchers, and AI engineers can collaborate on various projects, contribute to the development of cutting-edge AI solutions, and share their work with the global community.
FlagEval is a comprehensive evaluation system and open platform for large models launched in 2023. It aims to establish scientific, fair, and open benchmarks, methodologies, and tools to help researchers assess model and training algorithm performance. It features:
Accuracy Difference between USE_FLAGGEMS=1 on Zhenwu and launch vllm server directly on Nvidia。
| Metrics(avg@1) | Difference with Nvidia-CUDA |
|---|---|
| CMMMU ↑ | 3.50% |
| MMMU ↑ | 1.18% |
| MMMU_Pro_standard ↑ | 0.22% |
| MM-Vet v2 ↑ | 1.33% |
| OCRBench ↑ | 1.00% |
| CII-Bench ↑ | 0.13% |
| Blink ↑ | 2.19% |
| Item | Version |
|---|---|
| FlagGems | Version: 4.2.1rc0 |
| vllm & vllm-plugin-fl | Version: 0.13.0 + vllm_fl 0.0.0 |
The image for this task is exported from Alibaba Cloud PAI and can be used on Alibaba Cloud EAS and DSW, both of which are container‑based resource services. For detailed instructions on how to use this image, please contact the PAI platform support team. The task released by BAAI is developed based on the container environment launched via the PAI platform.
docker pull harbor.baai.ac.cn/flagrelease-public/minicpm-0-4.5-zhenwu:202608071022
pip install modelscope
modelscope download --model FlagRelease/MiniCPM-o-4.5-zhenwu-FlagOS --local_dir /data/MiniCPMO45
docker run --init --detach --net=host --user 0 --ipc=host \
-v /data:/data --security-opt=seccomp=unconfined \
--privileged --ulimit=stack=67108864 --ulimit=memlock=-1 \
--shm-size=512G --gpus all \
--name flagos harbor.baai.ac.cn/flagrelease-public/minicpm-0-4.5-zhenwu:202608071022
docker exec -it flagos /bin/bash
USE_FLAGGEMS=1 vllm serve /data/MiniCPMO45 --trust-remote-code --served-model-name MiniCPMO45
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "MiniCPMO45",
"messages": [{"role": "user", "content": "hi!"}]
}'
We warmly welcome global developers to join us:
The weight files are from https://github.com/OpenBMB/MiniCPM-o, open source with apache2.0 licensehttps://www.apache.org/licenses/LICENSE-2.0.txt.
4 commits
1 commits