Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Mar 18, 2024

PR #10626: [XLA:CPU][oneDNN] Add a BF16 pattern for Softmax

Imported from GitHub PR openxla/xla#10626

This PR:

  1. Adds a pattern for BF16 softmax.
  2. Adds a test to verify rewrite and execution result.
  3. Skips BF16 matmul / softmax tests on machines that do not support BF16
    Copybara import of the project:

--
f0370a18eed1f2b47d8dc15470b970029726b0e8 by Akhil Goel akhil.goel@intel.com:

Add Softmax BF16 pattern and test

--
62af424e4e74ddb7f64584aa3b05be761db956dc by Akhil Goel akhil.goel@intel.com:

Declare convert_instr identifier

--
d030100ea87923582aa64cdcf0fac1464051288c by Akhil Goel akhil.goel@intel.com:

Fix formatting

Merging this change closes #10626

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#10626 from Intel-tensorflow:akhil/bf16_softmax d030100ea87923582aa64cdcf0fac1464051288c

@google-cla
Copy link

google-cla bot commented Mar 18, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service bot force-pushed the test_616787847 branch 2 times, most recently from 1635d3e to 25e34a7 Compare March 20, 2024 11:52
Imported from GitHub PR openxla/xla#10626

This PR:

1. Adds a pattern for BF16 softmax.
2. Adds a test to verify rewrite and execution result.
3. Skips BF16 matmul / softmax tests on machines that do not support BF16
Copybara import of the project:

--
f0370a18eed1f2b47d8dc15470b970029726b0e8 by Akhil Goel <akhil.goel@intel.com>:

Add Softmax BF16 pattern and test

--
62af424e4e74ddb7f64584aa3b05be761db956dc by Akhil Goel <akhil.goel@intel.com>:

Declare convert_instr identifier

--
d030100ea87923582aa64cdcf0fac1464051288c by Akhil Goel <akhil.goel@intel.com>:

Fix formatting

Merging this change closes #10626

PiperOrigin-RevId: 617477998
@copybara-service copybara-service bot merged commit cecebc3 into master Mar 20, 2024
@copybara-service copybara-service bot deleted the test_616787847 branch March 20, 2024 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant