How unsignedchad/qwen4-freetoken-mtp works
This repository packages launch profiles for Qwen4 inference with FreeToken and llama.cpp, plus reproducible replay and benchmark material. The principal workflow is to start one configured server, send requests with the replay client, and inspect measured results. The README also documents distinct MTP, DFlash2, context, and fused/offload profiles. Source excerpts were unavailable, so relationships below are limited to those stated in the README; launcher internals and patch behavior are not inferred.
Main entry points: serve-linux.sh Linux launcher · README.md Runtime setup · replay.py Request replay · dflash2-results.json DFlash2 results
Components 14
Runtime profiles
- Linux launcher
runtime/serve-linux.sh - Runtime setup
runtime/README.md - Model checksums
runtime/model-files.sha256
Qwen4 port
- FreeToken Qwen4 patch
port/freetoken-qwen4-public.patch - DFlash2 patch
port/freetoken-qwen4-dflash2.patch
Benchmark execution
- Request replay
benchmarks/replay.py - DFlash2 methods
benchmarks/DFLASH2.md
Measurements
- Replay observations
benchmarks/observations.json - DFlash2 results
benchmarks/dflash2-results.json - Public benchmark
benchmarks/public-benchmark.json - Comparison graphics
benchmarks/generate_all_methods_figure.py - Initial MTP graphic
benchmarks/generate_figure.py
Other components
- Operator
- Inference server
Connections 10
- Operator → Linux launcher: starts profile
README.md - Operator → Request replay: runs replay
README.md - Linux launcher → Inference server: starts server
README.md - Request replay → Inference server: sends requests
README.md - Runtime setup → Linux launcher: documents launch
README.md - Runtime setup → Model checksums: checks files
README.md - Replay observations → Comparison graphics: provides records
README.md - DFlash2 results → Comparison graphics: provides records
README.md - Public benchmark → Initial MTP graphic: provides measurements
README.md - DFlash2 methods → DFlash2 results: describes methods
README.md