Downloads · 30 days
23
20% of all-time downloads
FlagRelease/RoboBrain2.0-32B-Ascend-FlagOS
RoboBrain2.0-32B-Ascend-FlagOS is a machine learning model from FlagRelease. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
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 distributed training/inference framework,…
Downloads · 30 days
23
20% of all-time downloads
All-time downloads
113
Public
Parameters
33.5B
66.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors66.9 GB · 100%
From the Hugging Face model README
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 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 RoboBrain2.0-32B-Ascend-FlagOS model is adapted for the Ascend chip using the FlagOS software stack, enabling:
FlagScale is an end-to-end framework for large models across heterogeneous computing resources, maximizing computational efficiency and ensuring model validity through core technologies. Its key advantages include:
FlagGems is a Triton-based, cross-architecture operator library collaboratively developed with industry partners. Its core strengths include:
FlagEval (Libra)** 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:
| Metric | RoboBrain2.0-32B-H100-CUDA | RoboBrain2.0-32B-Ascend-FlagOS |
|---|---|---|
| SAT | 86.670 | 82.670 |
| all_angles_bench | 50.840 | 50.980 |
| Where2Place | 69.580 | 76.630 |
| blink_val_ev | 72.830 | 72.110 |
| robo_spatial_home_all | 68.774 | 69.531 |
| egoplan_bench2 | 51.780 | 49.130 |
| erqa | 44.500 | 41.750 |
| cv_bench_test | 83.190 | 82.920 |
| embspatial_bench | 74.310 | 73.820 |
| vsi_bench_tiny | 42.690 | 40.710 |
| Where2Place-nothink | 73.590 | 73.020 |
| blink_val_ev-nothink | 68.350 | 68.930 |
| cv_bench_test-nothink | 83.920 | 84.000 |
| robo_spatial_home_all-nothink | 72.430 | 73.772 |
| embspatial_bench-nothink | 78.570 | 78.300 |
| all_angles_bench-nothink | 50.140 | 49.770 |
| vsi_bench_tiny-nothink | 39.820 | 41.330 |
| SAT-nothink | 76.670 | 77.330 |
| egoplan_bench2-nothink | 57.230 | 56.620 |
| erqa-nothink | 40.250 | 41.750 |
Environment Setup
| Accelerator Card Driver Version | Kernel Mode Driver Version: 2.3.0 |
|---|---|
| Docker Version | Docker version 20.10.8, build 3967b7d |
| Operating System | Description: 5.10.0-216.0.0.115.oe2203sp4.aarch64 |
| FlagScale | Version: 0.8.0 |
| FlagGems | Version: 2.2 |
docker pull harbor.baai.ac.cn/flagrelease-public/flagrelease-ascend-release-model_robobrain2.0-32b-tree_none-gems_2.2-scale_0.8.0-cx_none-python_3.11.11-torch_npu2.6.0rc1-pcp_cann8.2.rc1.alpha002-gpu_ascend001-arc_arm64-driver_25.2.0:2508251420
pip install modelscope
modelscope download --model FlagRelease/RoboBrain2.0-32B-Ascend-FlagOS --local_dir /data/weights/RoboBrain2.0-32B
#Container Startup
docker run -itd --name flagos \
-u root \
-w /workspace \
--privileged=true \
--shm-size=1000g \
--net=host \
-v /usr/local/Ascend/driver:/usr/local/Ascend/driver \
-v /usr/local/bin/npu-smi:/usr/local/bin/npu-smi \
-v /usr/local/dcmi:/usr/local/dcmi \
-v /usr/local/sbin:/usr/local/sbin \
-v /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime \
-v /etc/ascend_install.info:/etc/ascend_install.info \
-v /data:/data \
-v /root/.cache:/root/.cache \
-e VLLM_USE_V1=1 \
-e CPU_AFFINITY_CONF=2 \
-e PYTORCH_NPU_ALLOC_CONF=max_split_size_mb:256 \
-e USE_FLAGGEMS=true \
harbor.baai.ac.cn/flagrelease-public/flagrelease-ascend-release-model_robobrain2.0-32b-tree_none-gems_2.2-scale_0.8.0-cx_none-python_3.11.11-torch_npu2.6.0rc1-pcp_cann8.2.rc1.alpha002-gpu_ascend001-arc_arm64-driver_25.2.0:2508251420 bash
source /usr/local/Ascend/ascend-toolkit/set_env.sh && source /usr/local/Ascend/nnal/atb/set_env.sh
pip show flag_scale to find flag_scale's path like /root/miniconda3/lib/python3.11/site-packages/flag_scale, then vim /root/miniconda3/lib/python3.11/site-packages/flag_scale/examples/robobrain2/conf/serve/32b.yaml- serve_id: vllm_model
engine: vllm
engine_args:
model: /data/weights/RoboBrain2.0-32B/ # path of weight of deepseek r1
served_model_name: RoboBrain2.0-32B-ascend-flagos
tensor_parallel_size: 8
gpu_memory_utilization: 0.8
host: 10.1.15.113
port: 9010
block_size: 128
enforce_eager: true
no_enable_prefix_caching: true
no_enable_chunked_prefill: true
host:10.1.15.113 to your real ipflagscale serve robobrain2
import openai
openai.api_key = "EMPTY"
openai.base_url = "http://<server_ip>:9010/v1/"
model = "RoboBrain2.0-32B-ascend-flagos"
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "What's the weather like today?"}
]
response = openai.chat.completions.create(
model=model,
messages=messages,
temperature=0.7,
top_p=0.95,
stream=False,
)
for item in response:
print(item)
We warmly welcome global developers to join us:
The weights of this model are based on BAAI/RoboBrain2.0-32B and are open-sourced under the Apache 2.0 License: https://www.apache.org/licenses/LICENSE-2.0.txt.