Skip to content

Conversation

@leslie-fang-intel
Copy link
Collaborator

@leslie-fang-intel leslie-fang-intel commented Dec 9, 2024

Stack from ghstack (oldest at bottom):

Summary
Fix #142345. Previously, we use asinh(x) = log(x + sqrt(1 + x**2)) to calculate the result of asinh, the issue happens when input with -10000.1, which makes x + sqrt(1 + x**2) close to 0 and log(0) is invalid. We use the sleef implementation in this PR to fix this issue.

Test Plan

python -u -m pytest -s -v test/inductor/test_cpu_repro.py -k test_asinh_with_corner_inputs

cc @jgong5 @mingfeima @XiaobingSuper @sanchitintel @ashokei @jingxu10 @voznesenskym @penguinwu @EikanWang @Guobing-Chen @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang @aakhundov

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 9, 2024

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit cb7679f with merge base ceb664a (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added module: cpu CPU specific problem (e.g., perf, algorithm) module: inductor labels Dec 9, 2024
leslie-fang-intel added a commit that referenced this pull request Dec 9, 2024
@sanchitintel sanchitintel added the topic: not user facing topic category label Dec 9, 2024
@leslie-fang-intel leslie-fang-intel added the ciflow/trunk Trigger trunk jobs on your pull request label Dec 9, 2024
@leslie-fang-intel
Copy link
Collaborator Author

@pytorchbot merge

@pytorchmergebot
Copy link
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

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@leslie-fang-intel
Copy link
Collaborator Author

@pytorchbot merge

@pytorchmergebot
Copy link
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

@jeanschmidt
Copy link
Contributor

@pytorchbot revert -m "seems to have broken macos tests" -c nosignal

example of a broken ci job https://github.com/pytorch/pytorch/actions/runs/12290557650/job/34298356770

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a revert job. Check the current status here.
Questions? Feedback? Please reach out to the PyTorch DevX Team

pytorchmergebot added a commit that referenced this pull request Dec 12, 2024
@pytorchmergebot
Copy link
Collaborator

@leslie-fang-intel your PR has been successfully reverted.

@pytorchmergebot pytorchmergebot added Reverted ci-no-td Do not run TD on this PR labels Dec 12, 2024
@malfet
Copy link
Contributor

malfet commented Dec 12, 2024

@leslie-fang-intel please rebase your PR and figure out the failures

[ghstack-poisoned]
@leslie-fang-intel
Copy link
Collaborator Author

From the error msg: https://github.com/pytorch/pytorch/actions/runs/12290557650/job/34298356770, probably due to I didn't add the corresponding implementation for MacOS. I have rebased this PR and adding corresponding implementation for other platforms. Check the CI now.

[ghstack-poisoned]
leslie-fang-intel added a commit that referenced this pull request Dec 13, 2024
@leslie-fang-intel
Copy link
Collaborator Author

Thanks @malfet, the macos related testing passes. I am going to re-land this PR.

@leslie-fang-intel
Copy link
Collaborator Author

@pytorchbot merge

@pytorchmergebot
Copy link
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

@github-actions github-actions bot deleted the gh/leslie-fang-intel/168/head branch January 14, 2025 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td Do not run TD on this PR ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: cpu CPU specific problem (e.g., perf, algorithm) module: inductor open source Reverted topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants