-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GPU] Fix passing of key-value store handle from client to compiler. #19237
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this fix!
Just our of curiosity, which PJRT client you are using that goes directly to PjRtStreamExecutorClient::Compile?
I recently added the same fix for JAX to PyClient::CompileIfrtProgram: f548642
I'm curious if we need to keep only one of these fixes.
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 27a2ca3 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 27a2ca3 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 27a2ca351957b8c5f5ab2b9105c6a897bc5f7957 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 27a2ca351957b8c5f5ab2b9105c6a897bc5f7957 PiperOrigin-RevId: 695629316
JAX uses this in the reproducer you provided for example. Not directly, but eventually it goes also through this method. Without this fix any attempt to use sharded autotuning fails at head. |
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 27a2ca3 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 27a2ca3 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 27a2ca3 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 27a2ca3 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 27a2ca351957b8c5f5ab2b9105c6a897bc5f7957 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 27a2ca351957b8c5f5ab2b9105c6a897bc5f7957 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 27a2ca3 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 27a2ca3 PiperOrigin-RevId: 695629316
8080bd9
to
5b731fc
Compare
While this isn't merged, I realized, there is a better way to fix this: setting the key-value store in CompileInternal() is better because all paths merge at it. Added a 2nd test case for that. |
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 8080bd9 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 8080bd9 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 8080bd9 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 8080bd9 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 8080bd9fb8d169bf2add2c079650e4cad2e9fdff by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 8080bd9fb8d169bf2add2c079650e4cad2e9fdff PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 8080bd9 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 8080bd9 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 8080bd9fb8d169bf2add2c079650e4cad2e9fdff by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 8080bd9fb8d169bf2add2c079650e4cad2e9fdff PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 5b731fc by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 5b731fc PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 5b731fca5d64d894f3b860fece4d85731c3984f5 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 5b731fca5d64d894f3b860fece4d85731c3984f5 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 5b731fc by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 5b731fc PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 5b731fc by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 5b731fc PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 5b731fca5d64d894f3b860fece4d85731c3984f5 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 5b731fca5d64d894f3b860fece4d85731c3984f5 PiperOrigin-RevId: 695629316
5b731fc
to
99336a6
Compare
Rebased and resolved a conflict. |
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 99336a6 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 99336a6 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 99336a672505d7efa9aacfea492585afb22a5dd2 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 99336a672505d7efa9aacfea492585afb22a5dd2 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 99336a6 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 99336a6 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 99336a6 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 99336a6 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 99336a6 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 99336a6 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 99336a6 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 99336a6 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 99336a672505d7efa9aacfea492585afb22a5dd2 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 99336a672505d7efa9aacfea492585afb22a5dd2 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR #19237 Copybara import of the project: -- 99336a6 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=#19237 from openxla:fix_kv_store 99336a6 PiperOrigin-RevId: 695629316
… compiler. Imported from GitHub PR openxla/xla#19237 Copybara import of the project: -- 99336a672505d7efa9aacfea492585afb22a5dd2 by Ilia Sergachev <isergachev@nvidia.com>: [GPU] Fix passing of key-value store handle from client to compiler. Merging this change closes #19237 FUTURE_COPYBARA_INTEGRATE_REVIEW=openxla/xla#19237 from openxla:fix_kv_store 99336a672505d7efa9aacfea492585afb22a5dd2 PiperOrigin-RevId: 695629316
I'm seeing internal test failures for tests The issue with
Any ideas what the issue is? If not, I can investigate internally. |
No description provided.