InfiX-V1-base

InfiX-ai/InfiX-V1-base

作者
InfiX-ai
任务
文本生成
下载量
0
点赞数
92
趋势分
26
许可证
mit
收录时间
2026/12/1

license: mit pipeline_tag: text-generation library_name: transformers

Introduction

InfiX-V1-base is the pre-trained base model of InfiX-V1, a Mixture-of-Experts (MoE) language model with 209B total parameters and 14B activated per token, pre-trained on 13.36T tokens. It is intended for continued pre-training, domain adaptation, and post-training research.

InfiX-V1 is trained under PACE (Progressive Adaptive Cognitive Expansion), a training paradigm built on three co-designed pillars:

  • InfiGrow (progressive model growth). Pre-training starts from a smaller model rather than at the final size. When its gains slow, the model is grown in width (more experts) or depth (more layers) and training continues from the grown model. InfiX-V1-base is the result of four growth steps, which lowers the compute, memory, and communication cost compared with training at full size throughout.
  • InfiCoScale (data–model co-scaling). The training data changes with each growth step. A width growth adds broader, knowledge-rich long-tail data; a depth growth adds more complex math and code.
  • InfiEPFlow (communication-aware expert-parallel load balancing). An online load balancer keeps computation strictly balanced in every micro-batch while reducing the communication of token dispatching, cutting communication traffic by 30–50% and improving training efficiency by over 8% compared with force balancing.

Under matched compute, InfiX-V1-base delivers roughly 8× the intelligence per compute of the next most efficient model we compare against, and matches or outperforms base models several times its size.

Highlights

Architecture & Training

  • Progressive growth (InfiGrow). The model is grown four times during pre-training: activated experts increased, layers stacked, routed experts expanded by duplicating hot experts with noise, and activated experts increased once more. Each growth step starts from a converged smaller model rather than from scratch, which is where the compute saving comes from. A single depth growth alone reaches the same loss with about 20% less compute than training at fixed size.
  • Hybrid attention with learnable sinks. 42 layers arranged as 10 hybrid blocks, each three sliding-window attention (SWA) layers followed by one full attention (FA) layer, with a 512-token window. Every layer carries a learnable attention sink, which keeps the first tokens reachable after they fall out of the window and stabilizes training. SWA layers are given more heads and a larger head dimension than FA layers — this is what closes the gap to a full-attention baseline at a small cost.

  • Fine-grained sparse MoE. 288 routed experts with 13 activated per token plus 1 shared expert, with the first layer dense. Load balance uses the auxiliary-loss-free bias strategy with a small sequence-wise balance loss.

  • DFlash2 speculative decoding. A 5-layer drafter produces a block of 7 draft tokens in a single forward pass, which the backbone then verifies in parallel.

  • Efficient training infrastructure. InfiEPFlow, an online expert-parallel load balancer that optimizes computation and communication jointly rather than forcing compute balance alone, gives an 8% throughput gain over force balancing.

Data (InfiCoScale)

  • Diverse, high-quality corpus. 13.36T tokens of rigorously filtered and deduplicated data in Chinese and English, covering web, code, mathematics, and books & academic papers. Mid-training adds knowledge-dense rewritten data, agentic software-engineering data, and long-context data.

  • Data grows with the model. Sources are binned by quality and complexity. A width growth brings in more long-tail, knowledge-rich data to support expert specialization; a depth growth brings in more complex mathematics and code to train multi-step reasoning. Later stages favor higher-quality bins, and each transition is interpolated rather than applied as a hard switch.

Evaluation

All models are evaluated in our internal framework under a unified configuration, with base checkpoints decoded greedily. Best score in each row in bold, second best underlined. Parameter counts exclude embeddings and the MTP module.

† AGIEval is the average of its English and Chinese subsets. ‡ CRUXEval is the average of CRUXEval-I and CRUXEval-O.

Model Overview

PropertyValue
Model TypeBase checkpoint (pre-trained, no instruction tuning)
ArchitectureSparse MoE with hybrid sliding-window / full attention, built through InfiGrow
Total Parameters209B
Active Parameters14B
Context Window256K, extendable to 1M tokens
Pre-Training Tokens13.36T
Speculative DecodingDFlash2 (block draft decoding)
Vocabulary129,280
LicenseMIT
Release DateDecember 1, 2026

Usage

Deployment

We provide a Docker image with SGLang support for InfiX-V1 (infixmodels/sglang). The reference configuration below runs on 8× NVIDIA H800 GPUs (TP=8, EP=8).

docker pull infixmodels/sglang:infix-v1

Download the weights from Hugging Face, mount them at /model, and start the server inside the container:

sglang server \
  --trust-remote-code \
  --model-path /model \
  --served-model-name infix_v1 \
  --tool-call-parser infix_v1 \
  --reasoning-parser infix_v1 \
  --tp-size 8 \
  --ep-size 8 \
  --chunked-prefill-size 49152 \
  --moe-runner-backend triton \
  --mem-fraction-static 0.85 \
  --swa-full-tokens-ratio 0.08 \
  --disable-prefill-cuda-graph \
  --context-length 262144 

Prompting

This is a base model. It has not been instruction-tuned and carries no chat template — applying one will not produce the behavior you expect. Prompt it by continuation instead:

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "InfiX-ai/InfiX-V1-base"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto", dtype="auto")

prompt = "The capital of France is"
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=64, do_sample=False)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Contact

For questions, feedback, or collaboration, reach us at research@infix.io.

License

This model is released under the MIT License. Commercial use, modification, and redistribution are permitted, provided the license notice is retained.

内容来源:Hugging Face 模型卡

在 Hugging Face 查看