-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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] device_map fix when loading LoRAs #9827
Open
sayakpaul
wants to merge
33
commits into
main
Choose a base branch
from
lora-device-map
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
dc1aee2
fix: lora loading when using with a device_mapped model.
sayakpaul 949a929
better attibutung
sayakpaul 64b3ad1
empty
sayakpaul 6d03c12
Merge branch 'main' into lora-device-map
sayakpaul d4bd94b
Merge branch 'main' into lora-device-map
sayakpaul 5479198
Apply suggestions from code review
sayakpaul 2846549
Merge branch 'main' into lora-device-map
sayakpaul 1ed0eb0
Merge branch 'main' into lora-device-map
sayakpaul d2d59c3
Merge branch 'main' into lora-device-map
sayakpaul 5f3cae2
Merge branch 'main' into lora-device-map
sayakpaul 8f670e2
Merge branch 'main' into lora-device-map
sayakpaul e42ec19
Merge branch 'main' into lora-device-map
sayakpaul f63b04c
Merge branch 'main' into lora-device-map
sayakpaul eefda54
Merge branch 'main' into lora-device-map
sayakpaul ea727a3
minors
sayakpaul 71989e3
better error messages.
sayakpaul f62afac
fix-copies
sayakpaul 2334f78
add: tests, docs.
sayakpaul 5ea1173
add hardware note.
sayakpaul f64751e
Merge branch 'main' into lora-device-map
sayakpaul c0dee87
quality
sayakpaul 4b6124a
Merge branch 'main' into lora-device-map
sayakpaul fe2cca8
Update docs/source/en/training/distributed_inference.md
sayakpaul 2db5d48
Merge branch 'main' into lora-device-map
sayakpaul 61903c8
Merge branch 'main' into lora-device-map
sayakpaul 03377b7
fixes
sayakpaul 0bd40cb
skip properly.
sayakpaul a61b754
fixes
sayakpaul ccd8d2a
resolve conflicts.
sayakpaul 4d7986a
Merge branch 'main' into lora-device-map
sayakpaul 569f99e
fix
sayakpaul 3341739
fixes
sayakpaul d8336d6
Merge branch 'main' into lora-device-map
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 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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the most important bit to take note of. And I have added tests for it too (
test_sharded_components_can_be_device_placed()
).