cd /news/artificial-intelligence/meta-fuxi-open-unified-multimodal-co… · home › topics › artificial-intelligence › article
[ARTICLE · art-179903] src=explainx.ai ↗ pub= topic=artificial-intelligence verified=true sentiment=· neutral

Meta Fuxi: Open Unified Multimodal Code from facebookresearch

Meta's facebookresearch organization published the Fuxi repository on GitHub in December 2026 under an Apache-2.0 license, releasing open code for a unified multimodal model that handles text-to-image generation, image editing, and visual understanding through one training stack. The release includes pretrain and two-stage SFT configs, FuxiPipeline inference, and evaluation hooks for GenEval, DPG-Bench, ImgEdit, and GEdit, but no downloadable model weights; Meta labels the work under review with a placeholder BibTeX. The stack ties an LLM to a SigLIP2 vision encoder, Wan2.2 VAE, and flow head, and the download script caches Qwen2.5-1.5B-Instruct, SigLIP2, Wan2.2 VAE, and LPIPS, while Meta's internal image-text and editing pairs are excluded from the release.

key takeaway

Fuxi ships Apache-2.0 training code with FSDP2, EMA and DCP checkpoints via torchrun -m fuxi.train, plus t2i, edit and mmu sampling, but no model weights, so builders must reproduce it on their own GPUs using the public dataset list.

by read8 min views21 publishedDec 2, 2026
Meta Fuxi: Open Unified Multimodal Code from facebookresearch
Image: Explainx (auto-discovered)

Meta’s facebookresearch organization published the Fuxi repository on GitHub in December 2026: open Apache-2.0 code for a unified multimodal model that coordinates text-to-image generation, image editing, and visual understanding. The README titles the method Conflict-Aware Tri-Level Coordination for Unified Multimodal Understanding and Generation. You get install steps, pretrain and two-stage SFT configs, FuxiPipeline inference, and GenEval, DPG-Bench, ImgEdit, and GEdit evaluation hooks—not a single downloadable “Fuxi-7B” product weight on day one.

What shipped in the repo #

The first public commit exposes a full training stack under the fuxi Python package:

Area What you get
Model Config-driven stack tying an LLM, SigLIP2 vision encoder, Wan2.2 VAE, and flow head
Data JSONL/Parquet manifests for pairs, conversation, multi-image, text-only, and edit rows
Train torchrun -m fuxi.train with FSDP2, EMA, DCP checkpoints, safetensors export
Sample python -m fuxi.sample fort2i ,edit , andmmu (multimodal understanding)
Eval Sharded understanding eval plus T2I and edit benchmark drivers

Meta labels the work under review and leaves BibTeX as a placeholder. Treat released assets as research infrastructure you reproduce on your own GPUs, similar to how Nemotron visual lines ship code before broad product APIs.

Unified multimodal AI model routing text image and edit tasks through one training stack

Architecture in plain language #

Fuxi sits in the unified multimodal family: one network learns multiple visual tasks instead of bolting a diffusion U-Net beside a frozen VLM. The README’s acknowledgements map the lineage:

  • Show-o2 — model structure and attribute naming
  • TUNA — unified visual representation and flow-head design
  • Qwen2.5 andSigLIP2 — text and image encoders you download from public hubs
  • Wan2.2 VAE — image latent codec for generation and reconstruction loss (LPIPS bundled in assets script)
  • SiT transport andtransfusion-pytorch — flow matching and omni-attention patterns

Conflict-aware tri-level coordination (the paper title) is Meta’s name for how understanding, generation, and editing objectives share parameters without one task silently breaking another. The training code packs T2I, understanding, and editing samples into shared sequence formats in fuxi/data/formatting.py, with online aspect-ratio bucketing so each batch stays one resolution.

Builders who follow Tencent OmniEVIE or Apple tri-modal diffusion research will recognize the pattern: one tokenizer stream, multiple supervision types, heavy data plumbing.

Installation and assets #

Requirements from the README:

git clone https://github.com/facebookresearch/fuxi.git && cd fuxi
pip install -e .
pip install -e ".[eval]"

