Jinming206's picture
Add standalone Diffusers conversion
652bc8e verified
|
Raw
History Blame Contribute Delete
1.06 kB
metadata
license: cc-by-nc-4.0
library_name: diffusers
pipeline_tag: text-to-image
gated: true
tags:
  - sefi-image
  - semantic-first-diffusion
  - safetensors
base_model: SeFi-Image/SeFi-Image-5B-turbo

SeFi-Image Diffusers checkpoint

This repository is a Diffusers-format conversion of SeFi-Image/SeFi-Image-5B-turbo. The original checkpoint is not modified by the conversion. Refer to the source model card for model details, limitations, and responsible-use guidance.

import torch
from diffusers import SeFiPipeline

pipe = SeFiPipeline.from_pretrained(
    "SeFi-Image/SeFi-Image-5B-turbo-diffusers", dtype=torch.bfloat16
).to("cuda")
image = pipe(
    "A red apple on a wooden table.",
    num_inference_steps=4,
    guidance_scale=1.0,
).images[0]
image.save("sefi.png")

License

The checkpoint is distributed under the Creative Commons Attribution-NonCommercial 4.0 International license (CC BY-NC 4.0). It is for non-commercial use only.