m64_06d28e7632b2 / capsule.toml
40 lines, 2.0 KBraw
schema = "m64/capsule@1"description = "opencode agent on Qwen4-35B-A3B UD-Q4_K_XL, 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-Q4_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: 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_c5c3570b99bbef95789e0e1f1dbeca0b6c7f4c32d6ee17fd5e13cedf7b2fdf49"[hardware]platform = "linux-x86_64"gpu = "AMD Radeon 8060S"gpu_count = 1# Unified memory, split by the BIOS (64 GiB VRAM on evo-x2): 36.2 GB of UD-Q4_K_XL weights (11.5 GB of them the n-gram# embedding table), 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.vram_gb = 44disk_gb = 45[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 = trueshm_gb = 8internal_port = 9500health = "/health"expected_load_seconds = 300model_name = "qwen4-35b-a3b-ud-q4_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-Q4_K_XL GGUF (two shards) and the F16 picture reader.[[artifacts]]type = "hf"repo = "unsloth/Qwen4-35B-A3B-GGUF"revision = "85a51187d937d87d799be9a10fa30732ee31432c"include = ["README.md", "UD-Q4_K_XL/Qwen4-35B-A3B-UD-Q4_K_XL-00001-of-00002.gguf", "UD-Q4_K_XL/Qwen4-35B-A3B-UD-Q4_K_XL-00002-of-00002.gguf", "mmproj-F16.gguf"]mount = "/weights/qwen4"