m64_bc63e0883ee5 / capsule.toml
36 lines, 2.4 KBraw
schema = "m64/capsule@1"description = "pi coding agent on Qwen4-35B-A3B UD-Q6_K_XL with MTP drafts, local (llama.cpp Vulkan, AMD Strix Halo). pi coding agent 1.7.0 (earendil-works/pi), driven through `pi -p --mode json`, with 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, with the same engine settings as opencode-qwen4-35b-a3b-q6xl-mtp-strixhalo, so the pair differs only in the harness: a more precise quant than the Q4 capsule (mean KLD 0.0247 vs 0.0375) with the 22 GB n-gram table memory-mapped in system RAM at no speed cost, 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. Each session gets an empty directory; the agent can write and run code there, and every tool call is reported. Asks for no network: prompts and code stay on this machine."kinds = ["agent.session"]authors = ["dh7"]license = "mit"parent = "m64_2eac365996ff4819eec2e2ab73576978a2059a0067b293651a0a0f564597968b"[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 = 38disk_gb = 55[runtime]sandbox = "container"# No image: the Dockerfile builds llama.cpp master dd6b0fa with Vulkan (Mesa RADV) and adds node 22 + pi 1.7.0.gpu = trueshm_gb = 8internal_port = 9500health = "/health"expected_load_seconds = 300model_name = "qwen4-35b-a3b-ud-q6_k_xl"user = "65534:65534"# 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"