Downloads · 30 days
11
14% of all-time downloads
FlagRelease/Hunyuan-A13B-Instruct-FlagOS
Hunyuan-A13B-Instruct-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
11
14% of all-time downloads
All-time downloads
77
Public
Parameters
80.4B
161 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors161 GB · 100%
How the weights are stored.
BF1680.4B · 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 Hunyuan-A13B-Instruct-FlagOS model is adapted for the Nvidia 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:
| Metrics | Hunyuan-A13B-Instruct-CUDA | Hunyuan-A13B-Instruct-FlagOS |
|---|---|---|
| AIME_0fewshot_@avg1 | 70.000 | 66.667 |
| GPQA_0fewshot_@avg1 | 43.289 | 43.876 |
| LiveBench-0fewshot_@avg1 | 43.997 | 45.611 |
| MMLU_5fewshot_@avg1 | 75.324 | 75.075 |
| MUSR_0fewshot_@avg | 58.201 | 55.423 |
Environment Setup
| Accelerator Card Driver Version | Kernel Mode Driver Version: 2.3.0 |
|---|---|
| Docker Version | Docker version 27.5.1, build 27.5.1-0ubuntu3~22.04.2 |
| Operating System | Description: Ubuntu 22.04.4 LTS |
| FlagScale | Version: 0.8.0 |
| FlagGems | Version: 4.2.1rc0 |
docker pull harbor.baai.ac.cn/flagrelease-public/flagrelease-nvidia-release-model_hunyuan-a13b-instruct-tree_none-gems_4.1-scale_0.8.0-cx_none-python_3.12.3-torch_2.9.0-pcp_cuda13.0-gpu_nvidia004-arc_amd64-driver_535.183.06:260226
pip install modelscope
modelscope download --model FlagRelease/Hunyuan-A13B-Instruct-FlagOS --local_dir /data/Hunyuan-A13B-Instruct
#Container Startup
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 -e USE_FLAGGEMS=1 \
--name flagos harbor.baai.ac.cn/flagrelease-public/flagrelease-nvidia-release-model_hunyuan-a13b-instruct-tree_none-gems_4.1-scale_0.8.0-cx_none-python_3.12.3-torch_2.9.0-pcp_cuda13.0-gpu_nvidia004-arc_amd64-driver_535.183.06:260226 sleep infinity
docker exec -it flagos bash
flagscale serve hunyuan
import openai
openai.api_key = "EMPTY"
openai.base_url = "http://<server_ip>:9010/v1/"
model = "Hunyuan-A13B-Instruct-nvidia-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:
本模型的权重来源于Tencent-Hunyuan/Hunyuan-A13B-Instruct,以apache2.0协议https://www.apache.org/licenses/LICENSE-2.0.txt开源。