# xhtoken/spark-x2.6 — AlpLab Radar Static Code Audit

- Ring: `watch`
- Category: `ai-models`
- Overall score: `2.6/5`
- Implementation check: `partial`
- Maturity: `early`
- Audited commit: `74b78d307f5f` (read-only; nothing from the repository was executed)
- Reviewed at: 2026-11-30T12:43:25Z
- Repository: https://github.com/xhtoken/spark-x2.6
- Radar entry: https://radar.alplab.co/#repo/xhtoken/spark-x2.6
- License: `Apache-2.0`
- Tags: `on-device-llm`, `model-release`, `inference`, `edge`, `agents`

## Summary

Docs-only release hub for Spark-X2.6 on-device LLMs (4B/1.7B): README + FAQ + self-reported benchmark SVGs and serving recipes; no model code, weights, or eval harness live in this repo

## Implementation Check

What it promises as a documentation hub it delivers (README.md quickstarts for Transformers/SGLang/vLLM/MLX/llama.cpp/Ollama/LM Studio), but the substance — weights, model code, and the benchmark claims — is entirely external (HF/ModelScope, XHToken forks) and the superiority claims are unverifiable self-reported charts in assets/

## When to Use

Use it as the entry point/recipe sheet when you already want to run Spark-X2.6 weights from HF, Ollama, or LM Studio; do not come here for code, training, or evaluation — none exists in this repository

## Sub-scores

| Dimension | Score |
|---|---|
| quality | 2.0/5 |
| usability | 3.0/5 |
| reliability | 2.0/5 |
| security | 3.0/5 |
| integration | 3.0/5 |

## Code Evidence

repo_list returns only .gitignore, four markdown files, LICENSE, and assets/*.svg|png — zero source files; repo_search for 'def ' matches nothing in the whole tree; benchmark_list_sparkx26_4b.svg footnotes SWebBench as 'An in-house benchmark' and links an author-owned dataset (huggingface.co/datasets/XHToken/gaokao_math_2026), so headline numbers are not reproducible from this repo

## Issues Found

No eval harness, dataset, or methodology in-repo for any benchmark claim (assets/*.svg only); no technical report; serving instructions depend on unreviewed sibling repos (XHToken/Spark-plugin, XHToken/Spark-MLX-LLM, XHToken/llama.cpp fork); trust_remote_code=True in README.md Transformers example

## Key Risks

Nothing was executed and no weight/code from the linked external repos was reviewed; benchmarks are self-reported and partly in-house; Transformers quickstart requires trust_remote_code=True, i.e. executing code shipped with the checkpoint; README steers users to author forks (XHToken/llama.cpp, XHToken/LlamaFactory) rather than upstreams; SGLang recipe pins a nightly image, Ascend recipes use --network=host; no tests, no CI, no releases

## Reviewed Files

- `README.md`
- `FAQ.md`
- `SECURITY.md`
- `CODE_OF_CONDUCT.md`
- `LICENSE`
- `assets/benchmark_list_sparkx26_4b.svg`
- `assets/edge_inference_sparkx26_1.7b.svg`
