Comments (1)
You won't get 1:1 between comfyui and diffusers, since they handle things slightly differently, but it should just be:
from diffusers import DDPMScheduler
pipe = blahblahblah(
"some/model/here",
torch_dtype=torch.float16,
)
and then assuming you name your pipeline "pipe"
pipe.scheduler = DDPMScheduler.from_config(pipe.scheduler.config, use_karras_sigmas=True)
EDIT: Maybe it works? Not sure, but it worked when I did it with SD3, even though it just spit out ugly noise images, they were different. But I just tried it with an SDXL model and it gave the same image twice, maybe the model I used doesn't have a baked in config file or something? Both were using from_single_file. Anyways, it should at least get you on the right track. I know that use_karras_sigmas=True
works with all the major schedulers though like dpm++.
from comfyui.
Related Issues (20)
- Support ControlNet for Flux HOT 1
- Both Flux Schnell and Flux Dev crashes ComfyUI HOT 34
- Support Flux DoRA from SimpleTuner HOT 3
- my cpu is max
- [Flux] Color noise instead of picture HOT 29
- Run on CPU mode,but CPU useage is verlow.Not sure it is a bug or what. HOT 2
- Initial generation takes an extremely long time (approx. 40 minutes) HOT 2
- comfyUI can conrtol+A all select nodes, and the author can add the function of reversal, which will be used in some aspects HOT 1
- Scrollable Main Menu
- AttributeError: 'ModelPatcher' object has no attribute 'current_device' HOT 1
- Flux Lora from SimpleTuner training not working with ComfyUI HOT 8
- Flux.1 Dev, memory issue HOT 111
- Optional method to visualize and replay the denoising process step by step
- Flux image2image works bad in comfy bc of their noise schedule implementation. HOT 1
- AttributeError: 'ModelPatcher' object has no attribute 'current_device' HOT 4
- What's the relationship between ComfyUI_frontend and ComfyUI HOT 1
- embedding not work HOT 2
- CheckpointSave node is broken after the last update HOT 2
- Flux LoRA getting loaded only partially on a low VRAM GPU after commit 08f92d55e934c19f753b47ec4c51760c68bbe2b7 HOT 10
- After installing the ultralytics library, GPU usage decreased by half and Ksample time doubled HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui.