Repository navigation
feat(freetile): add multi-gen Cloud TPU serving planner, SparseCore ragged gathers, and 4-bit codebook parity (#44) - #48
Open
saariuslystoned wants to merge 3 commits into
Conversation
…agged gathers, and 4-bit codebook parity (#44)
…n, fuzz stress - saturate mxus_per_chip product, overflow-safe slice_device_count - paged KV pack/gather: 64-bit offsets, full plan-consistency validation - MoE: route-table and workspace size caps, plan validation - reject invalid codebook format/path enums, validate d2d buddy packages - fix shift >=64 UB in build_op640 (freetile + libopenbuenos) - add deterministic fuzz/property stress test wiring into make/ctest
Collaborator
Author
Adversarial Hardening & Public-Roads Audit Receipt (
|
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.
Addresses #44 (host-verified clean-room C++ multi-generation Cloud TPU serving planner for
v5e,v5p,v6eTrillium, andtpu7xIronwood, SparseCore paged-KV & MoE ragged gather reference gated off onv5e, 0.0 ULP 4-bitcodebook_dequant, and multi-chip prefix router).Summary
freetile/include/freetile/serving_planner.hpp,freetile/src/serving_planner.cpp,docs/cloud-tpu/multigen-serving-sparsecore.md):v5e,v5p,v6e, andtpu7x.v5p,v6e, andtpu7x, cleanly gated off onv5e(AUTO falls back to VPU with matching numerics; forced SparseCore dispatch fails closed).codebook_dequantparity (IQ4_XS,NF4,BOF4,FP4/MXFP4) at0.0ULP across VREG select-tree, VPERM, and native-FP4 lowering strategies.1x1,2x2,2x4,tpu7xdual-chiplet), length bucketing, and draft/target verify budgets.freetile/tests/test_serving_planner.cpp,freetile/CMakeLists.txt,freetile/Makefile,freetile/README.md,README.md): registeredfreetile_serving_planner_testsin CTest and Makefile.Verification
make -C freetile test& CMakectest(5/5): PASSlibopenbuenosCTest (3/3) +make -C libopenbuenos verify-header-host host test(27/27): PASSllama-cpp-cloudtpuCTest (1/1) +libopentpuhost tests +llama.cppCLOUDTPU_MOCK=1overlay (ADD 153/153, RMS_NORM 61/61, SCALE 12/12): PASSgit diff --check: clean