Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
noyoshi committed Apr 3, 2024
1 parent 988666e commit de8f9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lorax_server/adapters/weights.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def ranks(self) -> Set[int]:
return set(
rank_data.rank
for layer_data in self.data.values()
for rank_data in layer_data.get(LORA, []).rank_data.values() if LORA in layer_data
for rank_data in layer_data.get(LORA).rank_data.values() if LORA in layer_data
)

@property
Expand Down

0 comments on commit de8f9b2

Please sign in to comment.