AI generated
Confident
Thanks for this, really nice work! Tested the 3.05 bpw on a single 7900 XTX (ROCm 10.2, i7-13700KF so no AVX-512, 32 GB RAM, branch amd-exl3-community @ d5068a9). Single-slot results match your numbers. Multi-slot is a different story, so here's some feedback.
1 slot (--max-context 131072 --kv q8_0, default --resident all):
- 20.75 GB VRAM loaded, so ~5 GB free
- 72k-token prompt: 4,111 tok/s prefill, decode 141.7 tok/s (code prompt, MTP)
- 30/30 on a needle test (30 facts spread from 2% to 98% depth in 72k tokens of code)
- same machine, llama.cpp IQ4_XS: 2,904 tok/s prefill, 143 tok/s decode, also 30/30
2 slots × 125k, --kv q4_0: what I hit along the way.
run_exl3.pyhas no way to set"parallel"in the server config. Passing--batch 2fails becauseserver.pyrejects it as an unknown argument. I added a small local--parallel Nflag that writes"parallel": Ninto the generated config.- The default
--resident allrefuses batching. The engine says "Qwen EXL3 resident backing needs … one GPU stage and sequence (no layer split or --batch)".--cpu offalone isn't enough. - What works:
--parallel 2 --cpu off --resident 0withSTRATA_BATCH_MTP=1. KV q4_0 is fine, 0.92 GiB per 125k slot.
Results with that config:
- 24.68 GB VRAM (the expert cache fills what's left)
- 72k prompt: 2,762 tok/s prefill (vs 4,111 single-slot), decode 142.1 tok/s solo
- 2 concurrent requests: 87.4 + 85.3 = ~171 tok/s combined, MTP acceptance 80.7%
- still 30/30 on the needle test
So with 2 slots the prefill advantage goes away and it ends up slightly behind llama.cpp. The fast path seems to be tied to --resident all. Is batching with resident experts on the roadmap? Being able to run an orchestrator plus a sub-agent with your single-slot prefill speed would be amazing. Happy to test builds if that helps.