Xing4.1-Preview-W8A8-mthreads-FlagOS
adapting an MoE model for domestic accelerators
2 min read
The Xing4.1-Preview model is a large Mixture of Experts (MoE, an architecture where only a subset of parameters is activated per token) language model with a total size of 286.55 billion parameters, optimized for agentic coding and handling long contexts of up to 1 million tokens. This version is adapted for the Mthreads hardware platform using the FlagOS software stack and W8A8 quantization. The model supports a switchable thinking mode, tool calling, and structured output, making it suitable for complex multi-step office scenarios and code generation.
Key features
- Native support for a context window of up to 1 million tokens for processing large volumes of data.
- MoE architecture with 45 Transformer layers, activating about 17 billion parameters out of 256 experts per token.
- Use of KV-cache compression via MLA and DSA sparse attention for memory optimization.
- Full integration with the FlagOS software stack for running on Mthreads accelerators.
What you can do
- Deploy a high-performance inference server based on the vLLM framework using a plugin for the FlagOS ecosystem.
- Conduct deep research and solve complex programming tasks using the model's structured output.
- Integrate the model into workflows via the AnythingLLM interface for everyday business tasks.
Example
Example request to the running model inference server via curl:
curl -sS -m 600 [http://127.0.0.1:30130/v1/chat/completions](http://127.0.0.1:30130/v1/chat/completions) \
-H "Content-Type: application/json" \
-d '{
"model": "Xing4.1-Preview",
"messages": [
{
"role": "user",
"content": "What is 17 multiplied by 23? Reply with only the number."
}
],
"max_tokens": 256,
"temperature": 0.0
}'Read more
DetailsParameters: 286.55B (~17B active)
Benchmarks: Math-500 — 83.40, GPQA_Diamond — 93.18 (on Mthreads-FlagOS)
Hardware: MTT S5000 (8 GPUs)
License: Apache License 2.0










Comments