Skip to content

Add function for input preprocessing in numerical comparator #11739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025

Conversation

Juntian777
Copy link
Contributor

Summary: This PR adds the process_input_to_tensor function to convert inputs to torch.Tensor on CPU with torch.float32 dtype for preprocessing inputs used later in the numerical comparator.

Differential Revision: D76745314

@Juntian777 Juntian777 requested a review from Gasoonjia as a code owner June 16, 2025 21:41
Copy link

pytorch-bot bot commented Jun 16, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Cancelled Job

As of commit 02d3ac3 with merge base 9eb8d01 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOB - The following job was cancelled. Please retry:

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

@facebook-github-bot facebook-github-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 Jun 16, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76745314

@Juntian777
Copy link
Contributor Author

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label Jun 16, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76745314

Juntian777 added a commit to Juntian777/executorch that referenced this pull request Jun 16, 2025
…#11739)

Summary:
Pull Request resolved: pytorch#11739

This PR adds the process_input_to_tensor function to convert inputs to torch.Tensor on CPU with torch.float32 dtype for preprocessing inputs used later in the numerical comparator.

Differential Revision: D76745314
…#11739)

Summary:
Pull Request resolved: pytorch#11739

This PR adds the process_input_to_tensor function to convert inputs to torch.Tensor on CPU with torch.float32 dtype for preprocessing inputs used later in the numerical comparator.

Reviewed By: GregoryComer

Differential Revision: D76745314
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D76745314

@facebook-github-bot facebook-github-bot merged commit 1309849 into pytorch:main Jun 17, 2025
98 of 102 checks passed
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. fb-exported release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants