onnxruntime
Add validation of onnx::TensorProto data size before allocation
#27547
Merged

Add validation of onnx::TensorProto data size before allocation #27547

adrianlizarraga
adrianlizarraga Add validation of onnx::TensorProto data size before allocation
9c357d25
adrianlizarraga adrianlizarraga requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 8 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-03-04
adrianlizarraga Compute TensorShape once and reuse for both byte-size and element-cou…
a337889f
adrianlizarraga Update comment for kMaxEmbeddedInitializerSizeInBytes
57108320
adrianlizarraga Add size validation for external data files in ReadExternalDataForTensor
08c13bcf
adrianlizarraga adrianlizarraga requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 8 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-03-04
adrianlizarraga no redundant tensor_shape.Size() calls
a43ce4b5
adrianlizarraga adrianlizarraga requested a review from copilot-pull-request-reviewer copilot-pull-request-reviewer 8 days ago
copilot-pull-request-reviewer
copilot-pull-request-reviewer commented on 2026-03-04
adrianlizarraga clean up
e423f5c3
adrianlizarraga adrianlizarraga requested a review from edgchen1 edgchen1 8 days ago
adrianlizarraga adrianlizarraga marked this pull request as ready for review 8 days ago
adrianlizarraga adrianlizarraga requested a review from yuslepukhin yuslepukhin 8 days ago
adrianlizarraga adrianlizarraga requested a review from tianleiwu tianleiwu 8 days ago
edgchen1
edgchen1 commented on 2026-03-04
tianleiwu
tianleiwu dismissed these changes on 2026-03-04
adrianlizarraga Merge branch 'main' into adrianl/EmbeddedInitializers_OoM
e5e4b0cb
adrianlizarraga Address review comments
598e9a5b
adrianlizarraga adrianlizarraga dismissed their stale review via 598e9a5b 7 days ago
edgchen1
edgchen1 approved these changes on 2026-03-05
tianleiwu
tianleiwu approved these changes on 2026-03-05
adrianlizarraga adrianlizarraga merged 4c40a4ec into main 7 days ago
adrianlizarraga adrianlizarraga deleted the adrianl/EmbeddedInitializers_OoM branch 7 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone