-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
[ROCm][P/D][MORI][BugFix] Add transfer_id for moriio_connector so moriio_connector to restore P/D functionality #34907
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 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
145f830
works now
rasmith 184a955
remove debugging
rasmith 235ab29
pre-commit
rasmith 7377567
a little cleanup
rasmith d61e404
check that ids in maps and update logger messages
rasmith ea91146
remove unused function
rasmith e724d0b
Merge branch 'main' into ransmith_moriio
rasmith 55a99d0
Merge branch 'main' into ransmith_moriio
rasmith 17f977d
remove print statement
rasmith 0d4d80b
Merge branch 'ransmith_moriio' of github.com:rasmith/vllm into ransmi…
rasmith 25cd226
remove blank line
rasmith 8172f88
add map/unmap function
rasmith e8990de
Merge branch 'main' into ransmith_moriio
rasmith 396e126
Merge branch 'main' into ransmith_moriio
rasmith 75e20df
Merge branch 'main' into ransmith_moriio
rasmith 6bf255e
Merge branch 'main' into ransmith_moriio
rasmith e8e80f9
Merge branch 'main' into ransmith_moriio
rasmith 06affcd
Merge branch 'main' into ransmith_moriio
rasmith ebf8d07
fix readthedocs error
rasmith 935f539
request_id -> transfer_id
rasmith 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
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.
Thanks @rasmith a lot! Would it be better to define two mapping functions here?
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.
Depending on the function name, this could save some horizontal space, but what other benefit could be had?
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.
For versatility and maintainability, if it's only used within the class, I think using a dictionary is also fine.
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.
Not sure what you meant actually, but I added a
mapandunmapfunctions forrequest-id-transfer-idpairs. If you mean to swap the dictionaries for functions, its also possible to implement a class with__get_item__and use that instead. It should be pretty easy, so if the time arises it shouldn't be too hard, but for the time being I don't see a need for it.