Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ convert_consistency_to_diffusers.py
File
convert_consistency_to_diffusers.py
scripts/convert_consistency_to_diffusers.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
argparse
2
import
os
3
4
import
torch
Callers
nothing calls this directly
Calls
7
UNet2DModel
Class · 0.90
CMStochasticIterativeScheduler
Class · 0.90
ConsistencyModelPipeline
Class · 0.90
str2bool
Function · 0.85
con_pt_to_diffuser
Function · 0.85
load_state_dict
Method · 0.45
save_pretrained
Method · 0.45
Tested by
no test coverage detected