Skip to content

Commit cedcab1

Browse files
committed
add vae pt. 1
1 parent 9df2e7e commit cedcab1

File tree

3 files changed

+781
-29
lines changed

3 files changed

+781
-29
lines changed

scripts/convert_cosmos_to_diffusers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ def rename_transformer_blocks_(key: str, state_dict: Dict[str, Any]):
6262
"pos_embedder.seq": remove_keys_,
6363
}
6464

65-
VAE_KEYS_RENAME_DICT = {}
65+
VAE_KEYS_RENAME_DICT = {
66+
"conv3d": "conv",
67+
}
6668

6769
VAE_SPECIAL_KEYS_REMAP = {}
6870

0 commit comments

Comments
 (0)