How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Macro400K/macro-omnigen2-review", dtype=torch.bfloat16, device_map="cuda")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

OmniGen2 checkpoint β€” anonymous review copy

This repository contains the checkpoint files needed by the anonymous review code. The model architecture and third-party licenses remain governed by their respective upstream projects.

Download with hf download Macro400K/macro-omnigen2-review --local-dir ckpts/Macro-OmniGen2.

See the anonymous code and project page for inference instructions.

Downloads last month
-
Safetensors
Model size
4B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Space using Macro400K/macro-omnigen2-review 1