Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add comment
Browse files Browse the repository at this point in the history
limiteinductive committed Jan 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 680f6ef commit 64ec53b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/refiners/foundationals/latent_diffusion/lora.py
Original file line number Diff line number Diff line change
@@ -109,6 +109,7 @@ def pad(input: str, /, padding_length: int = 2) -> str:

@staticmethod
def sort_keys(key: str, /) -> tuple[str, int]:
# out0 happens sometimes as an alias for out ; this dict might not be exhaustive
key_char_order = {"q": 1, "k": 2, "v": 3, "out": 4, "out0": 4}

for i, s in enumerate(key.split("_")):

0 comments on commit 64ec53b

Please sign in to comment.