REPOMIND — Open-source repo-scale coding agent on a single MI300X (256K context, FP8, 31.31× concurrency, verified)

Hi AMD Developer Community,

Sharing a quick smoke-test result from the AMD Developer Hackathon 2026 (lablab.ai × AMD).

Project: REPOMIND — an open-source repo-scale coding agent designed to run entirely on a single AMD MI300X. MIT licensed. Solo entry.

Stack: Qwen/Qwen3-Coder-Next-FP8 (80B / 3B-active MoE, FP8 weights + FP8 KV cache) on vLLM 0.17.1 + ROCm 7.2.0, using the AMD Developer Cloud “Quick Start vLLM” image.

Verified on a single MI300X x1 ($1.99/hr) on 2026-05-05

Metric Value
Model weights in VRAM 77.29 GiB
Available KV cache memory 95.26 GiB
GPU KV cache size 2,080,752 tokens
--max-model-len 262144 (256K), Application startup complete
/v1/models max_model_len 262144 (verified via API)
Maximum concurrency at 256K 31.31× simultaneous full-256K users
VRAM peak 176.6 GiB / 191.7 GiB (92% utilization)
Cold start ~3.5 min (download + compile + warmup)
Warm restart ~1.5 min (model cached)
Generation throughput (8K, warm) 30 tok/s
Smoke test cost ~$1.00 of $100 credits

Full evidence (rocm-smi outputs, vLLM startup logs, JSON completion responses) lives in the repo under benchmarks/2026-05-05-mi300x-smoke-test/.

Why this matters

Qwen3-Coder-Next-FP8 + 256K context + FP8 KV cache cannot fit on a single H100 80GB by VRAM accounting (weights ~77 GiB + 256K KV ~38 GiB + activations + framework overhead exceed 80 GiB). MI300X 192 GiB has the headroom. This is the rare class of LLM workload where MI300X is empirically the only single-GPU answer today.

Feedback for AMD Developer Cloud team

  1. Onboarding was excellent — credits arrived in 2 hours, not 2 business days as the lablab event page implied.
  2. The vLLM 0.17.1 + ROCm 7.2.0 Quick Start image saved 30+ minutes of manual setup and just worked.
  3. Suggestion: a one-click “vLLM + Qwen3-Coder-Next-FP8” preconfigured template (with the model already pulled into HF cache) would shave another ~5 min and would be a strong default for future hackathons.
  4. The “MI300X 192GB single-GPU advantage at 256K FP8 vs H100 OOM” story is undersold in the current AMD Developer Cloud landing page. It is the killer use case for the platform in 2026.

Code and HF Space

Happy to answer questions about the SC-TIR-style agent loop or the 256K context configuration — reply in this thread.

-– Sardor Razikov, Independent ML Engineer, Tashkent

1 Like

Hi, nice work! The VRAM math is solid and the MI300X single-GPU advantage over H100 is real and well shown here. One thing though — 30 tok/s at 8K feels a bit slow for an 80B MoE model, did you try tweaking any vLLM settings to get that higher? Also the 31x concurrency is impressive but that assumes all users are hitting 256K context at the same time — what does it look like when most people are only using 8K–32K? That’s probably the number most people actually care about for real use.

Hi @Hakob_Arzumanyan, great questions - these are exactly the two
dimensions I went back to stress-test after the smoke result. Quick
answers, full evidence pack will drop with the lablab submission.

30 tok/s at 8K feels slow for an 80B MoE — did you try vLLM tuning?

That 30 tok/s came from the initial vLLM Engine log line during the
smoke run; it under-represents the warm steady state. In a fresh
stress-test session I measured the throughput sweep more carefully:

ctx prompt TTFT (stream) decode wall decode tps
32K 32,808 3.05 s 3.81 s ~9
64K 65,523 9.61 s 10.20 s ~3.5
128K 130,953 33.05 s 34.21 s ~1
256K 257,451 117.8 s 119.6 s ~0.31

The first observation is that decode wall is dominated by prefill at
long context - at 32K we get TTFT 3 s + ~0.7 s for 36 tokens, which is
~50 tok/s on the decode itself once prefill is paid. That matches what
you’d expect for an 80B/3B-active MoE in FP8 on a single MI300X.

