-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Module Group Offloading #10503
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
+1,239
−4
Merged
Module Group Offloading #10503
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
d1737e3
update
a-r-r-o-w 2783669
fix
a-r-r-o-w 6a9a3e5
non_blocking; handle parameters and buffers
a-r-r-o-w c426a34
update
a-r-r-o-w d579037
Group offloading with cuda stream prefetching (#10516)
a-r-r-o-w 5f33621
Merge branch 'main' into groupwise-offloading
a-r-r-o-w a8eabd0
update
a-r-r-o-w deda9a3
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 80ac5a7
copy model hook implementation from pab
a-r-r-o-w d2a2981
update; ~very workaround based implementation but it seems to work as…
a-r-r-o-w 01c7d22
more workarounds to make it actually work
a-r-r-o-w 22aff34
cleanup
a-r-r-o-w 42bc19b
rewrite
a-r-r-o-w 8c63bf5
update
a-r-r-o-w e09e716
make sure to sync current stream before overwriting with pinned params
a-r-r-o-w bf379c1
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 0bf0baf
better check
a-r-r-o-w b850c75
update
a-r-r-o-w 6ed9c2f
remove hook implementation to not deal with merge conflict
a-r-r-o-w 13dd337
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 073d4bc
re-add hook changes
a-r-r-o-w 8ba2bda
why use more memory when less memory do trick
a-r-r-o-w b2e838f
why still use slightly more memory when less memory do trick
a-r-r-o-w f30c55f
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 5ea3d8a
optimise
a-r-r-o-w db2fd3b
add model tests
a-r-r-o-w a0160e1
add pipeline tests
a-r-r-o-w aaa9a53
update docs
a-r-r-o-w 17b2753
Merge branch 'main' into groupwise-offloading
a-r-r-o-w edf8103
add layernorm and groupnorm
a-r-r-o-w af62c93
Merge branch 'main' into groupwise-offloading
a-r-r-o-w f227e15
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 24f9273
address review comments
a-r-r-o-w 8f10d05
improve tests; add docs
a-r-r-o-w 06b411f
improve docs
a-r-r-o-w 8bd7e3b
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 904e470
Apply suggestions from code review
a-r-r-o-w 3172ed5
apply suggestions from code review
a-r-r-o-w 72aa57f
Merge branch 'main' into groupwise-offloading
a-r-r-o-w aee24bc
update tests
a-r-r-o-w db125ce
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 3f20e6b
apply suggestions from review
a-r-r-o-w 840576a
enable_group_offloading -> enable_group_offload for naming consistency
a-r-r-o-w 8804d74
raise errors if multiple offloading strategies used; add relevant tests
a-r-r-o-w 954bb7d
handle .to() when group offload applied
a-r-r-o-w ba6c4a8
Merge branch 'main' into groupwise-offloading
a-r-r-o-w da88c33
refactor some repeated code
a-r-r-o-w a872e84
remove unintentional change from merge conflict
a-r-r-o-w 6be43b8
handle .cuda()
a-r-r-o-w 274b84e
Merge branch 'main' into groupwise-offloading
a-r-r-o-w 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
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
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
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.