Skip to content

Validate the memory requested for the infer request is not out of bounds - #7111

Merged
mc-nv merged 1 commit into
r24.04from
kyang-validate-shm-byte-size-r24.04
Apr 12, 2024
Merged

Validate the memory requested for the infer request is not out of bounds#7111
mc-nv merged 1 commit into
r24.04from
kyang-validate-shm-byte-size-r24.04

Conversation

@jbkyang-nvi

@jbkyang-nvi jbkyang-nvi commented Apr 12, 2024

Copy link
Copy Markdown
Contributor

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
Cherry pick of: #7083

…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 requested review from Tabrizian and mc-nv April 12, 2024 19:00
@mc-nv

mc-nv commented Apr 12, 2024

Copy link
Copy Markdown
Contributor

@jbkyang-nvi may I know why commit in this PR doesn't match mentioned one #6914
60071e1

@jbkyang-nvi

Copy link
Copy Markdown
Contributor Author

@jbkyang-nvi may I know why commit in this PR doesn't match mentioned one #6914 60071e1

This is a PR doing a different thing. @mc-nv

@mc-nv
mc-nv merged commit 5ff6935 into r24.04 Apr 12, 2024
@mc-nv
mc-nv deleted the kyang-validate-shm-byte-size-r24.04 branch April 12, 2024 20:02
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.

3 participants