dasLLAMA · local inference

Local LLMs with audio in — up to 6× faster.

dasLLAMA is an LLM + speech-to-text stack written entirely in daslang and JIT-compiled — no hand-written assembly. Its auto-tuned JIT kernels consistently outperform llama.cpp's hand-written universal kernels, on the CPU path and on Metal alike. llama.cpp has no speech-to-text engine, so Whisper and Parakeet are measured against the dedicated ones instead — whisper.cpp, parakeet, ONNX Runtime, NeMo — and lead most of those rows too. Every number below is a measured pair.

dasllama.das
// LLM inference in daslang — JIT, no C++
require dasllama/dasllama
require daslib/jobque_boost

[export]
def main() {
    let path = "model.gguf"
    var m <- load_model(path, QuantMode.q8)
    let ids <- encode(m, "Summarize the results:")
    with_job_que() {
        setup_dasllama_jobque()
        var s = create_session(m)
        let sp = SamplingParams()
        generate(m, s, ids, sp, 128l) $(_id, p) {
            print(p)
            return true
        }
    }
}
$ daslang -jit dasllama.das
loaded Qwen3-30B-A3B-Instruct-2507-Q4_K_M · q8 · 17.3 GB · cpu + accel / 10 threads
prefill 301.5 tok/s · das/llama.cpp 1.78×
decode  85.2 tok/s · das/llama.cpp 1.11×
✓ no hand-written assembly · Apple M4 Pro · measured 2026-07-26

One engine, twelve architectures.

Everything below loads from stock GGUF (llama2.c .bin for the toy), auto-detected from metadata, and is verified token-for-token against its reference engine. Weights: F32 / F16 / Q8_0 / Q4_0 / MXFP4 read directly; K-quant files (Q4_K_M / Q5_K_M / Q6_K) run on native K-quant kernels; bf16 audio towers read exactly.

Llama
Llama-2 / TinyLlama, Llama-3.1 / 3.2, Mistral-7B, SmolLM2 — plus llama2.c checkpoints.
Qwen dense
Qwen2.5, Qwen3 (QK-norm), Qwen3.5 (hybrid Gated-DeltaNet attention).
Qwen MoE
Qwen1.5-MoE-A2.7B, Qwen3-30B-A3B, Qwen3.6-35B-A3B (hybrid DeltaNet + routed experts).
Gemma
Gemma-2, Gemma-3, Gemma-4 — dense 12B / 31B, the 26B-A4B MoE, and the E2B / E4B edge series (per-layer embeddings, cross-layer KV sharing).
Phi
Phi-3.5-mini (LongRoPE).
gpt-oss
gpt-oss-20b — native MXFP4 experts, attention sinks, YaRN, Harmony chat format.
speech-to-text
Whisper (tiny → large-v3-turbo), Parakeet-TDT v2 / v3, Canary-Qwen 2.5B, Qwen3-ASR 0.6B / 1.7B.
audio chat
Qwen2-Audio, Qwen2.5-Omni 3B / 7B, Qwen3-Omni-30B, Ultravox v0.5, Voxtral-Mini-3B, Gemma-4 E-series audio.
voice activity
Silero-VAD v6 — bit-exact vs onnxruntime; the 1.2 MB weights ship in-repo.

The method, stated in full.

what das is
An LLM + speech-to-text engine written entirely in daslang and JIT-compiled — no hand-written SIMD/assembly; the Metal kernels are emitted from daslang too.
the pairing rule
A das measurement is published only next to a reference run of the same model, machine and category from the same session. No pair, no row.
what is timed
llama-bench semantics for LLMs (pp512 / tg128, mean ± stdev over 5 reps); total transcription time for audio, engine-internal, load excluded on every path.
threads
min(16, physical performance cores), same count both engines, pinned. Fixed by policy — no per-engine detection.
identity
Every row records both command lines, engine commits/versions, input-file SHA-256s and the probed hardware — machine-captured, in the row's receipt.
the full method
Categories, tuning rules, anomaly policy, what is not claimed, and how to reproduce a box from zero: the methodology page.