Repository navigation
feat(ironwood): tpu7x 8 logical device enumeration + dual-chiplet CDI/exporter metadata (#21) - #47
Open
saariuslystoned wants to merge 2 commits into
Open
saariuslystoned wants to merge 2 commits into
saariuslystoned wants to merge 2 commits into
Conversation
…/exporter dual-chiplet metadata (#21)
…dening - parse_hex_u64: require *end==\0 (fail-closed on trailing junk e.g. 0x75JUNK) - ot_pjrt_client_create: guard zero/absurd pci/chiplet dims, overflow check on pci_funcs*chiplets_per_func, enforce total_logical <=64, double check for mock & live paths - freetpu_cdi.tpu_topology_metadata: fail-closed on non-str/unhashable gens (None/int/list/dict), correct Optional[int] hint, add PEP8 blank line - build_cdi_spec: emit chiplets-per-pkg/hbm for homogeneous shared-iommu-group selectors (Ironwood dual-chiplet gap), keep mixed-generation suppression - No public-roads violations; ASan+UBSan clean; all Python tests pass
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.
Prepares Day-1 host-verified support for #21 (Ironwood
tpu7x-standard-4t8 logical devices & dual-chiplet metadata; livelspci -nn//dev/vfio/*PCI ID confirmation remains pending Day-1 hardware).Summary
libopentpu(ot_pjrt.cpp,ot_vfio.cpp,tests/opentpu_host_test.cpp): addstpu7x-4t-single/tpu7x_4t_single8 single-chiplet PCI-function enumeration yielding 8 logicaltpu7xdevices (256×256 MXU, FP8(4,1), 96 GiB HBM3e per logical device), matching the existing 4×2 dual-chiplet path. Provisional PCI ID0x1ae0:0x0075remains explicitly annotated pending Day-1lspci -nn.ops/tpu-cdi&ops/tpu-exporter(freetpu_cdi.py,tpu_exporter.py+ tests): addsTPU_CHIPLETS_PER_PKG(tpu7x: 2),TPU_HBM_GIB_PER_LOGICAL_DEVICE(tpu7x: 96),tpu_topology_metadata(), and CDI annotationsfreetpu.dev/chiplets-per-pkg/freetpu.dev/hbm-gib-per-logical-device.llama-cpp-cloudtpu: verified existingTPU7X_4T8×96 GiB mock,compute_d2d_hamiltonian_order, andf8E4M3FNlowering compile and pass all host checks unchanged.Verification
make -C libopentpu verify-header-host host test: PASS (incl.test_pjrt_single_chiplet_tpu7x_enumeration).python3 ops/tpu-cdi/test_freetpu_cdi.py -v: 34/34 OK.python3 ops/tpu-exporter/test_tpu_exporter.py -v: 26/26 OK.CLOUDTPU_MOCK=1 test_cloudtpu_host: ALL PASSED.