r/ROCm • u/Bunsenbun • 1h ago
Nib 0.4.0 major [UPDATE]
This is an update to an earlier release..
Nib now has full support for ISTA LABs quants.
Better Prefill for rdna4 cards.
Dflash and Dspark drafter support.
r/ROCm • u/Bunsenbun • 1h ago
This is an update to an earlier release..
Nib now has full support for ISTA LABs quants.
Better Prefill for rdna4 cards.
Dflash and Dspark drafter support.
r/ROCm • u/Filters83to • 12h ago
nari-labs/Qwen3.8-27B-NariQ-GGUF, the NariQ Qwen3.8-27B GGUFs. All tests and numbers on this page use Qwen3.8-27B-NariQ-3.0bpw.gguf (3.0 bits per weight), together with the vision projector and the DFlash2 draft (see Models). The 2.5 and 2.0bpw files use the same code but were not measured.
Stock llama.cpp (ggml-org master) cannot load NariQ files. So the reference for the comparison below is nari-llama.cpp itself, not ggml-org master.
nariq/b12431**:** the NariQ release b12431-nariv0, on upstream llama.cpp b12431.057395dec, 25/11/2026). It runs the Trellis products on gfx12 WMMA on Linux, without the speculative draft.ec3dac264). This brings the recent llama.cpp server, DFlash/DSpark speculative decoding and the HIP improvements.nariq-hip of this repository (e003768ba, build 12914).All the detail on https://github.com/Filters83/nariq-hip-rdna4
Hope can help 😄
r/ROCm • u/returnity • 1d ago
r/ROCm • u/PadhaLikhaMajdur • 21h ago
r/ROCm • u/NeoGokuTM • 2d ago
Hey everyone,
I'm looking for recommendations from people running local LLMs on similar hardware.
My PC specs:
- CPU: AMD Ryzen 7 7800X3D
- GPU: AMD Radeon RX 7900 XTX (24GB VRAM)
- RAM: 64GB DDR5 6000 MT/s
- Storage: NVMe SSD
- OS: Windows
My current setup:
- LM Studio
- OpenCode
- Persistent long-term memory using Obsidian and MCP
- Remote access from my Android phone via WireGuard
My goal:
I want to build a fully local alternative to Claude Code or Codex that can autonomously work on large repositories, implement complex features, fix bugs, run tests, and handle GitHub operations.
I've already tested:
- Qwen3.6-35B-A3B Heretic MTP
- Qwen3-Coder-30B-A3B Abliterated
- Qwen3.8-27B Uncensored AD
- Devstral Small 2 24B Abliterated
- Muse Glimmer 30B Heretic
Qwen3.6 currently performs best in my tests, reaching around 140–196 tokens/s. However, I'm experiencing issues with premature task termination, hallucinations, repetitive file analysis, and unreliable autonomous execution. Some of these issues might be caused by my OpenCode configuration rather than the model itself.
My questions:
- Which model are you currently using on similar hardware?
- Which model would you recommend for complex, autonomous coding?
- Which quantization and inference settings work best for you?
- Are you using Vulkan or ROCm?
- What context size can you run reliably?
- Which coding agent or frontend gives you the best results?
- Have you found a model that reliably completes large development tasks without constant supervision?
I prioritize code quality, reliable tool calling, reasoning, and autonomous task completion over raw generation speed.
I'm particularly interested in real-world experiences rather than theoretical benchmark scores.
Thanks!
r/ROCm • u/evp-cloud • 2d ago
While we patiently wait for Qwen 4 to drop, we decided to jump on another seemingly popular model.
Thinking Machines' Inkling 2 Mini
We got it running on our R9700 with the full 1,048,576-token context (and then some).
vLLM 0.32 can't load this model, so this is vLLM 0.32.1 with our Paiton plugin and native HIP kernels.
Many speeds you see floating around are greedy (temperature 0), on short code prompts, with an empty context.
The drafter guesses most tokens right in that case, so those numbers come out high.
We show our own best case too (short prompts, an empty context, 512-token replies), so you can compare.
Our normal numbers are the harder case: the model's default temperature of 1.0, prose, a fresh server with nothing cached, and the context really filled (the 1M run reads a 1,038,312-token prompt).
| Default | Fast (--fast) | Super fast (--w3) | |
|---|---|---|---|
| Context per request | 1,048,576 | 524,800 | 1,048,576 |
| Weights | the publisher's, unchanged | the publisher's, unchanged | 3-bit experts, 8-bit attention projections |
| Output | the model's own | the model's own | close to the default |
Best case, one request, empty context, 512-token replies (LocalMaxxing's code-v1 and reasoning-v1 speed tests), tok/s:
| Default | Fast | Super fast | |
|---|---|---|---|
| Best run | 177.6 | 166.6 | 201.3 |
| Mean, code-v1 / reasoning-v1 | 165.4 / 164.4 | 152.0 / 166.6 | 194.4 / 198.2 |
Normal use, temperature 1.0, prose, nothing cached, tok/s:
| Default | Fast | Super fast | |
|---|---|---|---|
| 1 request, empty to 128K context | 87 to 98 | 97 to 106 | 153 to 180 |
| 1 request, 262K context | 91.5 | 88.3 | 145.5 |
| 1 request, 524K context | 78.2 | - | 112.5 |
| 4 requests at once (total), empty to 128K | 213 to 250 | 230 to 246 | 356 to 400 |
| Prompt reading, 8K to 128K | 3,089 to 3,940 | 4,022 to 5,562 | 4,081 to 5,715 |
The speed tests are the mean of four runs for the default, one run for fast and two for super fast; the accepted drafts move a single run by up to 15 %.
The other rows come from LocalMaxxing's matrix and its long-context runs.
We didn't run fast at 524K, and it has no 4-request number at 128K because four 128K requests don't fit its cache.
On LocalMaxxing: the fast matrix and the super fast matrix.
Fast reads prompts in 2,048-token chunks and checks 4 drafts per step instead of 5.
It keeps the default's weights and draft check, so greedy replies to prompts of up to 512 tokens are the same tokens.
On short code, tool and chat replies it is about 4 % slower than the default.
Super fast runs 3-bit experts we made from the publisher's checkpoint (EliovpAI/Inkling-2-Mini-W3-INT3-Paiton-RDNA4, the launcher downloads them), 8-bit attention projections and a relaxed draft check.
Some accuracy loss is normal for 3-bit.
This is version 1 of these weights, and we'll improve them step by step, as we did with our 3-bit Qwen3.8 27B.
| Prompts | 3-bit picks the bf16 model's next token | Two bf16 runs agree | Added KL per token |
|---|---|---|---|
| Up to 128K tokens | 95.28 % | 97.18 % | 0.019 |
| 256K (5 documents) | 94.24 % | 95.94 % | 0.014 |
| 512K (5 documents) | 95.01 % | 97.09 % | 0.017 |
It still finds all 76 codes planted in the 2K to 512K documents, and it scores 34 of 35 on our task set, the same as the default.
Default version, one request on a fresh server, nothing cached.
Ten facts hidden from 1 % to 99 % depth, one question about all of them, temperature 1.0:
| Cache | Prompt tokens | Prompt speed | First token | Generation | Facts found |
|---|---|---|---|---|---|
| 4-bit (default) | 1,038,312 | 1,185 tok/s | 14 min 36 s | 117.4 tok/s | 9/10 |
| 4-bit (default) | 260,062 | 2,542 tok/s | 102 s | 141.8 tok/s | 9/10 in the reasoning, cut off at 4,000 tokens |
| fp8 | 464,862 | 1,825 tok/s | 255 s | 100.5 tok/s | 10/10 |
| fp8 | 260,065 | 2,410 tok/s | 108 s | 105.0 tok/s | 10/10 |
| bf16 | 239,584 | 2,475 tok/s | 97 s | 99.6 tok/s | 10/10 |
Super fast found 10 of 10 in a 1,038,311-token prompt: it read the prompt at 1,317 tok/s, then generated at 125.5 tok/s.
| Cache | Tokens per request | KL per token against bf16 | Task set |
|---|---|---|---|
| 4-bit (default) | 1,048,576 | about 0.005, the same out to 512K | 34/35 |
| fp8 (--kv-cache fp8) | 558,496 | nothing we can measure | 34/35 |
| bf16 (--kv-cache bf16) | 279,248 | - | 34/35 |
vllm bench serve, 1K-token prompts, 512 tokens out, total tok/s, four fresh servers (off, on, on, off):
| Requests | Greedy, off | Greedy, on | T 1.0, off | T 1.0, on |
|---|---|---|---|---|
| 1 | 68.8 | 151.3 | 68.9 | 129.4 |
| 2 | 112.1 | 200.9 | 112.1 | 200.5 |
| 4 | 170.7 | 284.9 | 169.5 | 295.2 |
The drafter is on by default (--no-drafter turns it off).
First token on a 1K prompt: about 0.3 s.
git clone --depth 1 https://github.com/Eliovp-BV/paiton-vllm-plugin.git
cd paiton-vllm-plugin
./models/Inkling-2-Mini/serve-docker.sh # default
./models/Inkling-2-Mini/serve-docker.sh --fast # fast
./models/Inkling-2-Mini/serve-docker.sh --w3 # super fastOpenAI-compatible API.
Full tables with p50/p90/p99 latencies: Here
This is our first version and we'll keep working on optimizing these results.
A 16 GB GPU supported version is in the works.
r/ROCm • u/PadhaLikhaMajdur • 2d ago
New to local models, and this is my first ROCm setup. Sharing numbers in case they help another 7800 XT owner, and asking what to try next.
Questions
r/ROCm • u/Leather-Resist896 • 2d ago
Hi r/ROCm,
NVIDIA DeepStream is the go-to toolkit for multi-camera video analytics, and it only runs on NVIDIA. I've been building an open-source counterpart for AMD: Redstream (LGPL, GStreamer plugins on ROCm, HIP, rocDecode and MIGraphX).
https://github.com/redstream-dev/redstream
What works today (pre-alpha):
nvinfer config files (DeepStream custom bbox parsers recompile against a compat header)nvstreammux -> rdsstreammux, nvinfer -> rdsinfer, …), so a DeepStream app ports with renames. Every element has a reference page, including how it differs from DeepStream.Frames stay in GPU memory from decode through inference, tracking, analytics, tiling and OSD. The README says exactly where they leave it (encode and display, for now).
The catch: so far it has only run on one GPU, my 2-CU RDNA2 iGPU of a Ryzen 9 7900X, through HSA_OVERRIDE_GFX_VERSION. Even there, four 720p streams run through detect -> track -> tile -> OSD at about 45 fps in total (YOLO11n). I'd love to know what a real card does, and whether it works at all.
If you have an RDNA2/3/4 card or a Strix Point/Halo APU, there's a tester checklist here:Â https://github.com/redstream-dev/redstream/issues/1
It's a Docker build, the test suite, and one benchmark line to paste back. Bad results and crashes are just as useful as good ones.
Known limits: Linux only (Windows/WSL untried), no prebuilt image yet (the build takes about 4 minutes on a fast machine, plus the downloads), and APIs will change. Questions, critique and "you should look at X" are all welcome.
r/ROCm • u/Common_Sorbet3873 • 2d ago
I'd like to share some benchmark results for QingMing Flat2, a GPU exact vector search implementation, comparing it against hipVS, Faiss ROCm, and mcFaiss.
The goal is to provide performance and numerical accuracy data for the community to review and discuss.
Interactive benchmark report:
https://uulong950.github.io/qingming-flat2-benchmarks/
Six datasets were evaluated on both devices:
| Dataset | Database size | Dimensions | Metric |
|---|---|---|---|
| SIFT1M | 1M | 128 | L2 |
| GIST960 | 1M | 960 | L2 |
| Llama-128-IP | 257K | 128 | Inner product |
| LAION-CLIP-512 | 1M | 512 | Inner product |
| GloVe-100-Angular | 1.18M | 100 | Cosine |
| DEEP10M | 10M | 96 | L2 |
Geometric mean speedups based on GPU P50 latency, across the tested Batch × Top-K configurations for each dataset:
| Dataset | C500 vs mcFaiss | AMD vs hipVS | AMD vs Faiss ROCm |
|---|---|---|---|
| SIFT1M | 3.26× | 4.23× | 3.92× |
| GIST960 | 1.29× | 4.80× | 4.40× |
| Llama-128-IP | 2.55× | 3.19× | 2.31× |
| LAION-CLIP-512 | 1.70× | 3.05× | 2.37× |
| GloVe-100-Angular | 3.17× | 3.57× | 2.98× |
| DEEP10M | 4.16× | 3.42× | 3.67× |
| Overall geometric mean | 2.49× | 3.66× | 3.18× |
The overall figures are dataset-balanced geometric means: each dataset contributes equally after aggregating its measured workload configurations.
All comparisons are within the same device. These numbers should not be interpreted as rankings between AMD and MetaX hardware.
The published evidence includes:
GPU timings exclude offline index construction and final result transfers. Reported QPS is a batch-throughput estimate, not sustained service throughput.
Limitations: The core QingMing Flat2 kernels are not yet publicly available, and the published evidence does not establish exhaustive correctness for every query. These are project-reported measurements, not independently reproduced results.
I'd be interested in feedback on:
The intention is to share auditable measurement evidence and encourage technical discussion rather than claim universal superiority.
Full interactive results, raw CSVs, and environment details:
https://uulong950.github.io/qingming-flat2-benchmarks/
GitHub repository:
https://github.com/uulong950/qingming-flat2-benchmarks
r/ROCm • u/Public-Luck1904 • 3d ago
After getting CaRtGS to build on AMD, the moment I was waiting for was seeing it reconstruct a room on Strix Halo. The next question was whether maintaining HIP source would also cost us performance on NVIDIA. So we timed two builds on the same RTX 4090.
The timings were closer than I expected. Across six saved rasterizer backward workloads, the paired medians ranged from 0.42% faster to 0.24% slower with HIP. Both builds used CUDA 12.8 on the 4090. HIP’s NVIDIA backend uses nvcc and the CUDA runtime. AMD HIP porting guide
There’s a reason this could help more than one project. CaRtGS, RTG-SLAM, SplaTAM, and MonoGS all use variants of the original Graphdeco/Inria rasterizer. That’s the GPU code that turns splats into pixels and computes gradients for optimization. Each project has its own extensions, but they inherit many of the same building blocks. Original rasterizer · SplaTAM dependency · MonoGS dependency
I’d like to use CaRtGS and my RTG-SLAM port to build a small shared HIP layer. Start with a portable scan or sort call and one saved-input parity test used by both repos. Expand to stream handling and logical subgroups once we know the first piece pulls its weight. My RTG-SLAM ROCm port
Starting a new GPU research project or weekend hack? Give it two build targets on day one. Write your custom kernels in HIP, build the same source with ROCm on AMD and CUDA on NVIDIA, and run one small correctness test on each. Finding dependency and subgroup assumptions while you’re writing the kernels can save the next person a separate port just to try your idea. AMD HIP compiler guide
I’m sharing this in a few places because the benchmark and the port raise different questions. Here I’d especially value the experience of people maintaining ROCm builds.
If you’re starting a project, would a small starter repo with both builds help? If you’ve already ported a splatting system, which piece did you end up reimplementing? I’d love to compare notes with anyone willing to try a first shared test on Radeon or Instinct.
First image. Same-card 4090 backward timings. Second image. One held-out view from a separate 300-frame Strix Halo pilot. Scene by the Replica Dataset authors. CaRtGS upstream · Replica Dataset


