Skip to content
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

[LoRA] allow loras to be loaded with low_cpu_mem_usage. #9510

Merged
merged 32 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from 18 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 Sep 24, 2024
979b949
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul Sep 25, 2024
019b257
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul Sep 25, 2024
9a22fc8
add flux support but note https://github.com/huggingface/diffusers/pu…
sayakpaul Sep 27, 2024
c1e987a
resolve conflicts.
sayakpaul Sep 28, 2024
109949c
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul Oct 7, 2024
b87eec8
low_cpu_mem_usage.
sayakpaul Oct 7, 2024
d4a1fbf
fix-copies
sayakpaul Oct 7, 2024
5c831cc
fix-copies again
sayakpaul Oct 7, 2024
1131e3d
tests
sayakpaul Oct 7, 2024
aa81605
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul Oct 8, 2024
3c1acf0
_LOW_CPU_MEM_USAGE_DEFAULT_LORA
sayakpaul Oct 8, 2024
c45c664
_peft_version default.
sayakpaul Oct 8, 2024
23fe79e
version checks.
sayakpaul Oct 8, 2024
b57bc3a
version check.
sayakpaul Oct 8, 2024
c18e2eb
version check.
sayakpaul Oct 8, 2024
2e13836
version check.
sayakpaul Oct 8, 2024
bf38333
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul Oct 8, 2024
efa33e3
require peft 0.13.1.
sayakpaul Oct 8, 2024
83701de
explicitly specify low_cpu_mem_usage=False.
sayakpaul Oct 8, 2024
e88fb06
docs.
sayakpaul Oct 8, 2024
28007f4
transformers version 4.45.2.
sayakpaul Oct 8, 2024
ba5576c
update
sayakpaul Oct 8, 2024
48641dc
fix
sayakpaul Oct 8, 2024
0ab1d44
empty
sayakpaul Oct 8, 2024
ca5a1d5
better name initialize_dummy_state_dict.
sayakpaul Oct 8, 2024
1c45329
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul Oct 8, 2024
95534e6
doc todos.
sayakpaul Oct 8, 2024
cf4917c
Apply suggestions from code review
sayakpaul Oct 9, 2024
8f5b0e1
Merge branch 'main' into low-cpu-mem-usage-lora
sayakpaul Oct 9, 2024
8ffe3be
style
sayakpaul Oct 9, 2024
a4eaa42
fix-copies
sayakpaul Oct 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading