Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ extract_lora_from_model.py
File
extract_lora_from_model.py
scripts/extract_lora_from_model.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
This script demonstrates how to extract a LoRA checkpoint
from
a fully finetuned model
with
the CogVideoX model.
3
4
To make it work
for
other models:
Callers
nothing calls this directly
Calls
2
parse_args
Function · 0.70
main
Function · 0.70
Tested by
no test coverage detected