Skip to content

22 comments

I am running Qwen 35b a3b mtp q4 with 120k context q8 kv on a 3060 12gb and 32gb ddr 3 ram. I still plan with SOTA model and just hand off small tasks.

4 points

Qwen 3.6 35b a3b moe It's enough for 256k context at q8 kv cache

4 points

How? In theory, maybe, in practice I couldnt squeeze more than 200k ctx at q6 without running into stability issues

1 points

Im running MXFP4

# =========================

# CONFIG

# =========================

MODELS_DIR="$SCRIPT_DIR/models"

MODEL="Qwen36_35b/Qwen3.6-35B-A3B-MXFP4_MOE.gguf"

CHAT_TEMPLATE="qwen3.6-chat-template.jinja" # froggeric v20 fixed template

CONTEXT=262144 # 256K native (no YaRN needed)

# Overridable via env vars with sensible defaults

PORT="${PORT:-8882}"

IMAGE="${IMAGE:-docker.io/mixa3607/llama.cpp-gfx906:b9481-rocm-6.3.3}"

NGL="${NGL:-99}"

N_CPU_MOE="${N_CPU_MOE:-26}" # first 26 layers' experts on CPU, last 15 on GPU (~13.9 GB VRAM)

THREADS="${THREADS:-6}" # Ryzen 5600 has 6 cores — good for CPU MoE layers

THREADS_BATCH="${THREADS_BATCH:-6}"

PARALLEL="${PARALLEL:-1}"

BATCH="${BATCH:-512}" # smaller batch to save VRAM for 256K KV cache

UBATCH="${UBATCH:-512}"

NO_MMAP="${NO_MMAP:-0}" # 0 = use mmap (default, saves RAM), 1 = force no-mmap (avoids mmap bugs)

CACHE_RAM="${CACHE_RAM:-0}"

CONTAINER_NAME="${CONTAINER_NAME:-llama-gfx906-next}"

NETWORKS="${NETWORKS:-odysseus_default}" # additional Docker networks, comma-separated

not getting any loops since switching chat template, I can push to 512K context with yarn but it goes OOM after a couple prompts and not that useful xD

1 points

Someone already recommended it but Qwen 25b a3b with ram offloading will run on that hardware. Just choose the right model quant and use q8 for the cache. Context you could probably go high since you're offloading anyways but I wouldn't recommend still using a session if you're abywhere close to 200k context anyways. For one, the model like all models will get slower when massive context gets filled.

2 points

35b.

Beellama. Noprefill 5-8 tokens for most dflash q8 into mtp predict 3. 256 cache recover set the u thing to 1024. Unsloth iq4xs. Offload if you want but t4 on k and t2 on the values might fit or just offload moe 5-10 layers you can mmlock if your serving which is 3 places because it’ll try reclaim memory if not shuffled but docker container restart fixes so if your a rebooted it’s not a big deal

If you done use prose and use a md spec kit dot point snippet style gsd bmad spec tool taskmaster esk you should have too much issue. They are tasker not planners so I use ChatGPT to plan then qwen to do bulk and if debug is messy I can throw codex at it on the sub but 90% of tokens come local

1 points

It's the perfect sweet spot for running highly capable 9B to 15B coding models completely in VRAM, giving you blazing-fast local code generation without any lag.

1 points

Just curious you've been trying to run large context window
it slows overtime or is it just me
I have mine at initially 56tps down to 40-25tps when I am at 15 to 20k context

my context window is 64k
RX6900XT
32gb DDR4 Ram
i5 12400

arch linux

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.