Skip to content

Avoids repeated heap allocations/deallocations of layout.total_bytes per attention subtask and kv_out_mem per token step by storing worker_workspaces and kv_out_mem on AttentionActivations / AttentionActivationsPtrs. This eliminates ~20M minor page faults and improves decode throughput by +18% to +26% on AMD Turin. - #1025

Merged
copybara-service[bot] merged 1 commit into
devfrom
test_979178228
Sep 11, 2026

Conversation

@copybara-service

Copy link
Copy Markdown

Avoids repeated heap allocations/deallocations of layout.total_bytes per attention subtask and kv_out_mem per token step by storing worker_workspaces and kv_out_mem on AttentionActivations / AttentionActivationsPtrs. This eliminates ~20M minor page faults and improves decode throughput by +18% to +26% on AMD Turin.

@copybara-service
copybara-service Bot force-pushed the test_979178228 branch 2 times, most recently from 4535389 to f951eff Compare September 11, 2026 14:29
…` per attention subtask and `kv_out_mem` per token step by storing `worker_workspaces` and `kv_out_mem` on `AttentionActivations` / `AttentionActivationsPtrs`. This eliminates ~20M minor page faults and improves decode throughput by +18% to +26% on AMD Turin.

PiperOrigin-RevId: 979835873
@copybara-service
copybara-service Bot merged commit ffc1abc into dev Sep 11, 2026
11 checks passed
@copybara-service
copybara-service Bot deleted the test_979178228 branch September 11, 2026 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant