Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
limiteinductive committed Jan 18, 2024
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
Expand Up @@ -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("_")):
Expand Down

0 comments on commit 64ec53b

Please sign in to comment.