Downloads · 30 days
0
FlagRelease/Emu3.5-FlagOS
Emu3.5-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.
We recommend that you refer to https://github.com/baaivision/Emu3.5 if you need to perform model fine-tuning on NVIDIA hardware or deploy the model on physical robots.
Downloads · 30 days
0
Access
Public
Updated Mar 9, 2026
Repo size
136 GB
Likes
1
Public
Click a slice to open those files.
.safetensors134 GB · 99%
From the Hugging Face model README
We recommend that you refer to https://github.com/baaivision/Emu3.5 if you need to perform model fine-tuning on NVIDIA hardware or deploy the model on physical robots.
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 Emu3.5-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:
Unlike other models, we judge, based on expert experience, that the capability levels demonstrated by CUDA and FlagOS's Emu3.5 are equivalent or not. In the four task domains of visual editing, text-to-image generation, visual guidance, and visual storytelling, a comprehensive judgment is made from multiple aspects including structure, image-text consistency, authenticity, spatial relationships, and style. The two sets of images are consistent in proportions and structure; their color schemes, material details, and texture distributions are similar, but the results from CUDA adhere more closely to real-world logic. Regarding overall painting or rendering styles, such as lighting methods, line characteristics, and detail density, the styles match. In localized precise editing, FlagOS exhibits more stable core features, whereas CUDA excels in maintaining texture and style continuity. Taking all dimensions into account, they can be considered to perform comparably overall. You can find origin.tar and flagos.tar in the root directory of this model, which contain sample outputs from Emu3.5-CUDA and Emu3.5-FlagOS, respectively, across the four task domains.
Environment Setup
| Item | Version |
|---|---|
| Docker Version | Docker version 28.1.0, build 4d8c241 |
| Operating System | Ubuntu 22.04.5 LTS |
| FlagScale | Version: 0.9.0 |
| FlagGems | Version: 3.0 |
docker pull harbor.baai.ac.cn/flagrelease-public/flagrelease-nvidia-release-model_emu3.5-tree_none-gems_4.1-scale_none-cx_none-python_3.12.3-torch_2.8.0-pcp_cuda12.9-gpu_nvidia003-arc_amd64-driver_570.158.01:2511191157
pip install modelscope
modelscope download --model FlagRelease/Emu3.5-FlagOS --local_dir /data/Emu3.5-FlagOS
#Container Startup
docker run --rm --init --detach --net=host --uts=host --ipc=host --security-opt=seccomp=unconfined --privileged=true --ulimit stack=67108864 --ulimit memlock=-1 --ulimit nofile=1048576:1048576 --shm-size=32G -v /data/Emu3.5-FlagOS:/share --gpus all --name flagos harbor.baai.ac.cn/flagrelease-public/flagrelease-nvidia-release-model_emu3.5-tree_none-gems_4.1-scale_none-cx_none-python_3.12.3-torch_2.8.0-pcp_cuda12.9-gpu_nvidia003-arc_amd64-driver_570.158.01:2511191157 sleep infinity
docker exec -it flagos bash
cd /workspace/FlagScale
python run.py --config-path examples/emu3.5/conf/ --config-name image_generation.yaml # to get image_generation results, like text to image
python run.py --config-path examples/emu3.5/conf/ --config-name interleaved_generation.yaml # to get interleaved_generation results, like visual_guidance
you can change /workspace/FlagScale/flagscale/inference/emu_utils/prompt_case.py to change the prompts.
We warmly welcome global developers to join us:
本模型的权重来源于BAAI/Emu3.5,以apache2.0协议https://www.apache.org/licenses/LICENSE-2.0.txt开源。