Things I haven’t tuned yet that would likely improve raw decode:

  • enforce_eager=False (already default in 0.17.1)
  • chunked_prefill block size (running on default max_num_batched_tokens=8192)
  • AITER vs default attention backend
  • speculative decoding (would need a draft model)

If you have specific knobs you’ve found impactful on Qwen3-Coder-Next
FP8 on ROCm 7.2, I’m interested.

31x concurrency assumes 256K — what about 8K-32K?

Right - and this is where the chunked-prefix-cache assumption matters.
The vLLM 31.08x line is computed from KV-cache memory ÷ max_model_len,
which assumes prompts can share KV state. I empirically measured the
12-cell matrix:

ctx N success p95 agg tps
32K 1 1/1 3.6 s 9.95
32K 8 8/8 24.1 s 11.85
32K 16 16/16 48.2 s 11.87
32K 31 31/31 91.6 s 12.08
128K 8 8/8 265.9 s 1.10
128K 31 25/31 866 s 1.01 (6 timed out >900s)
256K 8 6/8 839 s 0.24
256K 31 6/31 846 s 0.24 (rest queued)

Two takeaways:

  1. At 32K, vLLM hits the theoretical 31x cleanly - 31 of 31 succeed
    with identical-prompt requests.
  2. Aggregate tps saturates at ~12 tok/s past N≈8 at 32K, which means
    the bottleneck past that is compute-bound prefill, not memory. So
    “N at 8K-32K” gets compute-limited well before it gets memory-limited.

For unique-prompt workloads - different repos per dev — the realistic
ceiling at 256K is 6-8 within a 15-min wall clock window. Most agentic
coding workloads land in 8K-64K context per query, where the picture
is friendlier: low p95 latency, ~12 tok/s aggregate, 31 concurrent
identical-prefix or 8-16 unique-prefix users supported.

Full JSON results + 3 plots (throughput, concurrency, cost) + raw
model outputs + rocm-smi snapshots will land in the repo at
benchmarks/2026-05-05-mi300x-stress-test/ when the lablab final
submission lands later this week.

Thanks for the pointed questions - exactly the kind of feedback that
sharpens the methodology.

- Sardor R

1 Like

thanks alot, this makes perfect sence

Hi Hakob — measured both questions you raised. Posting the data here

because it’s exactly the kind of detail that belongs on a community

forum, not buried in a hackathon submission.

== Q1: “30 tok/s at 8K feels slow” ==

That number was a cold-start outlier in my session-1 spot check (the

8K cell was the very first request after vLLM startup and ate the

torch.compile + CUDA-graph capture tail). I re-measured everything

hot, no startup contamination:

Hot single-user TTFT (default Triton attention backend):

8K  context: 0.46s

16K context: 1.55s

32K context: 3.20s

64K context: 10.0s

128K       : 33.0s

256K       : 117.8s

Linear in prompt size, exactly as theory predicts (prefill-bound).

Aggregate 31-user concurrent throughput, default Triton:

8K:  78.5 tok/s

16K: 31.4 tok/s

32K: 12.1 tok/s

64K:  3.6 tok/s

31/31 success at every one of those four contexts. So the realistic-

developer-workload range you asked about is solid.

== Q2: “concurrency at 8K-32K where most users live” ==

Full 24-cell matrix, default Triton, all 144 outputs clean:

     N=1    N=8    N=16   N=31 success

8K 36.5 69.4 75.2 78.5 (31/31 :white_check_mark:)

16K 21.2 30.2 30.9 31.4 (31/31 :white_check_mark:)

32K 9.95 11.85 11.87 12.08 (31/31 :white_check_mark:)

64K 3.41 3.57 3.60 3.61 (31/31 :white_check_mark:)

(numbers = aggregate completion tok/s)

At 128K we lose 6 of 31 to the 15-min timeout; at 256K compute

saturates around N=8 (this is from session 1’s 12-cell matrix).

== Bonus: vLLM tuning attempt — measured regression ==

You asked specifically if I tried any vLLM settings to push throughput.

I did. Tried --attention-backend ROCM_AITER_FA (AMD’s hand-tuned MI300X

attention kernels). Two findings:

