-
Notifications
You must be signed in to change notification settings - Fork 6.4k
[LoRA] allow loras to be loaded with low_cpu_mem_usage. #9510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 25 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
d66b858
allow loras to be loaded with low_cpu_mem_usage.
sayakpaul 979b949
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul 019b257
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul 9a22fc8
add flux support but note https://github.com/huggingface/diffusers/pu…
sayakpaul c1e987a
resolve conflicts.
sayakpaul 109949c
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul b87eec8
low_cpu_mem_usage.
sayakpaul d4a1fbf
fix-copies
sayakpaul 5c831cc
fix-copies again
sayakpaul 1131e3d
tests
sayakpaul aa81605
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul 3c1acf0
_LOW_CPU_MEM_USAGE_DEFAULT_LORA
sayakpaul c45c664
_peft_version default.
sayakpaul 23fe79e
version checks.
sayakpaul b57bc3a
version check.
sayakpaul c18e2eb
version check.
sayakpaul 2e13836
version check.
sayakpaul bf38333
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul efa33e3
require peft 0.13.1.
sayakpaul 83701de
explicitly specify low_cpu_mem_usage=False.
sayakpaul e88fb06
docs.
sayakpaul 28007f4
transformers version 4.45.2.
sayakpaul ba5576c
update
sayakpaul 48641dc
fix
sayakpaul 0ab1d44
empty
sayakpaul ca5a1d5
better name initialize_dummy_state_dict.
sayakpaul 1c45329
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul 95534e6
doc todos.
sayakpaul cf4917c
Apply suggestions from code review
sayakpaul 8f5b0e1
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul 8ffe3be
style
sayakpaul a4eaa42
fix-copies
sayakpaul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.