[GPU] Support pointwise floor and ceil in GEMM fusions.#11912
[GPU] Support pointwise floor and ceil in GEMM fusions.#11912
Conversation
|
The change looks good, though the needed Triton change would need to be included as you mentioned. I will cherry-pick your change internally so that it reflects on OpenXLA/Triton and then you can merge this change. |
|
@sergachev The required dependency change now applies on top of OpenXLA/xla so this should be unblocked. |
4a2e65e to
19c87d5
Compare
Imported from GitHub PR openxla/xla#11912 For this to work with Triton openxla/triton will need to include triton-lang/triton@62706e8. Copybara import of the project: -- 37bc5f77e0eb1772ec0ae1430d54a48c626840be by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Triton: support elementwise floor and ceil. -- 19c87d539078405122cdc9c9cfb2789e696317cc by Ilia Sergachev <isergachev@nvidia.com>: [GPU] cuDNN fusions: support elementwise floor and ceil. Merging this change closes #11912 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#11912 from openxla:pointwise_floor_ceil 19c87d539078405122cdc9c9cfb2789e696317cc PiperOrigin-RevId: 632445295
|
//xla/service/gpu:softmax_rewriter_triton_test fails, I'm looking at that |
Imported from GitHub PR openxla/xla#11912 For this to work with Triton openxla/triton will need to include triton-lang/triton@62706e8. Copybara import of the project: -- 37bc5f77e0eb1772ec0ae1430d54a48c626840be by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Triton: support elementwise floor and ceil. -- 19c87d539078405122cdc9c9cfb2789e696317cc by Ilia Sergachev <isergachev@nvidia.com>: [GPU] cuDNN fusions: support elementwise floor and ceil. Merging this change closes #11912 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#11912 from openxla:pointwise_floor_ceil 19c87d539078405122cdc9c9cfb2789e696317cc PiperOrigin-RevId: 632445295
|
Thanks @sergachev. Please ping me when you fix the issue and I will merge the PR internally. |
19c87d5 to
9731974
Compare
|
@dimitar-asenov it's fixed now |
|
@sergachev Actually, one more thing: Could you please add the new ops to this list: https://github.com/openxla/xla/blob/main/xla/service/gpu/triton_support_test.cc#L193-L201 |
9731974 to
7a21cb7
Compare
|
OK, I added them, but could not test - this test does not build in OSS because of the known problem with bazel backend tags; if I hack them it fails on unknown EXPECT_OK and so on. |
Imported from GitHub PR openxla/xla#11912 For this to work with Triton openxla/triton will need to include triton-lang/triton@62706e8. Copybara import of the project: -- 37efe4abc9caae6033ac1aabcf1799f2f3c1b0c2 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Triton: support elementwise floor and ceil. -- 7a21cb770cdb08bdb4504fb23c4dc1d31126c01f by Ilia Sergachev <isergachev@nvidia.com>: [GPU] cuDNN fusions: support elementwise floor and ceil. Merging this change closes #11912 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#11912 from openxla:pointwise_floor_ceil 7a21cb770cdb08bdb4504fb23c4dc1d31126c01f PiperOrigin-RevId: 632445295
Imported from GitHub PR openxla/xla#11912 For this to work with Triton openxla/triton will need to include triton-lang/triton@62706e8. Copybara import of the project: -- 37efe4abc9caae6033ac1aabcf1799f2f3c1b0c2 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Triton: support elementwise floor and ceil. -- 7a21cb770cdb08bdb4504fb23c4dc1d31126c01f by Ilia Sergachev <isergachev@nvidia.com>: [GPU] cuDNN fusions: support elementwise floor and ceil. Merging this change closes #11912 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#11912 from openxla:pointwise_floor_ceil 7a21cb770cdb08bdb4504fb23c4dc1d31126c01f PiperOrigin-RevId: 632445295
Imported from GitHub PR openxla/xla#11912 For this to work with Triton openxla/triton will need to include triton-lang/triton@62706e8. Copybara import of the project: -- 37efe4abc9caae6033ac1aabcf1799f2f3c1b0c2 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Triton: support elementwise floor and ceil. -- 7a21cb770cdb08bdb4504fb23c4dc1d31126c01f by Ilia Sergachev <isergachev@nvidia.com>: [GPU] cuDNN fusions: support elementwise floor and ceil. Merging this change closes #11912 PiperOrigin-RevId: 632495980
For this to work with Triton openxla/triton will need to include triton-lang/triton@62706e8.