-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Perf][V1] Fully overlap model execution #23569
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 9 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
95b1b7d
first prototype, working for BS=1
benchislett 5bd9851
wip for batched
benchislett 9a59696
fix bs > 1
benchislett a24d715
add back removed code
benchislett 51b6169
minor perf optimization
benchislett 2832e37
improvements
benchislett bd331b4
remove old prints
benchislett dfa5ca9
Merge branch 'main' into overlap-model-execution
benchislett c118525
fix precommit
benchislett 43b4f17
Merge branch 'main' into overlap-model-execution
benchislett 752ccf9
misc cleanup
benchislett 9f28326
refactor prepare_input_ids
benchislett 15d7b31
tiny refactor to reorder some ops
benchislett b351a56
Merge branch 'main' into overlap-model-execution
benchislett 5df3ae8
refactor async model runner output
benchislett efcc3ee
tiny cleanup
benchislett b4611f4
Merge branch 'main' into overlap-model-execution
benchislett 6c025bb
remove torch from multiproc_executor
benchislett bc99a79
refactor async output in multiproc executor
benchislett 2ffa123
cleanup
benchislett 7ae3166
improve async gpu model runner output structure
benchislett 75c109d
use cuda event to sync copy stream
benchislett 3f9d46b
Merge branch 'main' into overlap-model-execution
benchislett ff5bc7a
minor refactor for readability
benchislett 6a44032
more minor refactor
benchislett b411981
Merge branch 'main' into overlap-model-execution
benchislett 0d23f0e
refactor prepare_input_ids for fewer cpu ops
benchislett 54feea9
restructure multiproc output handling to isolate effects on non-async…
benchislett 4bddae2
Merge branch 'main' into overlap-model-execution
benchislett 70f4921
Merge branch 'main' into overlap-model-execution
benchislett 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
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.