Update rules_python to v1.6 in JAX.#31709
Merged
copybara-service[bot] merged 1 commit intomainfrom Sep 18, 2025
Merged
Conversation
cf9f470 to
0dc5643
Compare
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 10, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 10, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 10, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 15, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
0dc5643 to
614b6f9
Compare
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 15, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) FUTURE_COPYBARA_INTEGRATE_REVIEW=#100135 from ILCSFNO:patch-4 20d77c2 PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 16, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 16, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
614b6f9 to
948f602
Compare
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 16, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 16, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 16, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
0c08364 to
0fe55ef
Compare
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 17, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 17, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 17, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 17, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 17, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
0fe55ef to
0af35a3
Compare
rules_python to v1.6 in JAX.
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 17, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
0af35a3 to
32e4f09
Compare
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 18, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 18, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
17cf1ed to
ecee7b1
Compare
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 18, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 18, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 803189916
copybara-service Bot
pushed a commit
to openxla/xla
that referenced
this pull request
Sep 18, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 808689003
copybara-service Bot
pushed a commit
to tensorflow/tensorflow
that referenced
this pull request
Sep 18, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 808689003
de7a510 to
2cd57d2
Compare
Also remove stale files from the wheel (see [link](1a91543#diff-674c34fb3618372dba0cf7f275754e7c4786c38beb8e7c7f8115e761265757d0)). PiperOrigin-RevId: 808716151
2cd57d2 to
0624856
Compare
IgnotaYun
pushed a commit
to IgnotaYun/tensorflow
that referenced
this pull request
Sep 22, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 808689003
bhavya01
added a commit
to pytorch/xla
that referenced
this pull request
Oct 6, 2025
This PR updates the following pins: - PyTorch: pytorch/pytorch@928ac57 to pytorch/pytorch@21fec65 (v2.9.0-rc5) - OpenXLA: openxla/xla@92f7b59 to openxla/xla@9a9aa0e - `libtpu`: 0.0.21 to 0.0.24 - JAX (and `jaxlib`): 0.7.1 to 0.8.0 **Key Changes:** - `@python` was replaced by `@rules_python` at `BUILD` file (ref: [jax-ml/jax#31709](jax-ml/jax#31709)) - `TF_ATTRIBUTE_NORETURN` was removed in favor of abseil (ref: [openxla/xla#31699](openxla/xla#31699)) - Replaced include of `xla/pjrt/tfrt_cpu_pjrt_client.h` file by `xla/pjrt/cpu/cpu_client.h` in `pjrt_registry.cpp` ([openxla/xla#30936](openxla/xla#30936)) - Moved the old `xla/tsl/platform/default/logging.*` to `torch_xla/csrc/runtime/tsl_platform_logging.*` - They were removed in [openxla/xla#29477](openxla/xla#29477) - Copied them here, temporarily. They should be removed once we update our error throwing macros. - Commented out a few macro definitions, avoiding macro re-definitions **Update (Oct 3):** - Add an OpenXLA patch for fixing `static_assert(false)` for GCC < 13 ([ref](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9944ca17c0766623bce260684edc614def7ea761)) - Removed the `flax` pin, since it does not overwrite `jax` anymore - Removed `TPU*` prefix of `jax.experimental.pallas.tpu` components (ref: [jax-ml/jax#29115](jax-ml/jax#29115)) --------- Co-authored-by: Bhavya Bahl <bbahl@google.com>
IgnotaYun
pushed a commit
to IgnotaYun/tensorflow
that referenced
this pull request
Oct 15, 2025
`com_google_protobuf` and `rules_cc` initialization was moved to `python_init_rules` macros. The JAX repository update will be done [in the next step](jax-ml/jax#31709) PiperOrigin-RevId: 808689003
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update
rules_pythonto v1.6 in JAX.Also remove stale files from the wheel (see link).