-
Notifications
You must be signed in to change notification settings - Fork 39
[TPU Offload] Separate offload manager and cpu-cache backend, and code structure refactor #1122
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
[TPU Offload] Separate offload manager and cpu-cache backend, and code structure refactor #1122
Conversation
…he decisions; worker has a regular kv store Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
DescriptionStart with a short description of what the PR does and how this is a change from The rest of the description includes relevant details and context, examples:
If the change fixes a bug or a Github issue, please include a link, e.g.,: TestsPlease describe how you tested this change, and include any instructions and/or ChecklistBefore submitting this PR, please make sure:
|
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
Signed-off-by: Juncheng Gu <[email protected]>
|
/lgtm |
Signed-off-by: Juncheng Gu <[email protected]>
81d8fc0 to
1be2866
Compare
Description
Remove the original singleton
LocalCPUBackendper process (shared by the offload scheduler and the offload worker).LRUOffloadManagerthat is responsible for all offloading decisions.TPU_OFFLOAD_NUM_CPU_CHUNKS.saveandloadinfo is collected fromkv_connector_output.kv_connector_stats.Code refactor.
TODOs:
# of chunksor# of tokens, instead ofbytes. This limitation is caused by the lack of block size information in the offload connector scheduler.Tests
Checklist
Before submitting this PR, please make sure: