Repository navigation
feat(rpc): Track A dual-Pixel 10 wired TPU cluster (GGML_RPC=ON, ACCEL+CPU fallback, 32B Q4_0 proof) - #12
Open
saariuslystoned wants to merge 26 commits into
Open
feat(rpc): Track A dual-Pixel 10 wired TPU cluster (GGML_RPC=ON, ACCEL+CPU fallback, 32B Q4_0 proof)#12saariuslystoned wants to merge 26 commits into
saariuslystoned wants to merge 26 commits into
Conversation
…RPC ACCEL+CPU fallback
5 of 8 tasks
# Conflicts: # README.md # llama-cpp-edgetpu/ggml-edgetpu.cpp
…ive graph nodes, and add ncm0 iptables ingress restriction
…oPE width and quantized copy shapes, exclude inactive nodes from planner, and check operands before cpu_dev query
… before ACCEL/CPU fallback dispatch
…trict op-specific CPU fallback validation
…/norm ops (330-line patch)
…llowlist including MUL_MAT
…ct Hadamard hint, add --no-kv-offload, and regenerate git-native patch
…ack bitmask, and native EdgeTPU MUL_MAT_ID capability
…rce ncm0 ingress before launch, and note --no-kv-offload 1 for llama-bench
…sable (no iptables)
…ix doc privilege/speedup notes
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.
Summary
Completes Track A of #3 — bare-metal dual-Pixel 10 (
2× Tensor G5 buenos_a0) wired TPU cluster inference with zero vendor.sodependencies, proven up toQwen2.5-32B-Instruct-Q4_0(17.43 GiB/18.71 GB) over direct 5 Gbps USB-C CDC-NCM.Changes
llama-cpp-edgetpu/build.sh: Enables-DGGML_RPC=ON -DGGML_RPC_RDMA=OFFand addsggml-rpc-serverto host/Android ARM64 build, strip, andllvm-readelf -dzero-vendor-.soverification.llama-cpp-edgetpu/ggml-edgetpu.cpp: Implementsggml_backend_edgetpu_device_get_memoryon Linux/Android (sysconf(_SC_PHYS_PAGES)+/proc/meminfoMemAvailable) soggml-rpc-server -d EDGETPUreports real unified RAM capacity (15,575 MiBtotal,~10,400 MiBfree).llama-cpp-edgetpu/patches/llama-cpp-b12608-rpc-accel-fallback.patch: Extendsrpc_server(ggml/src/ggml-rpc/ggml-rpc.cpp) so host-accessibleACCELbackends (-d EDGETPU) executeMUL_MAT+ post-MUL_MATbiasADDruns on Tensor G5 while unsupported glue ops (RMS_NORM,ROPE,SOFT_MAX,SILU, etc.) fall back in-place viaggml_graph_viewto a server-localCPUbackend.docs/TRACK_A_DUAL_PIXEL_CLUSTER.md,llama-cpp-edgetpu/README.md,README.md: Reproducible 5 Gbps USB-C CDC-NCM cluster playbook,32B Q4_0pooled-RAM proof,1.5Bbenchmark table, and/proc/<pid>/mapszero-vendor-.soaudit.Proof & Verification
clean-room-auditPASS (0forbidden binaries/paths),libopenbuenos16/16suites PASS, hosttest-backend-ops -b EDGETPU -o MUL_MAT327/327PASS.DT_NEEDEDAudit: All 5 stripped Android ARM64 binaries (ggml-rpc-server,llama-cli,llama-bench,llama-completion,test-backend-ops) link strictly[libdl.so, libm.so, libc.so].32B Q4_0(17.43 GiB) Across2× Tensor G5(rango+mustang,5 GbpsUSB-C NCM10.99.0.1 ↔ 10.99.0.2):temp=0, prompt"The capital of France is"):" Paris. Paris is located in the northern"(CLI_RC=0).18.94 GiB(20.34 GB) (rango9.83 GiB+mustang9.11 GiB,0 kBswap onmustang),34/65layers offloaded (9,242.86 MiBonmustangRPC0),cpu_fallback_slices=0,rango hw_us=8.17 s(99.62%graph hit)./proc/<pid>/mapson both nodes: zero Google/vendor.so.Refs #3