Throughput went 2-4× higher under AITER:

8K  × 31:  78.5 -> 168.4 tok/s  (+114%)

16K × 16:  30.9 ->  89.9 tok/s  (+191%)

64K × 31:   3.6 ->  18.5 tok/s  (+411%)

TTFT @ 64K: 10.0s -> 3.54s      (\~2.8× faster)

AITER also reports slightly higher max concurrency at startup

(31.31× vs 31.08×) and a much faster torch.compile warmup

(~21s vs ~59s).

BUT: the output degenerated to repeating punctuation tokens on the

FP8 KV cache configuration. Out of 144 AITER cells, 137 produced

responses like:

"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"

…instead of real text. The few cells that stayed coherent were

mostly 8K N=1, where prefill is fast enough that the bug doesn’t

trigger (or triggers at a lower rate I couldn’t characterize from

one sample).

Default Triton on the same configuration: 0 of 144 cells broken.

So the tuning lever exists but has a caveat. Default Triton is the

production-safe choice on Qwen3-Coder-Next-FP8 + FP8 KV cache for now.

vLLM startup logs flag both q_scale and prob_scale as uncalibrated

for the FP8 attention path — likely related. Filing as an upstream

issue after the hackathon submission lands; happy to share the full

evidence pack with whoever owns the ROCm attention kernel path.

== Evidence pack ==

All numbers above reproducible from:

Two-session total: 124 min wall clock, $4.12 of credits.

Single MI300X x1, vLLM 0.17.1 + ROCm 7.2 Quick Start image.

Thanks for the question — surfacing this AITER regression in public

is more useful for the community than burying it in a hackathon

submission.

-– Sardor (Tashkent :uzbekistan:, REPOMIND)

Hi, thanks alot for your answer, i appreciate the time you have put into getting those numbers out. These totally answer my questions. I am amazed to see 31/31 success at 8k. Also on full 24-cell matrix it is pretty good results, thanks alot for sharing with us.

Thanks Hakob - glad the data closed the loop. The 8K all-pass was the
cleanest signal; on the 24-cell matrix the marginal cells (32K+ at high
concurrency) are where I want to do more rigorous evaluation next.

Next direction I’m exploring: public benchmarking on MI300X comparing
frontier models (Gemma 4, Llama 4, Qwen3 family) on calibration and
multilingual fairness, using the methodology I published at
Phase Transitions in LLM Epistemic Autonomy: The Epistemic Curie Temperature (Epistemic Curie Benchmark).

MI300X 192GB makes single-node multi-model comparison tractable in a
way H100 80GB can’t - that’s the angle I find most useful for the
ROCm ecosystem story.

Will share concrete results when ready.

- Sardor

Quick note for tracking — HF Space for the lablab AMD Hackathon submission is at:

Per the lablab team the HF Special Prize is community-vote-based, so any visibility from the AMD ecosystem is appreciated. Will continue updates here as the AITER FP8-KV regression investigation moves forward.

2 Likes

Thank you. Repomind looks good. I will run it on the AMD developer cloud.

1 Like

Hi Andy,

Thanks — happy to help if you hit anything. Three quick pointers to save you setup time:

  1. The Quick-Start `vLLM 0.17.1 + ROCm 7.2.0` image on AMD Developer Cloud is the fastest path — no manual ROCm install needed. Total cold start ~3.5 min including weight download + warmup.

  2. Canonical reproduction command (Application startup complete in ~3.5 min):

vllm serve Qwen/Qwen3-Coder-Next-FP8

--max-model-len 262144

--kv-cache-dtype fp8

--port 8000 --host 0.0.0.0

--gpu-memory-utilization 0.92

  1. Quality-vs-throughput trap worth knowing: `–attention-backend ROCM_AITER_FA` gives 2-4× higher throughput on this model, **but** in my testing it degenerated 137/144 outputs to repeating punctuation. Default Triton backend produced 0/144 broken outputs. Full evidence + cells documented in `benchmarks/2026-05-05-mi300x-smoke-test/`. Recommend sticking with default backend on Qwen3-Coder-Next-FP8 until upstream resolves.