You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HELP] Optimizing Qwen3.6-35B-A3B UD-Q4_K_M for OpenCode on AMD RX 6600 4.0 x4
#361
Hi! I'm looking for recommendations on optimizing Qwen3.6-35B-A3B UD-Q4_K_M with PolyStrata, particularly for agentic coding workloads using OpenCode.
I'm prioritizing coding quality, reasoning, tool calling, and long-context performance over raw generation speed.
Here's my current:
Hardware
CPU: Ryzen 5 5600X
GPU: AMD Radeon RX 6600 (8 GB VRAM) - running on PCIe 4.0 x4 due MB slot issues with x8 link
System RAM: 48 GB DDR4 @ 3200
OS: Windows 10
Model: Qwen3.6-35B-A3B UD-Q4_K_M
Runtime: PolyStrata (experimental HIP engine)
Client: OpenCode (OpenAI-compatible API)
Intended workload
My primary use case is an autonomous TypeScript coding agent:
Multi-file code understanding and refactoring.
Complex debugging and architectural reasoning.
Tool calling and multi-step agentic workflows.
Large repository context.
Long-running coding sessions.
I'd ideally like to use 128K–256K context if the hardware allows it.
Questions
GPU offloading: What would be the optimal GPU/CPU allocation for an RX 6600 with only 8 GB VRAM? Are there recommended settings to maximize GPU utilization without causing memory pressure?
HIP compatibility: Has anyone successfully run the experimental Windows HIP engine on an RX 6600? Are there specific ROCm/HIP versions or configuration changes worth trying?
Context size: What is a realistic context size for this hardware with UD-Q4_K_M? I'd like to reach 128K or ideally 256K without excessive RAM consumption or performance degradation.
MTP: Is keeping MTP enabled worthwhile with only 8 GB VRAM? Would disabling it and recovering approximately 1 GB of graphics memory provide a better overall experience?
Reasoning and sampling: Are my current sampling and reasoning settings appropriate for Qwen3.6 coding workloads, particularly through the Anthropic-compatible API?
OpenCode integration: Are there recommended configurations for preserving thinking, handling tool calls, context compaction, and preventing issues with long-running agentic sessions?
General optimization: Are there any less obvious PolyStrata settings, engine arguments, or model-specific optimizations that could significantly improve this configuration?
Current model settings
setting
value
sampling.temperature
0.6
sampling.top_p
0.95
sampling.top_k
20
sampling.min_p
0.0
reasoning_budget_tokens
0
fit_max_tokens
on
drop_oldest
off
truncate_middle
off
preserve_thinking
on
anthropic_thinking
model
effort_position
end
idle_unload_s
0
mtp
on
lazy_load
off
engine_silence_s
300
api_monitor
off
switch_on_request
off
open_browser
off
vram_reserve_mib
700
What I'm looking for
I'd appreciate recommendations from anyone running Qwen3.6, Ornith, or similar MoE models on AMD GPUs with limited VRAM.
I'm particularly interested in practical configurations and benchmarks rather than theoretical recommendations.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi! I'm looking for recommendations on optimizing Qwen3.6-35B-A3B UD-Q4_K_M with PolyStrata, particularly for agentic coding workloads using OpenCode.
I'm prioritizing coding quality, reasoning, tool calling, and long-context performance over raw generation speed.
Here's my current:
Hardware
CPU: Ryzen 5 5600X
GPU: AMD Radeon RX 6600 (8 GB VRAM) - running on PCIe 4.0 x4 due MB slot issues with x8 link
System RAM: 48 GB DDR4 @ 3200
OS: Windows 10
Model: Qwen3.6-35B-A3B UD-Q4_K_M
Runtime: PolyStrata (experimental HIP engine)
Client: OpenCode (OpenAI-compatible API)
Intended workload
My primary use case is an autonomous TypeScript coding agent:
I'd ideally like to use 128K–256K context if the hardware allows it.
Questions
GPU offloading: What would be the optimal GPU/CPU allocation for an RX 6600 with only 8 GB VRAM? Are there recommended settings to maximize GPU utilization without causing memory pressure?
HIP compatibility: Has anyone successfully run the experimental Windows HIP engine on an RX 6600? Are there specific ROCm/HIP versions or configuration changes worth trying?
Context size: What is a realistic context size for this hardware with UD-Q4_K_M? I'd like to reach 128K or ideally 256K without excessive RAM consumption or performance degradation.
MTP: Is keeping MTP enabled worthwhile with only 8 GB VRAM? Would disabling it and recovering approximately 1 GB of graphics memory provide a better overall experience?
Reasoning and sampling: Are my current sampling and reasoning settings appropriate for Qwen3.6 coding workloads, particularly through the Anthropic-compatible API?
OpenCode integration: Are there recommended configurations for preserving thinking, handling tool calls, context compaction, and preventing issues with long-running agentic sessions?
General optimization: Are there any less obvious PolyStrata settings, engine arguments, or model-specific optimizations that could significantly improve this configuration?
Current model settings
What I'm looking for
I'd appreciate recommendations from anyone running Qwen3.6, Ornith, or similar MoE models on AMD GPUs with limited VRAM.
I'm particularly interested in practical configurations and benchmarks rather than theoretical recommendations.
Thanks!
All reactions