cd /news/ai-infrastructure/unifying-1-ms-tabular-scoring-treesh… · home › topics › ai-infrastructure › article
[ARTICLE · art-177394] src=discuss.huggingface.co ↗ pub= topic=ai-infrastructure verified=true sentiment=↑ positive

Unifying <1 ms tabular scoring + TreeSHAP and frontier GPU LLM serving behind one zero-Python Kubernetes control plane (SMILE Serve Engine & Cluster)

SMILE Serve Engine and SMILE Serve Cluster, released by the SMILE project led by Haifeng Li, combine tabular scoring with exact TreeSHAP and self-hosted frontier LLM serving in a single zero-Python runtime and Kubernetes control plane. On 300-tree, 64-feature models over 100,000 loopback requests, SMILE Serve Engine on Java 25 scored XGBoost ONNX at 0.43 ms p99, GradientTreeBoost at 0.47 ms p99 (0.91 ms with inline exact TreeSHAP), and RandomForest at 0.54 ms p99 (2.88 ms with inline exact TreeSHAP), while the GraalVM native image runs about 200 MB with 0.4s cold start and 140 to 178 MiB RSS with 19 models loaded. The LLM engine, built on Java 25, Project Panama FFM and CUDA/FlashInfer v0.7.5.post1, serves DeepSeek-V4.1-Flash at 92.8 tok/s single-request with a 2.33x DSpark speculative speedup and 888 tok/s at 32 concurrent requests on 8x A100 80 GB, with SMILE Serve Cluster adding Envoy Gateway OIDC/JWT auth, SHA-256-verified NVMe weight caching and Ed25519 model signing via a single Helm chart.

key takeaway

SMILE Serve Engine keeps exact TreeSHAP on the synchronous hot path at 0.91 ms p99 for GradientTreeBoost and 2.88 ms p99 for RandomForest on 300-tree, 64-feature models, versus 0.47 ms and 0.54 ms without inline SHAP.

read2 min views9 publishedNov 27, 2026

Most production AI stacks I run into split into three disconnected deployments: a Python microservice for tabular scoring and SHAP explanations, a separate GPU cluster for vLLM or SGLang, and custom glue in front for auth, weight verification, and audit logs. Over the past few months we built SMILE Serve Engine and SMILE Serve Cluster (GitHub - haifengl/smile: Statistical Machine Intelligence & Learning Engine · GitHub and https://aihalo.dev) to collapse those layers into one zero-Python runtime and Kubernetes control plane.

A few engineering choices that made the biggest difference in practice:

Keeping classical ML and exact TreeSHAP on the synchronous hot path. On 300-tree, 64-feature models over 100,000 loopback requests, SMILE Serve Engine on Java 25 scores XGBoost ONNX at 0.43 ms p99, GradientTreeBoost at 0.47 ms p99 (0.91 ms p99 with inline exact TreeSHAP), and RandomForest at 0.54 ms p99 (2.88 ms p99 with inline exact TreeSHAP). For edge or sidecar footprints, the GraalVM native latest-micro image is around 200 MB with 0.4s cold start, 140 to 178 MiB RSS with 19 models loaded, and zero Python packages.

Serving frontier open-weight LLMs over the same canonical /v1 API. Our Java 25 + Project Panama FFM + CUDA/FlashInfer v0.7.5.post1 engine runs DeepSeek-V4.1-Flash (92.8 tok/s single-request with 2.33x DSpark speculative speedup, 888 tok/s at 32 concurrent requests on 8x A100 80 GB), GLM-5.3-Flash (95 tok/s single, 906 tok/s at 32 concurrent), and Qwen3.8-27B (80.1 tok/s FP8 on 1x A100-40GB, 906 tok/s batched BF16 TP=4).

Treating cluster security and caching as control-plane primitives rather than ad-hoc scripts. SMILE Serve Cluster deploys via a single Helm chart and runs SMILE Serve Engine alongside vLLM, SGLang, and TensorRT-LLM worker pods behind Envoy Gateway OIDC/JWT auth, node-local NVMe weight caching with SHA-256 verification and LRU eviction, declarative init-time LoRA for vLLM and SGLang, Ed25519 model signing before deserialization, and hash-chained SIEM audit logs.

For local development and evaluation, we also ship SMILE Agent Studio, a free local-first desktop workspace with 9 specialist agents, a deterministic human-in-the-loop approval queue for background routines, and polyglot notebooks plus DuckDB that talk directly to local /v1 endpoints. Curious how others running both tabular risk/routing models and self-hosted frontier LLMs are handling weight caching, auth, and side-by-side serving today. Happy to share benchmark harnesses or dig into any piece of the architecture.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @smile serve engine 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/unifying-1-ms-tabula…] indexed:0 read:2min 2026-11-27 · —