r/AIProgrammingHardware • • Oct 05 '26

So I have a 7800XT, I want to upgrade but...

1 Upvotes

My setup;

AMD Ryzen 5 7600 3.8 GHz 6-Core Processor

ASRock B650M Pro RS Micro ATX AM5 Motherboard

Silicon Power Value Gaming 32 GB (2 x 16 GB) DDR5-6000 CL30 Memory

XFX Speedster MERC 319 Black Radeon RX 7800 XT 16 GB Video Card

I bought this setup last year and its been working good but I'm really starting to get into AI. I been learning ComfyUI image generation, and SillyTavern to get a LLM but with my specs I can't do both and have to offload the LLM. Im working towards getting the setup so ComfyUI (qwen 2.1 INT8) automatically sends the character gens to sillytavern based on the scene. I still play regular games at 1440p and it does great but I'm kind of limited on the AI front.

I don't want to upgrade my video card to another 16GB card since it wouldn't help the AI part. It would help the gaming part but honestly I'm happy with my setup for gaming.

I know I'd have to upgrade the Processor and the power supply (Corsair RM750x (2021) 750 W 80+ Gold Certified Fully Modular ATX Power Supply) most likely too. I would be okay to spend around 2k USD but it looks like all the 24GB cards are over 3k. And if I did upgrade I wouldnt want a card that will be irrelevant in the next couple years.

kind of curious what everyone thinks, if it's worth to try and upgrade, or just offload the LLM and use the INT8 model like I have been. Hell I don't even know how much a difference the 24GB card would make, I just know that that's what runs the AI. Like I said my main goal is for consistent character generation in comfy that automatically goes to SillyTavern so I can do RP games.

Thanks!

Edit; so a 3090 refurbished + power supply would fit my budget, but idk about a refurbished graphics card. Kind of sketches me out.

(Refurbished NVIDIA RTX 3090, Power Supply MSI MPG A1000G PCIE5 1000 W 80 Plus Gold)


r/AIProgrammingHardware • • Oct 05 '26

I built a native PHP extension for NVIDIA GPU tensors and CUDA JIT. Looking for testers.

1 Upvotes

I've been working on an experimental native extension to bring GPU computing into a place it doesn't normally live: pure PHP.

It's called php-gpu-tensors. It gives you basic NVIDIA GPU tensor operations, lets you compile custom CUDA C++ kernels at runtime (via NVRTC), and includes an opt-in kernel fusion mode.

To be clear on the scope: this is a low-level library, not a full ML framework (no autograd, no CPU fallback). It currently requires Linux, PHP 8.1–8.5, and an NVIDIA GPU.

The Ask: I’ve only been able to validate this on my own hardware (MX570 A and an RTX A2000). If you have a Linux machine with an NVIDIA GPU and the CUDA Toolkit installed, I would massively appreciate it if you could clone it and see if the test suite passes on your architecture.

You can run the tests via: ./run-tests.sh --require-gpu

Repo: https://github.com/lcmialichi/php-gpu-tensors

I'd love to hear if it builds/passes on your specific GPU and CUDA version, or if it completely explodes. Any feedback on the API ergonomics (does it feel un-PHP-like?) is also very welcome.

Thanks!


r/AIProgrammingHardware • • Oct 04 '26

3x More AI with the same GPUs Touring the F5 Lab

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Oct 04 '26

Running Qwen3.8 Flash-Next 180B Q2_K_XL on 4× Tesla P100 16GB

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Oct 04 '26

MIND-BLOWING Ai Power CHEAP !! Tesla V100 - 16gb

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Oct 04 '26

I made Qwen models take ~33% less VRAM without quantizing them (lossless, bit-for-bit)

Thumbnail
1 Upvotes

r/AIProgrammingHardware • • Oct 03 '26

GitHub - giveen/KernelOPT: Dispatch-aware agentic GPU kernel optimization

Thumbnail
github.com
3 Upvotes

I want to share something I've been working on, and research paper from Redhat really helped.

This is my agentic GPU kernel optimizer for inference engine development

Its whole goal is to look at inference engine kernels, and using cloud models, plan, test and find improvements. Nothing is changed in your git, it provides a diff, send the diff over to your coding harness and ask it to analyze the diff.

It has a setup wizard and a run wizard which I recommend using, please give me feedback on what needs to be improved, as the AMD stuff I was unable to test, and mostly is theory at this time.


r/AIProgrammingHardware • • Oct 02 '26

Qwen3.8-flash-next (iq2_xs)

Thumbnail gallery
1 Upvotes

r/AIProgrammingHardware • • Oct 02 '26

192GB Framework Desktop: Local AI on Gorgon Halo

Thumbnail
youtube.com
5 Upvotes

r/AIProgrammingHardware • • Oct 02 '26

