schema = "m64/capsule@1" description = "opencode agent on Qwen3.8-Flash-Next UD-IQ4_XS with MTP drafts, local (llama.cpp Vulkan, AMD Strix Halo). opencode 1.18.23 coding agent driving Qwen3.8-Flash-Next (125B-A6B MoE with n-gram embeddings and vision, Unsloth's UD-IQ4_XS GGUF) served by stock llama.cpp master dd6b0fa (llama-server, built with Vulkan, run on Mesa RADV) in the same container: the 28.8 GB n-gram table memory-mapped in system RAM, MTP speculative decoding with the standalone Q8_0 head (2 draft tokens, 33-35 t/s measured), 131072-token context with a q8_0 KV cache, pictures on, the model card's sampling, with opencode's own web UI and API on the app port. Forked from opencode-qwen4-35b-a3b-q4xl-mtp-strixhalo; only the model changes (and the context, for memory). 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_76ec9c804807a951a43280a976b1c1e08a0d66da01ec7fe0993ee34dfe62fad4" [hardware] platform = "linux-x86_64" gpu = "AMD Radeon 8060S" gpu_count = 1 # Unified memory (GTT, 120 GiB addressable by the GPU on evo-x2): about 65 GB of UD-IQ4_XS transformer weights, the # 4.1 GB MTP head and 0.9 GB picture reader on the GPU; the 28.8 GB n-gram table memory-mapped in system RAM; a q8_0 # KV cache for 131072 tokens; about 2 GB for the harness and gateway. vram_gb = 80 ram_gb = 32 disk_gb = 100 [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 = 600 model_name = "qwen3.8-flash-next-ud-iq4_xs" 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-IQ4_XS GGUF (four shards: header, transformer weights, experts, the n-gram table), the standalone # Q8_0 MTP head and the BF16 picture reader. [[artifacts]] type = "hf" repo = "unsloth/Qwen3.8-Flash-Next-GGUF" revision = "f5d175de2cf7f720d45d6064019a81fcf056e986" include = ["MTP/mtp-Qwen3.8-Flash-Next-Q8_0.gguf", "UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00001-of-00004.gguf", "UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00002-of-00004.gguf", "UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00003-of-00004.gguf", "UD-IQ4_XS/Qwen3.8-Flash-Next-UD-IQ4_XS-00004-of-00004.gguf", "mmproj-BF16.gguf"] mount = "/weights/qwen38fn"