[TPU Raiden] Backend Tier Extension (Part 1/4): Protocols, Interfaces & Abstract Driver Architecture - #880
Merged
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
copybara-service
Bot
force-pushed
the
test_974774417
branch
3 times, most recently
from
September 15, 2026 17:50
93ebf63 to
25e056d
Compare
copybara-service
Bot
force-pushed
the
test_974774417
branch
from
September 16, 2026 19:00
25e056d to
c050c7a
Compare
… & Abstract Driver Architecture Declares the protocol, configuration and driver interfaces that let TPU Raiden offload and recall KV blocks to a secondary storage tier beyond Host DRAM. Declarative only: every driver method is a stub returning UnimplementedError, with the implementations in Part 2. - Input: BackendConfig carries serving topology as a ParallelismConfig (tp_size, tp_rank); tp_rank is required rather than defaulted, so workers in a sharded job cannot collide on one shard directory. PosixBackendOptions is the typed parse-and-validate point for a POSIX backend. - Output: PosixPathMapper declares the layout <root_dir>/<model_name>/tp<tp_size>_r<tp_rank>/<l1>/<l2>/<hash_hex>.bin; BlockKeyMapper::MapKey requires a hex-encoded, length-bounded hash. - Interfaces: the TransferBackendBuffers RPC and BackendTransferSpec in worker_service.proto, the pure virtual KVBackend async interface in backends/backend.h, and BlockStatus::SHARED_STORAGE. PiperOrigin-RevId: 982702207
copybara-service
Bot
force-pushed
the
test_974774417
branch
from
September 16, 2026 20:48
c050c7a to
1e7fa85
Compare
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.
[TPU Raiden] Backend Tier Extension (Part 1/4): Protocols, Interfaces & Abstract Driver Architecture
Declares the protocol, configuration and driver interfaces that let TPU Raiden
offload and recall KV blocks to a secondary storage tier beyond Host DRAM.
Declarative only: every driver method is a stub returning UnimplementedError,
with the implementations in Part 2.
tp_rank); tp_rank is required rather than defaulted, so workers in a sharded
job cannot collide on one shard directory. PosixBackendOptions is the typed
parse-and-validate point for a POSIX backend.
<root_dir>/<model_name>/tp<tp_size>_r<tp_rank>///<hash_hex>.bin;
BlockKeyMapper::MapKey requires a hex-encoded, length-bounded hash.
worker_service.proto, the pure virtual KVBackend async interface in
backends/backend.h, and BlockStatus::SHARED_STORAGE.