For benchmarks that pull mmdetection, OpenCLIP, or ModelScope mPLUG, Meta warns to use separate environments following upstream GenEval and DPG instructions—do not assume one pip install satisfies every scorer.

Download public base weights:

FUXI_ASSETS=/path/to/assets bash scripts/download_assets.sh
export FUXI_ASSETS=/path/to/assets

That script caches Qwen2.5-1.5B-Instruct, SigLIP2, Wan2.2 VAE, and LPIPS for reconstruction loss. Internal Meta image-text and editing pairs are not in the release; training from scratch uses the public dataset list in the README (FineVision, LLaVA-OneVision variants, Honey-Data, Nemotron text, GPT-Image-Edit, Pico-Banana-400K, ImgEdit, and others).

Training stages Meta documents #

Stage Config Notes
Pretrain configs/train/pretrain.yaml 200K steps, VAE included
SFT part 1 configs/train/sft.yaml From pretrain EMA via train.init_from
SFT part 2 configs/train/sft_edit.yaml Adds editing data; continues part 1 with train.continue_from
Ablations ablation_pretrain.yaml ,ablation_sft.yaml Shorter runs for ablation studies

Launch pattern:

torchrun --nnodes N --nproc_per_node 8 -m fuxi.train \
  --config configs/train/pretrain.yaml output_dir=/path/to/run

Checkpoints land under output_dir/ckpt/step_* with safetensors exports at output_dir/export/step_*/ema.safetensors for inference. TensorBoard logs go to output_dir/tb.

If you are comparing training cost to local Nemotron or Llama workflows, budget multi-node torchrun and VAE-inclusive pretrain before promising same-day demos.

Meta Fuxi diffusion training noise resolving into generated image samples

Inference: one pipeline, three commands #

After training or obtaining an EMA checkpoint:

python -m fuxi.sample t2i --config configs/model/fuxi_base.yaml --checkpoint /path/to/ema.safetensors ...
python -m fuxi.sample edit --config configs/model/fuxi_base.yaml --checkpoint /path/to/ema.safetensors ...
python -m fuxi.sample mmu --config configs/model/fuxi_base.yaml --checkpoint /path/to/ema.safetensors ...

The README’s Python snippet loads FuxiPipeline.from_pretrained, runs t2i with multiple images per prompt, edit with PIL inputs, and mmu for chart-style VQA—useful for smoke tests before you wire a product UI.

For teams that already serve image edit APIs or open T2I stacks, Fuxi is an on-prem research baseline, not a drop-in hosted endpoint.

Evaluation entry points #

Meta wires understanding eval through fuxi.eval.understanding, GenEval and DPG-Bench through fuxi.eval.t2i, and ImgEdit / GEdit through fuxi.eval.edit plus optional OpenAI judges when keys are set.

Practical notes from the README:

  • GenEval generation is sharded with torchrun; scoring runs in the upstream GenEval environment.
  • Editing judges can call an OpenAI backend viaOPENAI_BASE_URL andOPENAI_API_KEY for VIEScore-style metrics.
  • EMA weights are the recommended checkpoint for eval.

That split mirrors how Nemotron Labs and Harvey Muse legal benchmarks keep generation and judge models in different environments.

How Fuxi fits Meta’s open-weight strategy #

Kari Briski’s GTC Washington messaging on open models—covered in our Nemotron Super Decision Model post—stresses that developers want weights they can adapt. Fuxi is the multimodal research counterpart: code and configs you can audit, not only an API.

It differs from consumer Meta AI apps and from Llama-only text releases. It is closer to unified research platforms like SenseTime MT Forcing, but with Meta’s dataset mix and Apache-2.0 license on the repo (third-party components keep their own licenses in NOTICE).

Policy readers should pair Fuxi with Jack Dorsey’s open-weights argument and Journal of Democracy’s activist use case for why downloadable stacks matter outside the datacenter.

What to try this week #

  1. Clone and install — confirmpip install -e . on a GPU node with PyTorch 2.6+.
  2. Download assets — rundownload_assets.sh once; point configs offline if your cluster blocks Hugging Face hub pulls.
  3. Smoke-test inference — use published base config plus any EMA file you train or obtain; runt2i on one prompt before multi-GPU training.
  4. Pick one benchmark — start withunderstanding orGenEval generate only; add scoring environments in a second venv.
  5. Log FAR-style discipline — if you fine-tune on custom specs, borrowfeature-level acceptance thinking fromNL2Repo-Pro so “high test pass rate” does not mask broken features.

