m64_e761fc6b57c3 / capsule.toml
54 lines, 2.8 KBraw
schema = "m64/capsule@1"description = "opencode agent on Qwen4-35B-A3B FP8, local (vLLM). opencode 1.18.23 coding agent driving Qwen4-35B-A3B (Qwen's new 35B-A3B multimodal MoE, official FP8 build) served by vLLM's qwen4 image in the same container (262K context, FP8 K/V, MTP drafting), 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 = "apache-2.0"[hardware]platform = "linux-aarch64"gpu = "NVIDIA GB10"gpu_count = 1# vLLM takes --gpu-memory-utilization 0.75 of the unified pool (weights, the 20.5 GB N-gram table that shares the# GB10's memory, activations, K/V); opencode and the gateway ~2 GB more.vram_gb = 92driver = ">=580"disk_gb = 61[runtime]sandbox = "container"# No image: the Dockerfile builds on the qwen4-35b-a3b-fp8-gb10 capsule's vLLM image.gpu = trueshm_gb = 16internal_port = 9500health = "/health"expected_load_seconds = 1200user = "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[[artifacts]]type = "hf"repo = "Qwen/Qwen4-35B-A3B-FP8"revision = "4d35041fcd017a5608bd83bb65388757919d029c"include = ["model-00001-of-00033.safetensors", "model-00002-of-00033.safetensors", "model-00003-of-00033.safetensors", "model-00004-of-00033.safetensors", "model-00005-of-00033.safetensors", "model-00006-of-00033.safetensors", "model-00007-of-00033.safetensors", "model-00008-of-00033.safetensors", "model-00009-of-00033.safetensors", "model-00010-of-00033.safetensors", "model-00011-of-00033.safetensors", "model-00012-of-00033.safetensors", "model-00013-of-00033.safetensors", "model-00014-of-00033.safetensors", "model-00015-of-00033.safetensors", "model-00016-of-00033.safetensors"]mount = "/weights/part1"[[artifacts]]type = "hf"repo = "Qwen/Qwen4-35B-A3B-FP8"revision = "4d35041fcd017a5608bd83bb65388757919d029c"include = [ ".gitattributes", "LICENSE", "README.md", "README-tokenizer.md", "*.json", "*.py", "tiktoken.model", "tokenizer-compat/*", "model-00017-of-00033.safetensors", "model-00018-of-00033.safetensors", "model-00019-of-00033.safetensors", "model-00020-of-00033.safetensors", "model-00021-of-00033.safetensors", "model-00022-of-00033.safetensors", "model-00023-of-00033.safetensors", "model-00024-of-00033.safetensors", "model-00025-of-00033.safetensors", "model-00026-of-00033.safetensors", "model-00027-of-00033.safetensors", "model-00028-of-00033.safetensors", "model-00029-of-00033.safetensors", "model-00030-of-00033.safetensors", "model-00031-of-00033.safetensors", "model-00032-of-00033.safetensors", "model-00033-of-00033.safetensors",]mount = "/weights/part2"