Skip to content

Commit

Permalink
freeze (#7152)
Browse files Browse the repository at this point in the history
Signed-off-by: arendu <adithya.r@gmail.com>
  • Loading branch information
arendu authored Aug 2, 2023
1 parent e586071 commit 3293fbd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def __init__(self, cfg: DictConfig, trainer: Trainer):
super().__init__(cfg, trainer)
self.setup_complete = False
self.base_keys = self.get_all_keys()
self.freeze()
self.init_peft_modules()
self.adapter_keys = self.get_all_keys() - self.base_keys

Expand Down

0 comments on commit 3293fbd

Please sign in to comment.