Search arXiv⌕ Search

arXiv subjects

Yuanjie Wu

Publications and source records attributed to Yuanjie Wu.

2 recordsLinked to original sources

MiniMesh: Breaking Interconnect, DVFS, and Routing Walls for Distributed LLM Inference on Commodity Apple Silicon Clusters

Serving dense (27.48 GiB 8-bit 27B) and sparse Mixture-of-Experts (19.03 GiB 4-bit 35B-A3B) models interactively across 7x16 GiB Apple M4 Mac minis exposes three hardware and software walls that break datacenter parallelism: (1) a dual-speed Thunderbolt 4 (TB4) cliff, where macOS L3 forwarding collapses 11.01 Gbps 1-hop links 25.9x-59.1x to 424-186 Mbps -- slower than Gigabit Ethernet (915 Mbps); (2) an M4 two-stage GPU DVFS collapse after 6-7 ms of pipeline idleness (1,577 to 799 MHz at 7 ms in 100 ms telemetry; 2.26x-2.67x Stage-1, 5.39x at 850 ms), causing naive tensor parallelism to regress below pipeline parallelism (2.03 tok/s); and (3) an MoE prefill-to-decode routing shift, where prefill Top-16 experts capture only 28.6% $\pm$ 4.5% of decode dispatches per prompt (12.5% pooled across 40 public prompts) while Expert Parallelism inflates decode wire traffic 91.8x. We present MiniMesh, a distributed MLX runtime co-designed around these walls via a 100% 1-hop 1 Draft + (TP=2 x PP=3) dual-fabric ring, Single-Pass Snapshot Rollback (SSR) for $(K+1)$ speculative verification (0.15-0.64 ms/round zero-weight-read commit), and decode-only GPU keep-warm with conservative UMA admission control. Across 10 trials on 7 M4 nodes (orig-64), MiniMesh reaches 9.35 $\pm$ 0.11 tok/s on 27B q8 (2.64x over 5-trial stock mlx.distributed TB4; 41.6% lower GPU energy/tok than non-speculative TP under keep-warm) and 23.63 $\pm$ 0.24 tok/s on 35B-A3B (1.55x over unprofiled PP=7; 13.96x over EP=7) where stock mlx_lm fails disk admission. Across 40 public prompts (Pub40-128), MiniMesh averages 11.61 $\pm$ 3.41 tok/s on q8 (3.38x vs. PP=7) and 22.31 $\pm$ 5.66 tok/s on 35B-A3B (1.39x vs. unprofiled PP=7; 27.30 tok/s / 1.71x on HumanEval), preserving 100% within-topology bitwise parity and matched 7/10 HumanEval pass rates across PP=7 and TPxPP.

cs.DC↗

A crucial test for astronomical spectrograph calibration with frequency combs

Laser frequency combs (LFCs) are well on their way to becoming the next-generation calibration sources for precision astronomical spectroscopy. This development is considered key in the hunt for low-mass rocky exoplanets around solar-type stars whose discovery with the radial-velocity method requires cm/s Doppler precision. In order to prove such precise calibration with an LFC, it must be compared to another calibrator of at least the same precision. Being the best available spectrograph calibrator, this means comparing it to a second - fully independent - LFC. This test had long been pending, but our installation of two LFCs at the ultra-stable spectrograph HARPS presented the so far unique opportunity for simultaneous calibrations with two separate LFCs. Although limited in time, the test results confirm the 1 cm/s stability that has long been anticipated by the astronomical community.

astro-ph.IM↗