Repository navigation
Port Metal placement and batching from mesh-llm - #71
Conversation
Transplant Mesh skippy/metal-placement-batching at 3afad3e60e19 using the mapped extraction ancestor, preserving standalone main and native patches. Move resident checkpoint ownership, Metal row attention and placement, batch and sampling controls, tracing, and regression coverage without monorepo hosts or CI. Keep ABI 0.1.86 bindings and documentation aligned; preserve near-full-context prefill admission, update component capability fixtures, classify empty Metal command timings correctly, and build every replay target. Record provenance, validation, and outstanding production-model, CUDA, cache-performance, and split qualification in docs/design/METAL_PLACEMENT_BATCHING_MIGRATION.md.
General Inference Lab Qualification: PassedCommit: Native Spark lab qualification.
TPS describes the first response of each of three short scored smoke cases at concurrency 1; deterministic repeats are excluded. Each rate is total tokens / total server-reported phase time, not an average of request rates. Prefill excludes cached prompt tokens. These short samples include startup/warmup effects and are not sustained benchmarks or controlled speedup comparisons. Missing or invalid timings show as Unavailable. Smoke checks cover GPU startup, deterministic endpoint repeats and bounded streaming. They do not establish an AgentX performance score. The General Inference lab retains native results and logs; GitHub evidence copies expire after 30 days. |
The bindgen check failed on Linux because macOS libclang traverses the blocklisted llama_sampler definition and emits its vtable internals as dependents, while the CI libclang does not. Blocklist those types so generation is identical on both, and commit the regenerated llama.rs. Assisted-by: goose
Keep the placement and batching baseline from Skippy #71 and replay the nine remaining native patches against it. Integrate shared draft and verification scheduling while preserving the main branch's cache, stop-token, and GGUF admission behavior. Bump the ABI for the shared verify export.
Summary
Ports
skippy/metal-placement-batchingfrom Mesh-LLM/mesh-llm#3031 (source3afad3e6) into standalone Skippy, using the history-aware three-way transplant over the mapped shared baseline (mesh 937f236c:skippy≡skippy dfefa89f) so Skippy's post-extraction changes are preserved. Based on latestmain.What's included
8954f194).Port corrections (not in source)
native-full-replaynow builds the activation-validation executable it registers.Validation performed
just format, workspace Clippy--all-targets -D warnings(incl.tracyanddynamic-native-runtimefeatures)skippy-api-rs(unit, integration, doc tests)Remaining qualification (documented in
docs/design/METAL_PLACEMENT_BATCHING_MIGRATION.md)