Skip to content

VSX: Fix vectorized abs function for complex tensors#116859

Closed
Flamefire wants to merge 1 commit intopytorch:mainfrom
Flamefire:fix-vsx-abs
Closed

VSX: Fix vectorized abs function for complex tensors#116859
Flamefire wants to merge 1 commit intopytorch:mainfrom
Flamefire:fix-vsx-abs

Conversation

@Flamefire
Copy link
Copy Markdown
Collaborator

@Flamefire Flamefire commented Jan 5, 2024

Use a similar approach with Sleef as in #99550
to improve the precision and extremal value handling of the abs function for complex tensors.

This fixes

  • test_reference_numerics_extremal__refs_abs_cpu_float64
  • test_reference_numerics_extremal__refs_abs_cpu_float128

which failed on PPC.

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Jan 5, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (4 Unrelated Failures)

As of commit 2901288 with merge base f692fc9 (image):

UNSTABLE - The following jobs failed but were likely due to flakiness present on trunk and has been marked as unstable:

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

Copy link
Copy Markdown
Collaborator

@lezcano lezcano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix!

@lezcano
Copy link
Copy Markdown
Collaborator

lezcano commented Jan 5, 2024

@pytorchbot merge -r

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 5, 2024
@pytorchmergebot
Copy link
Copy Markdown
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

Use a similar approach with Sleef as in pytorch#99550
to improve the precision and extremal value handling of the `abs`
function for complex tensors.

This fixes
- test_reference_numerics_extremal__refs_abs_cpu_float64
- test_reference_numerics_extremal__refs_abs_cpu_float128

which failed on PPC.
@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Successfully rebased fix-vsx-abs onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout fix-vsx-abs && git pull --rebase)

@pytorchmergebot
Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@Flamefire Flamefire deleted the fix-vsx-abs branch January 8, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged module: cpu CPU specific problem (e.g., perf, algorithm) open source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants