huggingface / huggingface/candle

[Examples] SDXL should also use Euler Ancestral

Open
#1,508 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
21k
Forks
1.8k
Avg merge
16h 42m
Merged PRs (30d)
25

Description

The example on Stable Diffusion uses DDIM for SDXL. It should use Euler Ancestral as that is the default scheduler for it: https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/scheduler/scheduler_config.json#L2.

For v1.5, it should be PNDM: https://huggingface.co/runwayml/stable-diffusion-v1-5/blob/main/scheduler/scheduler_config.json#L2.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the Stable Diffusion example in the Candle repository and compare its scheduler choices with the linked SDXL and v1.5 scheduler_config.json files. Update the example so each model uses the stated default scheduler, then verify the example's behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.