KEMBAR78
Add Half support for softmax and log_softmax on CPU by CaoE · Pull Request #103315 · pytorch/pytorch · GitHub
Skip to content

Conversation

@CaoE
Copy link
Collaborator

@CaoE CaoE commented Jun 9, 2023

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 9, 2023

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 7cf7caf with merge base 2aaa7e5 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

@pytorch-bot pytorch-bot bot added the release notes: nn release notes category label Jun 9, 2023
@github-actions github-actions bot added the module: cpu CPU specific problem (e.g., perf, algorithm) label Jun 9, 2023
test/test_nn.py Outdated
Copy link
Collaborator

Choose a reason for hiding this comment

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

why move it to a different place? It makes reviewing harder. :-)

Copy link
Collaborator Author

@CaoE CaoE Jun 19, 2023

Choose a reason for hiding this comment

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

Because it can't use @dtypes in the original place.

@CaoE CaoE force-pushed the fp16_softmax branch 2 times, most recently from 0853fcb to 486b4b5 Compare June 20, 2023 05:10
@CaoE CaoE force-pushed the fp16_softmax branch 4 times, most recently from 95ec717 to 26ec8a7 Compare June 20, 2023 06:26
@CaoE CaoE marked this pull request as ready for review June 20, 2023 13:26
@CaoE CaoE requested review from mruberry and ngimel as code owners June 20, 2023 13:26
@CaoE
Copy link
Collaborator Author

CaoE commented Sep 12, 2023

@mruberry Could you please review this PR ?

@CaoE
Copy link
Collaborator Author

CaoE commented Sep 25, 2023

@mikaylagawarecki Could you please review this PR ? Thanks.

Copy link
Contributor

@mikaylagawarecki mikaylagawarecki left a comment

Choose a reason for hiding this comment

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

Looks ok to me other than a question about half_to_float

@CaoE CaoE force-pushed the fp16_softmax branch 3 times, most recently from 1cdc8ce to 33184a6 Compare September 28, 2023 00:52
@CaoE CaoE added ciflow/trunk Trigger trunk jobs on your pull request ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR labels Sep 28, 2023
@CaoE
Copy link
Collaborator Author

CaoE commented Oct 7, 2023

@pytorchbot merge

@CaoE CaoE force-pushed the fp16_softmax branch 13 times, most recently from 6ebbe39 to 0801f2c Compare October 24, 2023 13:25
@CaoE CaoE force-pushed the fp16_softmax branch 2 times, most recently from e2e7d3c to f93f49d Compare October 26, 2023 01:46
Co-authored-by: mikaylagawarecki <mikaylagawarecki@gmail.com>
@CaoE
Copy link
Collaborator Author

CaoE commented Oct 26, 2023

@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

xuhancn pushed a commit to xuhancn/pytorch that referenced this pull request Nov 7, 2023
Add Half support for softmax and log_softmax on CPU.
Note: This introduces a correctness issue with MPS pytorch#111416 and pytorch#111479.

Pull Request resolved: pytorch#103315
Approved by: https://github.com/jgong5, https://github.com/mikaylagawarecki, https://github.com/malfet
Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
Add Half support for softmax and log_softmax on CPU.
Note: This introduces a correctness issue with MPS pytorch#111416 and pytorch#111479.

Pull Request resolved: pytorch#103315
Approved by: https://github.com/jgong5, https://github.com/mikaylagawarecki, https://github.com/malfet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/mps Run MPS tests (subset of trunk) ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR ciflow/trunk Trigger trunk jobs on your pull request Merged module: cpu CPU specific problem (e.g., perf, algorithm) module: inductor open source release notes: nn release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants