MCPcopy 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"""
2This script demonstrates how to extract a LoRA checkpoint from a fully finetuned model with the CogVideoX model.
3
4To make it work for other models:

Callers

nothing calls this directly

Calls 2

parse_argsFunction · 0.70
mainFunction · 0.70

Tested by

no test coverage detected