Teams needing structured multimodal training for employees can pair this repo with explainx.ai’s AI builder workshops for safe GPU lab setup—not a substitute for reading Meta’s NOTICE file on derived components.

Data row schemas in detail #

The README’s manifest section is the operational contract. T2I pairs use {id, image, caption[, width, height]} rows with optional probability p_und if a caption row doubles as understanding supervision. Conversation rows follow LLaVA-style {from: human|gpt, value} turns on a single image. Multi_image allows up to six images in one understanding dialog—relevant for chart-comparison or before/after edit reasoning. Text-only rows keep language capabilities from drifting when image batches dominate sampling. Edit rows store {images: [condition..., target], instruction} with one or two reference frames.

Paths stay relative to each source’s image_root, so a single training run can blend FineVision-scale web images with Nemotron text without a monolithic filesystem layout. Bucketing resizes to closest aspect-ratio queues so each batch is resolution-homogeneous—a requirement for efficient flex attention paths on recent PyTorch builds.

When bad samples fail decode, deterministic replacement pulls another row from the same source instead of crashing the epoch. Combined with resumable samplers, that design targets week-long pretraining jobs on SLURM clusters where flaky storage is normal. If you manage NVIDIA disaggregated training style fleets, the same discipline applies: data s must never be the silent source of NaNs.

Troubleshooting a first Fuxi run #

OOM during pretrain: Lower micro-batch via config overrides or enable more aggressive checkpointing; VAE-inclusive pretrain keeps latents hot in memory longer than text-only LLM runs. Hub timeouts on download_assets.sh: Mirror Qwen2.5-1.5B-Instruct, SigLIP2, and Wan VAE into FUXI_ASSETS and point model.llm.path / model.vision.path locally—the README documents offline overrides. GenEval scorer import failures: Expect a second conda env; mixing mmdetection with FSDP2 training dependencies often breaks both. Edit judge API errors: OPENAI_BASE_URL and OPENAI_API_KEY gate optional VIEScore backends; without keys, run check commands that do not require judges first.

EMA versus raw checkpoints: Inference and eval docs specify EMA exports. Starting from a mid-training non-EMA weight produces plausible-looking but low-FID samples—document which file your demo uses when reporting numbers to stakeholders.

Licensing and redistribution #

Repository code is Apache-2.0, but NOTICE enumerates components under BSD, MIT, and project-specific terms from Show-o2, TUNA, Wan2.2, and benchmark kits. Product teams shipping commercial fine-tunes must trace NOTICE line by line, not only the top-level LICENSE. Generated weights you train remain your responsibility for downstream safety and content policy—Meta does not ship a branded Fuxi Moderation API in this drop.

Comparison lens for buyers #

Need Fuxi repo Typical hosted API
Unified T2I + edit + VQA One train stack Often separate products
On-prem air gap Possible with local assets Requires enterprise contract
Benchmark repro GenEval / DPG hooks in-tree Vendor tables only
Time to first demo Days (train or find EMA) Minutes (API key)

Neither row “wins” universally—this repo is for teams that already own GPUs and want reproducible paper numbers, not instant consumer apps.

Energy and scheduling notes for pretrain #

Stage-one pretrain at 200K steps with VAE gradients enabled is not a weekend job on a single eight-GPU box. Meta’s configs assume multi-node torchrun with FSDP2 sharding—teams coming from single-GPU LoRA fine-tunes should resize expectations before promising executive demos. sft_edit continuation also requires the same GPU count as stage-one SFT when using train.continue_from; changing world size mid-run breaks checkpoint compatibility in most distributed trainers.

If your org already runs Nemotron or Llama-class jobs on SLURM, reuse job arrays and tensorboard centralization from those playbooks rather than inventing a separate monitoring stack for Fuxi alone.

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @meta 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/meta-fuxi-open-unifi…] indexed:0 read:8min 2026-12-02 · —