Skip to content

Commit

Permalink
freeze (NVIDIA#7152)
Browse files Browse the repository at this point in the history
Signed-off-by: arendu <adithya.r@gmail.com>
Signed-off-by: dorotat <dorotat@nvidia.com>
  • Loading branch information
arendu authored and dorotat-nv committed Aug 24, 2023
1 parent 9541c22 commit 90acab5
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 90acab5

Please sign in to comment.