r/ROCm • u/BhatSahab • 3d ago
r/ROCm • u/Bunsenbun • 3d ago
r/ROCm • u/TJSnider1984 • 3d ago
Title says it all.. Ubuntu 26.10 is not able to install ROCM 10.2, though 10.1 runs on it after the upgrade..
r/ROCm • u/raspy00135 • 4d ago
Video shows ~100 tok/s live on a single 16 GB Radeon RX 9070 XT on Windows 11 (Adrenalin 26.10.44, monitor on motherboard iGPU so the card holds just the model).
I built SmallTide from scratch in Rust + raw RDNA 4 HIP kernels, no ROCm SDK, no Python, no PyTorch/llama.cpp needed to run.
Unlike GGUF re-quantizations, it runs Inkling-2-Mini's official native checkpoint weights directly (NVFP4 + MXFP8 experts), keeping ~99% of routed expert weight resident in dedicated GDDR6 VRAM (with fast PCIe rescues from RAM for misses), elastic 32K→128K k8v4 paged KV, and lossless DFlash 2 (incoai/Inkling-2-Mini-DFlash2) speculative decoding.
| Workload | Throughput | Peak |
|---|---|---|
| Essay (prose, 1K out) | 87.0 tok/s | 90.9 tok/s |
| Code (code, 1K out) | 91.0 tok/s | 93.8 tok/s |
| File refactor (edit, 1.4K in / 1K out) | 109.1 tok/s | — |
Reasoning (code --thinking, 1K out) | 115.2 tok/s | 124.3 tok/s |
| One-shot HTML games (angry-birds / mario, 6K–8K out) | 114.4 / 126.2 tok/s | — |
Fidelity: ~98–99% VRAM hit rate, 0.3%–0.6% skipped routing weight, and ~96% top-1 agreement vs. full-expert loading.
Repo: https://github.com/raspy135/SmallTide
Pre-built Windows releases embed both gfx1201 (RX 9070 / 9070 XT) and gfx1200 (RX 9060 XT 16 GB). I only have a 9070 XT to test on — if anyone tries it on a 9070 or 9060 XT 16 GB, I'd love to hear your .\smalltide.cmd probe and benchmark results!
r/ROCm • u/OneLifeLeft0101 • 3d ago
r/ROCm • u/Glittering-Cold-2981 • 3d ago
Do you have any proven methods for running Minimax H3 with Comfy Kitchen Attention—specifically, where the video duration (in seconds) multiplied by the resolution (in MP)—for example, 1s x 1MP—results in a value greater than 27 on an R9700 AI PRO 32GB? I’ve managed to run Sage Attention with a value of around 32.5, but I’d like to achieve this using Comfy Kitchen. Is there any way to increase the capabilities of this GPU without encountering OOM (Out of Memory) errors while running on Linux?
r/ROCm • u/NinjaRealistic8767 • 3d ago
r/ROCm • u/Pretty-Guest-6692 • 3d ago
I've got a dgx spark for development, and would like to write code for both Nvidia (Ampere, Hopper) and AMD (Instinct) GPUs. It runs an Ubuntu 24.04 derivative.
I'm trying to build AMD's TheRock from git (10.2+), but keep failing when it comes to quadmath, as there's no libquadmath0 for arm64. Can I somehow work around this?
r/ROCm • u/mikebmx1 • 4d ago
The moat repo of amd in GitHub seems to spread a number of agents adding HIP support to notable projects. They Jeffrey daily an AMD fellow seemed to add HIP support to tornadovm so now you can run Java on AMD hw with rocm.
r/ROCm • u/BhatSahab • 4d ago
r/ROCm • u/Ok_pettech • 5d ago
Setting up PyTorch with CUDA support often breaks over mismatched GPU drivers, toolkit versions, or environment paths. A single version conflict can leave PyTorch stuck on the CPU.
​This step-by-step guide walks through checking your NVIDIA driver and CUDA compatibility, installing PyTorch with GPU acceleration cleanly, and verifying that torch.cuda.is_available() works as expected. It cuts out the guesswork so you can start training and testing models faster.
​Check out the full walkthrough here: https://interconnectd.com/forum/thread/248/pytorch-on-amd-gpus-complete-rocm-setup-tuning-guide/
What OS and GPU setup are you working with, and are you hitting any specific CUDA errors right now?
r/ROCm • u/CarGold87 • 6d ago
TL;DR: I optimised a native engine (based on Strata's strata-ink2) that runs Inkling-2-Mini (looped 26B MoE, 1M context) on a single 24 GB RX 7900 XTX with 32 GB RAM, on Windows. It is the real 1,048,576-token context, int8 KV cache, Unsloth UD-Q8_K_XL weights, nothing truncated or skipped. A 1M prompt takes ~37 min to read, then it decodes at ~10 tok/s. llama.cpp on the same box does ~1 tok/s with the experts on the CPU and can't do 1M at all.
Setup
Numbers (same machine, logs are in the repo)
| llama.cpp | this engine, first HIP port | this engine now | |
|---|---|---|---|
| Prefill, 32K prompt | 452 tok/s | 1,677 tok/s | ~3,090 tok/s |
| Prefill, 256K prompt | not measured | 272 s | 119 s |
| Prefill, 1M prompt | does not fit | 52 min | 37 min |
| Decode, 16K context | ~1 tok/s | 73 tok/s | 81 tok/s |
| Decode, 256K context | not measured | 18 tok/s | ~52 tok/s |
| Decode, 1M context | does not fit | ~7 tok/s | ~10.5 tok/s |
1M retrieval: 9/9 exact matches (8 planted facts at different depths plus a multi-hop question). Accuracy against a llama.cpp CPU reference: mean KL ~0.0023 over 4x512 tokens (llama.cpp's own HIP backend: 0.0030-0.0033).
What made it faster
What did not work: a register prefetch in the attention kernel (it spilled), speculative decoding with the model's own draft head (a verify costs ~3 decode steps and gives ~2.3 tokens, so it is slower), and smarter expert-cache policies (at a few percent cache even an oracle policy saves only ~40 % of the traffic).
Caveats, please read
llama-batched-bench, experts on the CPU, flash attention on). Its own expert cache could do better. At 1M it builds the relative attention bias as a dense tensor (~51 GB per layer), so it simply does not fit.Links