README
🚀
import torch
from diffusers import ModularPipeline
repo_id = "remyxai/dype-flux-modular"
# or "remyxai/hrdit-flux-modular"
pipe = ModularPipeline.from_pretrained(
repo_id,
trust_remote_code=True,
)
pipe.load_components(dtype=torch.bfloat16)
pipe.to("cuda")
img = pipe(
prompt="...",
height=4096,
width=4096,
).images[0]diffusers requests (#14480, #14520).