Code
Hub
Trending
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ convert_stable_cascade.py
File
convert_stable_cascade.py
scripts/convert_stable_cascade.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Run this script to convert the Stable Cascade model weights to a diffusers pipeline.
2
import
argparse
3
from
contextlib
import
nullcontext
4
Callers
nothing calls this directly
Calls
13
is_accelerate_available
Function · 0.90
DDPMWuerstchenScheduler
Class · 0.90
convert_stable_cascade_unet_single_file_to_diffusers
Function · 0.90
StableCascadeUNet
Class · 0.90
load_model_dict_into_meta
Function · 0.90
StableCascadePriorPipeline
Class · 0.90
StableCascadeDecoderPipeline
Class · 0.90
StableCascadeCombinedPipeline
Class · 0.90
from_pretrained
Method · 0.45
load
Method · 0.45
load_state_dict
Method · 0.45
save_pretrained
Method · 0.45
Tested by
no test coverage detected