# tqllm **Repository Path**: attnsoft/tqllm ## Basic Information - **Project Name**: tqllm - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-11-08 - **Last Updated**: 2026-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

tqllm

# tqLLM [![Buy Me a Coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-davidytan2000-BD5FFF?logo=buymeacoffee&logoColor=white)](https://www.buymeacoffee.com/davidytan2000) [![GoFundMe](https://img.shields.io/badge/GoFundMe-support%20TQLLM-00B964?logo=gofundme&logoColor=white)](https://gofund.me/0f79d4274) C++ inference for supported Qwen models and TurboQuant GGUF weights on NVIDIA GPUs (CUDA) and Apple Silicon (Metal), with an OpenAI-compatible HTTP server. [Quick start](docs/guides/quickstart.md) | [Documentation](docs/README.md) | [Benchmarks](docs/BENCHMARKS.md) | [Credits](docs/CREDITS.md) **New in [1.4.4](https://github.com/turbo-tan/tqllm/releases/tag/v1.4.4)** (same machine, same session for every comparison): - **DGX Spark, Qwen3.8-27B:** prompts up to 1.42x faster than TensorFold 1.2.3 in its own record setup (8 slots x 131,072), faster at every length from 2K to 128K, also on TensorFold's own EXL3 file. - **RTX 3090, Qwen3.8-Flash-Next (125B MoE, 6B active):** with 2 to 12 users at once, up to 34 % more total output than Strata 0.2.12; no more out-of-memory on long answers on 24 GB cards. - **Mac, Qwen3.8-27B 4-bit (48 GB M5 Pro):** answers 8-44 % faster than Splash 1.5.0 from 16K to 128K, and a 256K context where TensorFold does not fit. Install with `brew install turbo-tan/tap/tqllm`. - **New files:** Unsloth Dynamic v3.1 Flash-Next GGUFs, NVIDIA's NVFP4 Flash-Next experts, Qwen3.8-27B EXL3 folders. Flash-Next setup (RTX 30 or newer with 24 GB and 64 GB RAM, or a GB10): [YTan2000/Qwen3.8-Flash-Next-tqLLM](https://huggingface.co/YTan2000/Qwen3.8-Flash-Next-tqLLM). [Benchmarks](docs/BENCHMARKS.md). ## Supported models Checked on the release build: the model loads and answers a fixed question correctly (1.4.4: RTX 3090, M5 Pro Mac). | Model | Files tqLLM loads | Hardware | 1.4.4 check | |---|---|---|---| | Qwen3.8-27B and fine-tunes (e.g. Qwopus3.8) | TQ3_4S, TQ_L / TQ4, K-quant and IQ GGUFs; EXL3 folders; DFlash2 and MTP drafters | NVIDIA, 16 GB and up; DGX Spark / GB10 | passed | | Qwen3.8-27B on a Mac | mlx-community 4-bit, TQ_L, QSA files ([Mac guide](docs/guides/mac.md)) | Apple Silicon (48 GB tested) | passed | | Qwen3.8-Flash-Next (125B MoE, 6B active) | `.tqfn` manifest over the public IQ3_S GGUF, tqLLM's own file, Unsloth Dynamic v3.1 GGUFs, NVIDIA NVFP4 experts | 24 GB GPU + 64 GB RAM; DGX Spark / GB10 | passed | | Qwen3.5 / Qwen3.6 27B | same formats as Qwen3.8-27B (same architecture) | NVIDIA | not re-run for 1.4.4 | | GLM-5.3-Flash, MiniMax-M3.1-Flash | GSQ GGUF; EXL3 folder ([guide](docs/guides/gb10-big-moe.md)) | one GB10, one request | not re-run for 1.4.4 | Not supported yet: Qwen3.5 sizes with tied embeddings (4B and smaller: the file has no `output.weight`), and Qwen3.5 / 3.6 mixture-of-experts GGUFs (`qwen35moe`, such as Qwen3.6-35B-A3B) are not verified on 1.4.4. ## See what your model is doing Watch prefill, output rates and hardware use in one view. Both rates stay in the same request card. Open `http://localhost:8086/` or `/monitor` on the API port. No frontend build, extra service or second port is required. ![Prefill and output rates together in the tqLLM monitor](docs/demos/monitor/completed.png)
Watch the 50-second monitor walkthrough [![Monitor usage recording](docs/demos/monitor/walkthrough.gif)](docs/demos/monitor/walkthrough.mp4) 20-second preview above; [full video and step-by-step instructions](docs/demos/monitor/README.md). Recorded with a real model. The local hostname is hidden; telemetry is unmodified.
## Run locally On a Mac (Apple Silicon, macOS 15 or newer): ```sh curl -fsSL https://tqllm.com/install.sh | bash # or: brew install turbo-tan/tap/tqllm tqllm serve # first run downloads the model and drafter tqllm claude # Claude Code pointed at the local server (or: tqllm codex) ``` More in the [Mac guide](docs/guides/mac.md). The steps below are for Linux with an NVIDIA GPU. Place a supported Qwen GGUF at `models/model.gguf`, then build from source: ```sh cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CUDA_ARCHITECTURES=native cmake --build build --target tqserve -j4 ./build/tqserve --model models/model.gguf --port 8086 ``` Open **[localhost:8086](http://localhost:8086/)** for the monitor. Applications use the same server at `http://localhost:8086/v1`. Prefer Docker? The prebuilt image (x86-64 and arm64) runs the same server: ```sh docker run --rm --gpus all -p 127.0.0.1:8086:8086 -v "$PWD/models:/models:ro" --entrypoint tqserve \ ghcr.io/turbo-tan/tqllm:1.4.4 --model /models/model.gguf --host 0.0.0.0 --port 8086 ``` or build it locally with `docker compose up --build`. See [installation and requirements](docs/guides/quickstart.md). ## Choose your next step | You want to... | Read | |---|---| | Run on a Mac (Apple Silicon, Metal) | [Mac](docs/guides/mac.md) | | Download a model and add a drafter | [DFlash2 and MTP](docs/guides/speculative-decoding.md) | | Run MiniMax-M3.1-Flash or GLM-5.3-Flash on a DGX Spark / GB10 | [Big MoE models on one GB10](docs/guides/gb10-big-moe.md) | | Run on an RTX 5090 (numbers, what is automatic) | [RTX 5090](docs/guides/rtx-5090.md) | | Use a local coding agent | [Agent setup](docs/guides/coding-agents.md) | | Serve several users or tune memory | [Server options](docs/reference/options.md) | | Run a longer context | [TqCache](docs/guides/long-context.md) | | Understand TQ3, TQ4 and compatible formats | [Weight formats](docs/reference/formats.md) | | Inspect latency, compare requests and extend the dashboard | [Monitor guide](docs/MONITOR.md) | ## Contribute and credits See [CONTRIBUTING.md](CONTRIBUTING.md) for building, testing and contribution requirements, and [the architecture guide](docs/ARCHITECTURE.md) for the source map. Built on work from Qwen, ggml/llama.cpp, Google Research, z-lab, Tom Turney, spiritbuun, turboderp ([ExLlamaV3](https://github.com/turboderp-org/exllamav3): the trellis format and kernels behind X3 and our EXL3 support) and the contributors listed in [Credits](docs/CREDITS.md). Third-party notices remain in [NOTICE](NOTICE). Thank you to our community testers. tqLLM is created by David Y. Tan and licensed under Apache-2.0: if you copy or redistribute it, keep the [NOTICE](NOTICE) file's credit with your copy. Model weights and third-party components retain their own licences.