executorch
executorch copied to clipboard
Add checks for compute_slice
Summary: Add safety checks to compute_slice, to ensure that we:
- Do not read outside of the src tensor bounds
- Do not write outside of the output tensor bounds
Differential Revision: D86433966
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15786
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
:x: 2 New Failures, 2 Cancelled Jobs
As of commit 1804e9b32640950aa9764bed190ca3be66283338 with merge base e0dda9059d082537cee36be6c5e4fe3b18c880c0 ():
NEW FAILURES - The following jobs have failed:
- pull / unittest / linux / linux-job (gh)
backends/xnnpack/test/recipes/test_xnnpack_recipes.py::TestXnnpackRecipes::test_int8_static_quant_recipe - pull / unittest-editable / linux / linux-job (gh)
backends/xnnpack/test/recipes/test_xnnpack_recipes.py::TestXnnpackRecipes::test_int8_static_quant_recipe
CANCELLED JOBS - The following jobs were cancelled. Please retry:
- pull / unittest / macos / macos-job (gh)
##[error]The operation was canceled. - pull / unittest-editable / macos / macos-job (gh)
##[error]The operation was canceled.
This comment was automatically generated by Dr. CI and updates every 15 minutes.