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

Update shared memory bound checking for infer requests #565

Merged
merged 9 commits into from
Apr 12, 2024

Conversation

jbkyang-nvi
Copy link
Contributor

@jbkyang-nvi jbkyang-nvi requested a review from Tabrizian April 9, 2024 02:57
@Tabrizian
Copy link
Member

Could you update the PR description to better reflect the changes?

@jbkyang-nvi jbkyang-nvi force-pushed the kyang-validate-shm-byte-size branch from c19ea39 to 9f29920 Compare April 10, 2024 00:28
@jbkyang-nvi jbkyang-nvi changed the title Update according to server changes Update shared memory bound checking for infer requests Apr 10, 2024
jbkyang-nvi added a commit to triton-inference-server/server that referenced this pull request Apr 12, 2024
…nds (#7083)

Validate that memory offset and byte size requested is not out of bounds 
of registered memory. 
Previously in #6914 we checked out of bounds offset for shared memory
requests. This PR also adds more testing to verify the block of memory 
is in fact in bounds.
Client change: triton-inference-server/client#565
@jbkyang-nvi jbkyang-nvi merged commit d8b4077 into main Apr 12, 2024
3 checks passed
@jbkyang-nvi jbkyang-nvi deleted the kyang-validate-shm-byte-size branch April 12, 2024 18:24
jbkyang-nvi added a commit to triton-inference-server/server that referenced this pull request Apr 12, 2024
…nds (#7083)

Validate that memory offset and byte size requested is not out of bounds 
of registered memory. 
Previously in #6914 we checked out of bounds offset for shared memory
requests. This PR also adds more testing to verify the block of memory 
is in fact in bounds.
Client change: triton-inference-server/client#565
mc-nv pushed a commit to triton-inference-server/server that referenced this pull request Apr 12, 2024
…nds (#7083) (#7111)

Validate that memory offset and byte size requested is not out of bounds 
of registered memory. 
Previously in #6914 we checked out of bounds offset for shared memory
requests. This PR also adds more testing to verify the block of memory 
is in fact in bounds.
Client change: triton-inference-server/client#565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants