Skip to content

Add checks for compute_slice - #15786

Merged
GregoryComer merged 1 commit into
release/1.0from
cherry-pick-15647-by-pytorch_bot_bot_
Nov 18, 2025
Merged

GregoryComer merged 1 commit into
release/1.0from
cherry-pick-15647-by-pytorch_bot_bot_

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

Summary:
Add safety checks to compute_slice, to ensure that we:

  1. Do not read outside of the src tensor bounds
  2. Do not write outside of the output tensor bounds

Differential Revision: D86433966

Differential Revision: D86433966

Pull Request resolved: #15647

(cherry picked from commit 319789c)
@pytorch-bot

pytorch-bot Bot commented Nov 12, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15786

Note: Links to docs will display an error until the docs builds have been completed.

❌ 2 New Failures, 2 Cancelled Jobs

As of commit 1804e9b with merge base e0dda90 (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 12, 2025
@GregoryComer
GregoryComer merged commit afde35b into release/1.0 Nov 18, 2025
@GregoryComer
GregoryComer deleted the cherry-pick-15647-by-pytorch_bot_bot_ branch November 18, 2025 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants