-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Correctly pass low_cpu_mem_usage argument (#2253)
There was a bug that when creating a PEFT model with the task_type argument, the low_cpu_mem_usage argument was not passed along. This is now fixed and unit tests for this were added. This is a very niche bug because there is typically no need to pass low_cpu_mem_usage=True when calling get_peft_model. Moreover, as the option for this was only added recently (#2142) and is unreleased, few if any users should be affected by the bug.
- Loading branch information
1 parent
3f9ce55
commit c057589
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters