Open
Conversation
12b16c1 to
30df894
Compare
0c7c8ad to
15fc4d8
Compare
added 7 commits
March 23, 2026 18:55
- Introduced `mosaic_tpu` backend in `paged_attention.zig` and updated related structures to accommodate TPU-specific parameters and options. - Implemented `raggedPagedAttention` function in `flashattn.zig` to handle TPU-specific attention logic. - Enhanced `Buffer` struct in `buffer.zig` with a new method `toPrefix1dSlice` for copying prefixes of rank-1 buffers across shards. - Updated `Platform` struct in `platform.zig` to manage TPU IR runtime initialization and deinitialization. - Modified `env` function in `testing.zig` to return a platform instance or an error, improving error handling in tests. - Adjusted various test cases to handle platform initialization errors gracefully. - Cleaned up unused imports and ensured consistent error handling across the codebase.
15fc4d8 to
9fd7a8c
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.
No description provided.