build: bump abseil-cpp to 20260526.0 for torch_tpu compatibility - #483
Draft
yinlin09 wants to merge 1 commit into
Draft
build: bump abseil-cpp to 20260526.0 for torch_tpu compatibility#483yinlin09 wants to merge 1 commit into
yinlin09 wants to merge 1 commit into
Conversation
torch_tpu main moved to abseil-cpp 20260526.0, whose BCR entry carries a different bzlmod compatibility level than older releases, so raiden's 20260107.1 pin fails module resolution when building the torch extension against a current torch_tpu checkout: ERROR: torch_tpu@_ depends on abseil-cpp@20260526.0 with compatibility level 0, but <root> depends on abseil-cpp@20260107.1 with compatibility level 1 which is different Bump the dep and force it with a single_version_override, which selects across the compatibility-level mismatch that a plain bazel_dep cannot (transitive deps such as protobuf still request level-1 releases).
yinlin09
force-pushed
the
yinlin/absl-compat-bump
branch
from
July 30, 2026 08:01
48b0493 to
e9fd9b7
Compare
yinlin09
marked this pull request as draft
July 30, 2026 19:10
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.
Fixes the module-resolution failure reported when building raiden's torch extension against a current torch_tpu checkout (e.g. in vLLM setups):
torch_tpu moved to abseil-cpp 20260526.0 as part of its XLA revision bump. That BCR entry has no
compatibility_level(defaults to 0) while older abseil releases are level 1, and bzlmod refuses to unify across levels — so the version bump alone is not enough; the addedsingle_version_overrideis what forces selection past the mismatch (transitive deps such as protobuf 33.5 still request level-1 releases).Validated in the ml-build container:
Note: after this lands, building against torch_tpu checkouts older than its abseil bump (e20c0244) fails with the mirror-image error — keep torch_tpu checkouts current.