OSS:ComfyUI官方支持新采样调度器!适用于黑森林Flux和万相Wan2.1等扩散模型

img

OSS简介

今天文章将介绍一个名为 Optimal Stepsize for Diffusion Sampling (OSS) 的开源扩散模型采样调度器OptimalStepsScheduler。它提供了一个基于 PyTorch 的实现。Optimal Stepsize for Diffusion Sampling (OSS) 是一种即插即用的算法,能够被用于在扩散采样中搜索最优的采样步长。该算法可以显著提高扩散模型的采样效率,同时保持生成质量。适用于基于多种扩散模型(如 DiT、FLUX、Open-Sora 和 Wan2.1)等模型。当前已经集成到ComfyUI官方最新版本本体中。

  • 即插即用:OSS 算法可以轻松集成到现有的扩散模型中,无需对模型架构进行重大修改。
  • 优化采样步长:通过搜索最优采样步长,OSS 能够在较少的采样步骤中实现高质量的生成结果。
  • 支持多种模型:OSS 不仅适用于特定的扩散模型,还提供了如何将其适配到其他扩散模型的指导。

Flux文生图:Left to Right: FLUX-100steps; FLUX+OSS-10steps; FLUX-10steps.

null

Wan文生视频:Left to Right: Wan-100steps; Wan+OSS-20steps; Wan-20steps.

,时长00:16

GitHub:https://github.com/bebebe666/OptimalSteps

OSS体验

本文将使用ComfyUI 软件本体体验,需更新到最新版本。Flux基础模型在文末可获取哦

• 更新ComfyUI软件本体即可体验。无需下载其他模型。

OSS ComfyUI体验

OptimalStepsScheduler ComfyUI工作流下载:https://www.liblib.art/modelinfo/581b75105f634114bf3a4800135ba8e5?versionUuid=cdc62c00527f4239bd0187e9757982bf

img

img

注意:

OptimalStepsScheduler运节点为ComfyUI新增Scheduler节点。

• 在实际测试中OSS在较小步骤时候图像有糊状。但在与Flux想通25步采样时候质量明显优于原生Flux模型。具体在生产是否应用取决于个人选择,并不是必须出图方案

• 本文将深入比较Flux文生图模型,wan视频当前仅支持T2V,后续文章展开。

• 更多的Wan2.1和ComfyUI工作流参见个人主页:https://www.runninghub.cn/user-center/1890418187312222210?utm_source=kol01-RH059

01.不同步数对比

A fit athletic woman stands confidently, showcasing her strong physique. She has a heart-shaped face with high cheekbones, bright green eyes, and a warm, sun-kissed skin tone. Her curly brown hair is pulled back into a high ponytail, with a few loose strands framing her face. She wears a vibrant coral workout tank top that hugs her torso, accentuating her toned arms and shoulders, paired with high-waisted black leggings adorned with colorful geometric patterns. Her expression is focused and determined, with a slight smile suggesting enjoyment in her workout. She is mid-stretch, reaching her arms overhead with an open stance, exuding energy and enthusiasm. The background features a sunny outdoor park with green grass and trees, hinting at a lively and invigorating atmosphere.

img

img

img

img

02.健身

A fit athletic woman stands confidently, showcasing her strong physique. She has a heart-shaped face with high cheekbones, bright green eyes, and a warm, sun-kissed skin tone. Her curly brown hair is pulled back into a high ponytail, with a few loose strands framing her face. She wears a vibrant coral workout tank top that hugs her torso, accentuating her toned arms and shoulders, paired with high-waisted black leggings adorned with colorful geometric patterns. Her expression is focused and determined, with a slight smile suggesting enjoyment in her workout. She is mid-stretch, reaching her arms overhead with an open stance, exuding energy and enthusiasm. The background features a sunny outdoor park with green grass and trees, hinting at a lively and invigorating atmosphere.

img

03.肖像写真

1Photograph of a young Asian woman with long,straight black hair,fair skin,and full lips painted in a bold red. She wears a beige,sequined top with long sleeves. Her hands are delicately touching her face,showcasing manicured nails. The background is a plain gray.,

img

04.办公室

boa hancock,girl,1girl,The image is a high-resolution photograph featuring a young woman seated in a modern office environment.       She has long straight black hair that falls over her shoulders.       Her skin is fair and smooth,and she has a slender.She is holding a black pen in her right hand,which she is using to point at a stack of papers on the desk in front of her.       Her makeup is bold,with darkeyeliner,mascara,and a bright red lipstick that complements her sultry expression.       She wears small,delicate earrings and a delicate gold necklace with a small pendant.       The office setting features light grey carpeting with a geometric pattern,a white desk,and a black office chair with a red cushion.       In the background,there are wooden cabinets and a window that allows natural light to filter in,enhancing the modern,professional atmosphere.       The overall tone of the image is sophisticated and provocative.,

img
为了帮助大家更好地掌握 ComfyUI,我花了几个月的时间,撰写并录制了一套ComfyUI的基础教程,共六篇。这套教程详细介绍了选择ComfyUI的理由、其优缺点、下载安装方法、模型与插件的安装、工作流节点和底层逻辑详解、遮罩修改重绘/Inpenting模块以及SDXL工作流手把手搭建。

由于篇幅原因,本文精选几个章节,详细版点击下方卡片免费领取

一、ComfyUI配置指南

  • 报错指南
  • 环境配置
  • 脚本更新
  • 后记

img

二、ComfyUI基础入门

  • 软件安装篇
  • 插件安装篇

img

三、 ComfyUI工作流节点/底层逻辑详解

  • ComfyUI 基础概念理解
  • Stable diffusion 工作原理
  • 工作流底层逻辑
  • 必备插件补全

img

四、ComfyUI节点技巧进阶/多模型串联

  • 节点进阶详解
  • 提词技巧精通
  • 多模型节点串联

img

五、ComfyUI遮罩修改重绘/Inpenting模块详解

  • 图像分辨率
  • 姿势

img

六、ComfyUI超实用SDXL工作流手把手搭建

  • Refined模型
  • SDXL风格化提示词
  • SDXL工作流搭建

img

由于篇幅原因,本文精选几个章节,详细版点击下方卡片免费领取

img

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值