Skip to content

Added bf16 support for Sparse_Xent_op. - #44894

Merged
copybara-service[bot] merged 12 commits into
tensorflow:masterfrom
Intel-tensorflow:vishakh1/new_bf16_sparse_xent
Dec 4, 2020
Merged

copybara-service[bot] merged 12 commits into
tensorflow:masterfrom
Intel-tensorflow:vishakh1/new_bf16_sparse_xent

Conversation

@vishakha-nervana

Copy link
Copy Markdown
Contributor

Added bf16 support for Sparse_Xent_op.

@google-ml-butler google-ml-butler Bot added the size:M CL Change Size: Medium label Nov 16, 2020
@google-cla google-cla Bot added the cla: yes label Nov 16, 2020
@vishakha-nervana

Copy link
Copy Markdown
Contributor Author

@penpornk Hello Penporn, This is the updated PR of #43920.
I will close the other PR, please review this one instead. Thanks!!!

@mihaimaruseac mihaimaruseac changed the title Vishakh1/new bf16 sparse xent Added bf16 support for Sparse_Xent_op. Nov 16, 2020
@penpornk
penpornk self-requested a review November 16, 2020 20:33

@penpornk penpornk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you very much again for the PR! And sorry for all the inconveniences! :)

@google-ml-butler google-ml-butler Bot added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Nov 16, 2020
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Nov 16, 2020
@gbaned gbaned self-assigned this Nov 17, 2020
@gbaned gbaned added comp:core issues related to core part of tensorflow ready to pull PR ready for merge process and removed ready to pull PR ready for merge process labels Nov 17, 2020
@copybara-service
copybara-service Bot merged commit 11659c3 into tensorflow:master Dec 4, 2020
copybara-service Bot pushed a commit that referenced this pull request Dec 8, 2020
…t16 when expecting float).

PiperOrigin-RevId: 346214899
Change-Id: I291592f14a7e3b087e1c26d29d7ecdaef4bc2fed
copybara-service Bot pushed a commit that referenced this pull request Jul 21, 2026
…ith oneCCL

Imported from GitHub PR openxla/xla#44894

JAX build statically links the oneccl lib into the oneapi pjrt plugin. This PR fixes missing symbol errors in the current oneCCL build.
1)  Set alwayslink=True for oneccl libs to make sure all objects files are linked.
2)  A patch is applied to oneCCL so the onecclPluginCall is correctly linked from the static library instead of looking up the symbol inside an .so file.

🚀 Kind of Contribution
🐛 Bug Fix
Copybara import of the project:

--
7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac by nhatle <[email protected]>:

Fix segfault when running JAX programs with oneCCL

Merging this change closes #44894

Reverts 1b96579

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#44894 from Intel-tensorflow:nhatle/fix_jax_segfault_with_oneccl 7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac
PiperOrigin-RevId: 951401849
copybara-service Bot pushed a commit that referenced this pull request Jul 21, 2026
…ith oneCCL

Imported from GitHub PR openxla/xla#44894

JAX build statically links the oneccl lib into the oneapi pjrt plugin. This PR fixes missing symbol errors in the current oneCCL build.
1)  Set alwayslink=True for oneccl libs to make sure all objects files are linked.
2)  A patch is applied to oneCCL so the onecclPluginCall is correctly linked from the static library instead of looking up the symbol inside an .so file.

🚀 Kind of Contribution
🐛 Bug Fix
Copybara import of the project:

--
7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac by nhatle <[email protected]>:

Fix segfault when running JAX programs with oneCCL

Merging this change closes #44894

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#44894 from Intel-tensorflow:nhatle/fix_jax_segfault_with_oneccl 7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac
PiperOrigin-RevId: 951401849
copybara-service Bot pushed a commit that referenced this pull request Jul 21, 2026
…ith oneCCL

Imported from GitHub PR openxla/xla#44894

JAX build statically links the oneccl lib into the oneapi pjrt plugin. This PR fixes missing symbol errors in the current oneCCL build.
1)  Set alwayslink=True for oneccl libs to make sure all objects files are linked.
2)  A patch is applied to oneCCL so the onecclPluginCall is correctly linked from the static library instead of looking up the symbol inside an .so file.

🚀 Kind of Contribution
🐛 Bug Fix
Copybara import of the project:

--
7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac by nhatle <[email protected]>:

Fix segfault when running JAX programs with oneCCL

Merging this change closes #44894

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#44894 from Intel-tensorflow:nhatle/fix_jax_segfault_with_oneccl 7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac
PiperOrigin-RevId: 951401849
copybara-service Bot pushed a commit that referenced this pull request Jul 22, 2026
…ith oneCCL

Imported from GitHub PR openxla/xla#44894

JAX build statically links the oneccl lib into the oneapi pjrt plugin. This PR fixes missing symbol errors in the current oneCCL build.
1)  Set alwayslink=True for oneccl libs to make sure all objects files are linked.
2)  A patch is applied to oneCCL so the onecclPluginCall is correctly linked from the static library instead of looking up the symbol inside an .so file.

🚀 Kind of Contribution
🐛 Bug Fix
Copybara import of the project:

--
7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac by nhatle <[email protected]>:

Fix segfault when running JAX programs with oneCCL

Merging this change closes #44894

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#44894 from Intel-tensorflow:nhatle/fix_jax_segfault_with_oneccl 7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac
PiperOrigin-RevId: 951401849
copybara-service Bot pushed a commit that referenced this pull request Jul 22, 2026
…ith oneCCL

Imported from GitHub PR openxla/xla#44894

JAX build statically links the oneccl lib into the oneapi pjrt plugin. This PR fixes missing symbol errors in the current oneCCL build.
1)  Set alwayslink=True for oneccl libs to make sure all objects files are linked.
2)  A patch is applied to oneCCL so the onecclPluginCall is correctly linked from the static library instead of looking up the symbol inside an .so file.

🚀 Kind of Contribution
🐛 Bug Fix
Copybara import of the project:

--
7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac by nhatle <[email protected]>:

Fix segfault when running JAX programs with oneCCL

Merging this change closes #44894

FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#44894 from Intel-tensorflow:nhatle/fix_jax_segfault_with_oneccl 7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac
PiperOrigin-RevId: 951401849
copybara-service Bot pushed a commit that referenced this pull request Jul 22, 2026
…ith oneCCL

Imported from GitHub PR openxla/xla#44894

JAX build statically links the oneccl lib into the oneapi pjrt plugin. This PR fixes missing symbol errors in the current oneCCL build.
1)  Set alwayslink=True for oneccl libs to make sure all objects files are linked.
2)  A patch is applied to oneCCL so the onecclPluginCall is correctly linked from the static library instead of looking up the symbol inside an .so file.

🚀 Kind of Contribution
🐛 Bug Fix
Copybara import of the project:

--
7b8ea3f1b78a48d2bb592aa922f6956b34ac07ac by nhatle <[email protected]>:

Fix segfault when running JAX programs with oneCCL

Merging this change closes #44894

PiperOrigin-RevId: 952006892
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes comp:core issues related to core part of tensorflow ready to pull PR ready for merge process size:M CL Change Size: Medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants