schema = "m64/capsule@1" description = "pi coding agent on Qwen4-35B-A3B (Qwen, MoE: 35B total, 3B active, 256 experts), local, one RTX 5090. pi coding agent 1.7.0 (earendil-works/pi), driven through `pi -p --mode json`, with Unsloth's UD-Q6_K GGUF on upstream llama.cpp b13005 in the same container, set up as Unsloth's Qwen4 guide: the per-layer n-gram table on the CPU (read from the memory-mapped file on demand) and the trunk on the GPU, MTP speculative decoding with the model's MTP head (2 draft tokens), 262144-token context, vision at Qwen's evaluation resolution (--image-min-tokens 4096) and Qwen's thinking-mode sampling (min_p 0). Same harness as pi17-qwen4-35b-a3b-q8-v3-5090 (the Q8_0 capsule that scored 49/49 three times): pi with 32768 output tokens, a 65536-token compaction reserve and a 600 s command watchdog. Each session gets an empty directory; the agent can write and run code there, and every tool call is reported. Asks for no network." kinds = ["agent.session"] authors = ["dh7"] license = "apache-2.0" [hardware] platform = "linux-x86_64" gpu = "NVIDIA GeForce RTX 5090" gpu_count = 1 # UD-Q6_K trunk (29.2 GB) on the GPU, f16 KV at 262144 tokens; --fit moves what does not fit. The 21.8 GB n-gram table stays on the CPU. vram_gb = 30 # the experts --fit leaves on the CPU, plus the page cache ram_gb = 48 driver = ">=580" disk_gb = 60 [runtime] sandbox = "container" # No image: the Dockerfile builds llama.cpp at a pinned commit on nvidia/cuda 13.0.0 and adds node 22 + pi. gpu = true shm_gb = 8 internal_port = 9500 health = "/health" expected_load_seconds = 300 model_name = "qwen4-35b-a3b-ud-q6_k" user = "65534:65534" # Qwen4-35B-A3B as Unsloth's UD-Q6_K GGUF (trunk + n-gram table shards), the MTP head and the BF16 vision projector. [[artifacts]] type = "hf" repo = "unsloth/Qwen4-35B-A3B-GGUF" revision = "85a51187d937d87d799be9a10fa30732ee31432c" include = ["UD-Q6_K/*.gguf", "MTP/mtp-Qwen4-35B-A3B-Q8_0.gguf", "mmproj-BF16.gguf"] mount = "/weights/qwen"