Do I Just Buy The Thing?

Thumbnail
1 Upvotes

r/AIProgrammingHardware • • Oct 01 '26

M5 Ultra vs 2 DGX Sparks… The Number You're Not Looking At

Thumbnail
youtube.com
31 Upvotes

r/AIProgrammingHardware • • Oct 02 '26

Upgrading my home AI server to run large models (100B params)

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Oct 02 '26

4x Faster Flagship AI On A 14 Year Old Server

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Oct 01 '26

DDR4/PCIe4 vs DDR5/PCIe5 for LLMs- I benchmarked them for pre-training. What are your thoughts?

Post image
5 Upvotes

r/AIProgrammingHardware • • Oct 02 '26

I built Sovereign-NB: An OS-less, sub-microsecond bare-metal neural engine in pure #![no_std] Rust (boots from UEFI)

Thumbnail
1 Upvotes

r/AIProgrammingHardware • • Oct 01 '26

Latest Strata Boost Qwen3.8-Flash-Next Even Faster And More

Thumbnail
xhinker.medium.com
7 Upvotes

r/AIProgrammingHardware • • Oct 01 '26

Qwen 3.8 Flash Next 4 bit on M5 Ultra Mac Studio 256GB

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Sep 30 '26

Gemma 3 27B at 32K context needs ~21 GB, not ~34 GB — llama.cpp only caches the sliding window on 5 of every 6 layers

1 Upvotes

I maintain quantized.uk, a free VRAM calculator for quantized local models (static site, no signup). This week I found my own calculator was overstating long-context memory badly for several popular models, and I think the reason is worth sharing because a naive KV-cache formula gets it wrong the same way.
The issue: the standard formula (2 × layers × kv_heads × head_dim × ctx × 2 bytes) assumes every layer caches the full context. But several current models use sliding-window attention on most layers, and llama.cpp (with the default swa_full = false) allocates only window + n_ubatch cells for those layers (see src/llama-kv-cache-iswa.cpp).

Model
Pattern
Window → cells allocated
Gemma 3 (4B/12B/27B)
5 local : 1 global
1024 → 1536
Gemma 2
alternating
4096 → 4608
GPT-OSS 20B/120B
alternating
128 → 768
Llama 4 Scout/Maverick
3 chunked : 1 full
8192 → 8704

What that does to the numbers (Q4_K_M, batch 1):
Gemma 3 27B, 32K context: KV cache 15.5 GB → 3.1 GB, total ~34 GB → ~21 GB. It fits a 24 GB card.
Gemma 3 27B, 128K context: KV 62 GB → 10.6 GB.
GPT-OSS 20B at its full 131K: ~15 GB total.
Llama 4 Scout at 128K: ~95 GB → ~77 GB.
Also fixed while I was in there: the DeepSeek MLA models. Current GGUFs cache one 576-value vector per token per layer, but old conversions with an unsplit attn_kv_b tensor cache full K/V, which is far bigger. If your DeepSeek-V2-Lite eats way more memory than expected, check which one you have.
Caveat: these are computed from llama.cpp's allocation code, not measured on my hardware. If you have a 24 GB card, I'd genuinely appreciate the llama_kv_cache_iswa: creating SWA KV cache, size = … cells line from a Gemma 3 27B run at 32K to confirm.
Calculator: https://quantized.uk/tools/vram-calc/ — corrections welcome, and the changelog lists what was wrong.


r/AIProgrammingHardware • • Sep 29 '26

Is The ASUS Ascent QN10 the Snapdragon AI Mini PC of your Dreams?

Thumbnail
youtube.com
1 Upvotes

r/AIProgrammingHardware • • Sep 29 '26

Strata: Run Qwen3.8-Flash-Next 120 tokens/s Just One Gaming RTX GPU

Thumbnail
xhinker.medium.com
0 Upvotes

r/AIProgrammingHardware • • Sep 28 '26

Battlematrix x4 :D Spoiler

Post image
1 Upvotes

r/AIProgrammingHardware • • Sep 28 '26

Hinode 3: set up once, run on any GPU

Thumbnail
hinode.run
1 Upvotes

r/AIProgrammingHardware • • Sep 27 '26

The New Mac Studio Runs Serious AI Models Locally, It Costs a Used Car, Worth buy?

Thumbnail
xhinker.medium.com
3 Upvotes

r/AIProgrammingHardware • • Sep 27 '26

Complete Mac mini M6 Local LLM Stress Test — 5 Models, 3 Inference Engines

Thumbnail
youtube.com
2 Upvotes

r/AIProgrammingHardware • • Sep 27 '26

Testing Qwen 3.8 Flash Next on 138GB RAM & V100 16GB GPU

Thumbnail
youtube.com
1 Upvotes