schema = "m64/capsule@1" description = "opencode agent on Qwen4-35B-A3B UD-Q6_K_XL with MTP drafts, local (llama.cpp Vulkan, AMD Strix Halo). opencode 1.18.23 coding agent driving Qwen4-35B-A3B (Qwen's 35B-A3B MoE with 20B n-gram embeddings, Unsloth's UD-Q6_K_XL GGUF) served by stock llama.cpp master dd6b0fa (llama-server, built with Vulkan, run on Mesa RADV; Qwen4 support from #33626) in the same container. Upgraded from opencode-qwen4-35b-a3b-strixhalo by measurement on a Radeon 8060S: a more precise quant (mean KLD 0.0247 vs 0.0375) with the 22 GB n-gram table memory-mapped in system RAM at no speed cost, and MTP speculative decoding with the model's own head (2 draft tokens, +22-27% generation). 262144-token context with a q8_0 KV cache, pictures on, the model card's thinking-mode sampling, with opencode's own web UI and API on the app port. Each session gets an empty directory; the agent can write and run code there. Asks for no network: prompts and code stay on this machine." kinds = ["agent.session"] authors = ["dh7"] license = "mit" parent = "m64_06d28e7632b25a41d2828f1eb85034cf1a8008fbb0c64f0f5998a686704eb5b3" [hardware] platform = "linux-x86_64" gpu = "AMD Radeon 8060S" gpu_count = 1 # Unified memory, split by the BIOS (64 GiB VRAM on evo-x2): 30.5 GB of UD-Q6_K_XL transformer weights (with the MTP # head), the 0.9 GB picture reader, a small q8_0 KV cache (10 of 40 layers attend), a 2048-token micro-batch, plus # about 2 GB for the harness and gateway. The 21.8 GB Q8_0 n-gram table stays in system RAM, memory-mapped. vram_gb = 38 disk_gb = 55 [runtime] sandbox = "container" # No image: the Dockerfile builds llama.cpp master dd6b0fa with Vulkan (Mesa RADV) and adds node 22 + opencode 1.18.23. gpu = true shm_gb = 8 internal_port = 9500 health = "/health" expected_load_seconds = 300 model_name = "qwen4-35b-a3b-ud-q6_k_xl" user = "65534:65534" # opencode's own server (web UI + full API, SSE and the terminal's WebSocket) on a second # front port. Raw: no per-session isolation and no params filtering there. [runtime.app] internal_port = 4096 # Unsloth's UD-Q6_K_XL GGUF (two shards: the transformer weights with the MTP head, then the Q8_0 n-gram table) and # the F16 picture reader, at the same revision as opencode-qwen4-35b-a3b-strixhalo. [[artifacts]] type = "hf" repo = "unsloth/Qwen4-35B-A3B-GGUF" revision = "85a51187d937d87d799be9a10fa30732ee31432c" include = ["README.md", "UD-Q6_K_XL/Qwen4-35B-A3B-UD-Q6_K_XL-00001-of-00002.gguf", "UD-Q6_K_XL/Qwen4-35B-A3B-UD-Q6_K_XL-00002-of-00002.gguf", "mmproj-F16.gguf"] mount = "/weights/qwen4"