lucebox
lucebox copied to clipboard
Fast LLM speculative inference server for consumer hardware.
Hello, I'm not sure is this possible but I've seen this post: https://x.com/populartourist/status/2048758603595571487 and I was wondering would it be possible to integrate custom grammar into your implementation?
Cannot run Qwen3.6-27B on RTX 4090 24 GB: server.py loads both models eagerly, bench protocol works
## Summary The README claims **Qwen3.6-27B Q4\_K\_M at 128K on a single RTX 3090** (24 GB). I cannot reproduce this through `server.py`. The benchmark (`pflash/tests/bench_niah_cpp.py`) works because it uses a...
With greedy decoding (temperature 0), a turn that resumes from a prefix-cache checkpoint does not reproduce exactly across runs. **Observed** (Qwen3.8-27B UD-IQ4_XS + DFlash2, Strix Halo, single sequence, the same...
## Issue Description The `server/examples/chat.py` streaming implementation uses `subprocess.Popen(pass_fds=(w,))` to pass the pipe's write descriptor to the child process. However, `pass_fds` is not supported on Windows, causing the chat example...
{"body":"Correcting the likely-cause section: this is not the `mtp_prev_pos` invariant in `save_qwen4exp_snapshot()`. That guard does reject snapshots, but it is not what disables the cache here — the prefix-snapshot **allowance**...
### Bug Description The server returns HTTP 400 when an output-token alias is explicitly provided as JSON `null`. In `server/src/server/http_server.cpp`, `resolve_max_output_tokens()` checks whether an alias exists using `body.contains()` and immediately...
Hi, What you are doing is genuinely really exciting both on the software and hardware side. Not sure if this is the best place to ask this but I am...
## Summary On a R9700 (gfx1201, RDNA4) with the official `ghcr.io/luce-org/lucebox-hub:rocm` image, PFlash's scorer forward spends **98% of its time in the `FP` stage**, and that stage runs **~45× slower...
I wrote a small script that counts how many GPU kernel launches happen for one decoded token. It uses the built in torch profiler and counts the kernel events in...
Hello, Thanks for sharing this, looks great!! I’m trying to follow along and reproduce it with your scripts. One thing I noticed is prefill perf is much slower than the...