Views
No views yet

[2026-07] 🎉 We release Hy-Embodied-RxBrain-1.0 — the technical report, official inference code, and model weights.Hy-Embodied-RxBrain-1.0) is a unified multimodal foundation model for embodied cognition — a single model that couples language reasoning with visual imagination to deliver three core capabilities:<Image> token decides when to imagine — so an embodied plan couples what to do with what the world should look like, step by step.flash-attn)hunyuan_vl_mot backbone that unified_mot builds on):pip install git+https://github.com/huggingface/transformers@9293856c419762ebf98fbe2bd9440f9ce7069f1aNote: A stocktransformersrelease does not yet includehunyuan_vl_mot; this pinned commit is required. We will merge the improvements into the Transformers main branch later.
1git clone https://github.com/Tencent-Hunyuan/Hy-Embodied-RxBrain-1.0.git
2cd Hy-Embodied-RxBrain-1.0
3pip install -r requirements.txt| Component | Params | Source |
|---|---|---|
| Hy-Embodied-RxBrain-1.0 | ~6.2 B | 🤗 tencent/Hy-Embodied-RxBrain-1.0 |
FLUX VAE (ae.safetensors) | 83.8 M | Obtain from the FLUX distribution |
--ckpt must be a local path, not the Hub repo id:1pip install -U "huggingface_hub[cli]"
2hf download tencent/Hy-Embodied-RxBrain-1.0 --local-dir ./Hy-Embodied-RxBrain-1.0ae.safetensors.UnifiedMoT classes shipped in this repo, then run understanding (VQA). Run this from the repo root so the model package is importable, and point MODEL_PATH at your local download (see Model Download).1import torch
2from transformers.models.hunyuan_vl_mot import HunYuanVLMoTProcessor
3from model import UnifiedMoTForConditionalGeneration, maybe_init_generation_path
4from vqa_inference import answer
5
6MODEL_PATH = "./Hy-Embodied-RxBrain-1.0" # local checkpoint directory, not the Hub id
7device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
8dtype = torch.bfloat16
9
10# Load processor & model
11processor = HunYuanVLMoTProcessor.from_pretrained(MODEL_PATH, trust_remote_code=True)
12model = UnifiedMoTForConditionalGeneration.from_pretrained(MODEL_PATH, dtype=dtype)
13maybe_init_generation_path(model, model_load_path=MODEL_PATH) # wires up the generation path
14model.to(device).eval()
15
16# Ask a question about an image
17text = answer(
18 model, processor,
19 image_paths=["demo_cases/bridgev2_move_toy/input/obs_1.jpg"],
20 question="What objects are on the stovetop, and where is the green toy?",
21 device=device, dtype=dtype, max_new_tokens=256,
22)
23print(text)Note: RxBrain uses a custom interleaved text/image decoding loop rather than the standardmodel.generateAPI. Theanswer(...)helper (invqa_inference.py) wraps that loop for the understanding case; image generation and planning have their own entry points below.
1python vqa_inference.py \
2 --ckpt ./Hy-Embodied-RxBrain-1.0 \
3 --images demo_cases/bridgev2_move_toy/input/obs_1.jpg \
4 --question "What objects are on the stovetop, and where is the green toy?" \
5 --max_new_tokens 2561python text2image_inference.py \
2 --ckpt ./Hy-Embodied-RxBrain-1.0 --vae /path/to/ae.safetensors \
3 --prompt "a watercolor painting of a cat" \
4 --height 256 --width 256 --num_steps 25 --out out.png
5
6# with classifier-free guidance
7python text2image_inference.py \
8 --ckpt ./Hy-Embodied-RxBrain-1.0 --vae /path/to/ae.safetensors \
9 --prompt "a watercolor painting of a cat" \
10 --cfg_scale 5.0 --num_steps 50 --out out.png1python multiframe_inference.py \
2 --ckpt ./Hy-Embodied-RxBrain-1.0 --vae /path/to/ae.safetensors \
3 --frames /path/to/obs.jpg --task "imagine the next frames" \
4 --num_frames 4 --num_steps 50 --out_dir multiframe_outdemo_cases/README.md for details.1CASE=umi_fold_sock
2python interleave_inference.py \
3 --ckpt ./Hy-Embodied-RxBrain-1.0 --vae /path/to/ae.safetensors \
4 --frames demo_cases/$CASE/input/*.jpg \
5 --task "$(cat demo_cases/$CASE/prompt.txt)" \
6 --max_frames 5 --num_steps 50 --out_dir out_$CASE