Skip to content

Commit

Permalink
fix black quality
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-fong committed Feb 4, 2025
1 parent 4fc76aa commit 8dc6b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adapters/model_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ def merge_adapter(self, name: str):
name (str): LoRA module to merge.
"""
with ForwardContext(self, torch.empty(0, 1)):
#check if there are shared parameters between adapter weights
# check if there are shared parameters between adapter weights
if self.base_model.shared_parameters:
ForwardContext.get_context().shared_parameters = self.base_model.shared_parameters

Expand Down

0 comments on commit 8dc6b9c

Please sign in to comment.