Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ convert_ldm_original_checkpoint_to_diffusers.py
File
convert_ldm_original_checkpoint_to_diffusers.py
scripts/convert_ldm_original_checkpoint_to_diffusers.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# coding=utf-8
2
# Copyright 2025 The HuggingFace Inc. team.
3
#
4
# Licensed under the Apache License, Version 2.0 (the "License");
Callers
nothing calls this directly
Calls
9
UNet2DModel
Class · 0.90
LDMPipeline
Class · 0.90
convert_ldm_checkpoint
Function · 0.85
split
Method · 0.80
load
Method · 0.45
load_state_dict
Method · 0.45
from_config
Method · 0.45
from_pretrained
Method · 0.45
save_pretrained
Method · 0.45
Tested by
no test coverage detected