Repository navigation
Do not copy beyond out tensor bounds - #15648
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15648
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 76104b3 with merge base 3dbc15b ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Differential Revision: D86436435
18cf8e6 to
b6ba8eb
Compare
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Differential Revision: D86436435
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Differential Revision: D86436435
b6ba8eb to
4f130cd
Compare
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Reviewed By: JacobSzwejbka Differential Revision: D86436435
4f130cd to
06c0f0c
Compare
Summary: `set_all_to_value(out_data, out_step_len, value)` loops over the padding and copies a row at a time. Add some checks to make sure we do not exceed the out tensor (out_data) size when copying. Reviewed By: JacobSzwejbka Differential Revision: D86436435
06c0f0c to
76104b3
Compare
|
@pytorchbot cherry-pick --onto release/1.0 -c critical |
Cherry picking #15648The cherry pick PR is at #15717 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated: Details for Dev Infra teamRaised by workflow job |
Differential Revision: D86436435 Pull Request resolved: pytorch#15648
Summary:
set_all_to_value(out_data, out_step_len, value)loops over the padding and copies a row at a time.Add some checks to make sure we do not exceed the out tensor (out_data) size when copying.
Differential Revision: D86436435