Skip to content
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

relax tolerances for all unary float ops #9585

Open
wants to merge 6 commits into
base: gh/swolchok/386/head
Choose a base branch
from

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Mar 25, 2025

We were requiring ourselves to compute at double-precision, but ATen actually converts non-floating-point types to float by default, not double. Use the ATen tolerances everywhere.

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Mar 25, 2025

🔗 Helpful Links

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

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

❌ 2 Cancelled Jobs

As of commit 61b2a26 with merge base c43d5ad (image):

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

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

[ghstack-poisoned]
@swolchok swolchok changed the base branch from gh/swolchok/395/head to gh/swolchok/386/head March 25, 2025 19:48
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Mar 26, 2025
We were requiring ourselves to compute at double-precision, but ATen actually converts non-floating-point types to float by default, not double. Use the ATen tolerances everywhere

ghstack-source-id: 527e327ac1fa9f0387cbeb88ed9c27fe81642fbd
ghstack-comment-id: 2751961338
Pull Request resolved: #9585
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Mar 26, 2025
We were requiring ourselves to compute at double-precision, but ATen actually converts non-floating-point types to float by default, not double. Use the ATen tolerances everywhere

ghstack-source-id: dd22db8e7a145d8ec378757a4699b9195f1945f6
ghstack-comment-id: 2751961338
Pull Request resolved: #9585
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Mar 26, 2025
We were requiring ourselves to compute at double-precision, but ATen actually converts non-floating-point types to float by default, not double. Use the ATen tolerances everywhere

ghstack-source-id: aee3ae32901abb9849c9ed78c5134fde0226b663
ghstack-comment-id: 2751961338
Pull Request resolved: #9585
[ghstack-poisoned]
swolchok added a commit that referenced this pull request Mar 26, 2025
We were requiring ourselves to compute at double-precision, but ATen actually converts non-floating-point types to float by default, not double. Use the ATen tolerances everywhere

ghstack-source-id: 616326b8931d4b0193a3389b001b4b5afd29be12
ghstack-comment-id: 2751961338
Pull Request resolved: #9585
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.

3 participants