匿名用户2024年07月31日
52阅读

技术信息

开源地址
https://modelscope.cn/models/cjc1887415157/sdxl-flash
授权协议
creativeml-openrail-m

作品详情

SDXL Flash i collaboratio with Project Fluetly

preview

Itroducig the ew fast model SDXL Flash, we leared that all fast XL models work fast, but the quality decreases, ad we also made a fast model, but it is ot as fast as LCM, Turbo, Lightig ad Hyper, but the quality is higher. Below you will see the study with steps ad cfg.

Steps ad CFG (Guidace)

steps_ad_cfg_grid_test

Optimal settigs

  • Steps: 6-9
  • CFG Scale: 2.5-3.5
  • Sampler: DPM++ SDE

Diffusers usage

pip istall torch diffusers
import torch
from diffusers import StableDiffusioXLPipelie, DPMSolverSiglestepScheduler

# Load model.
pipe = StableDiffusioXLPipelie.from_pretraied("sd-commuity/sdxl-flash", torch_dtype=torch.float16, variat="fp16").to("cuda")

# Esure sampler uses "trailig" timesteps.
pipe.scheduler = DPMSolverSiglestepScheduler.from_cofig(pipe.scheduler.cofig, timestep_spacig="trailig")

# Image geeratio.
pipe("a happy dog, suy day, realism", um_iferece_steps=7, guidace_scale=3).images[0].save("output.pg")

功能介绍

SDXL Flash in collaboration with Project Fluently Introducing the new fast model SDXL Flash, we lea

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论