KBlueLeaf/danbooru2023-webp-4Mpixel
Viewer • Updated • 199M • 537 • 82
How to use John6666/sumeshiflux1s-v002e-bf16-flux with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("John6666/sumeshiflux1s-v002e-bf16-flux", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("John6666/sumeshiflux1s-v002e-bf16-flux", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Original model is here.
Note: This model is a Schnell based model, but it requires CFG scale 3.5 or higher (not guidance scale) and 20 steps or more. Needs to be used with clip_l_sumeshi_f1s_v002. (It's the 234.74 MB file in the menu on the right.)
This model created by FA770.
This is an experimental conversion in Spaces using a homebrew script. I have not been able to confirm if the conversion is working properly. Please consider this as a test run only.
Base model
black-forest-labs/FLUX.1-schnell