Technical Documentation: Mesh-LLM/flash-moe
โน๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference
Overview (`README.md`)
flash-moe
flash-moe is an external mesh-llm plugin for connecting mesh-llm to a
Flash-MoE OpenAI-compatible HTTP server.
The plugin is intentionally decoupled from mesh-llm internals. mesh-llm only
launches the plugin through the plugin API, passes [[plugin]].url asMESH_LLM_PLUGIN_URL, and consumes the plugin-declared inference endpoint.
Install
mesh-llm plugins install flash-moeYou can also install directly from GitHub:
mesh-llm plugins install Mesh-LLM/flash-moeExisting Endpoint Mode
If Flash-MoE is already running, attach the endpoint:
[[plugin]]
name = "flash-moe"
url = "http://127.0.0.1:8000/v1"Managed Process Mode
To let the plugin supervise a local Flash-MoE infer process, pass the backend
command and backend args to the plugin:
[[plugin]]
name = "flash-moe"
args = [
"--backend-command", "/opt/flash-moe/metal_infer/infer",
"--",
"--model", "/models/qwen3.5-397b/model.gguf",
"--weights", "/models/qwen3.5-397b/experts.bin",
"--manifest", "/models/qwen3.5-397b/manifest.json",
"--vocab", "/models/qwen3.5-397b/vocab.json"
]The plugin allocates a local port and appends:
--serve <port>Do not pass --serve in backend args.
Build
cargo buildRelease Archives
GitHub releases package archives using the same contract asMesh-LLM/blackboard:
flash-moe-<target>.tar.gzor.zipflash-moe-<version>-<target>.tar.gzor.zip
Each archive contains:
flash-moe/flash-moeflash-moe/plugin.toml
--- METRICS ---
- Files Extracted: 1
- Estimated Token Budget: ~398 tokens
- Canonical Reference: https://codewiki.google/github.com/Mesh-LLM/flash-moe