InCoder-32B: Code Foundation Model for Industrial Scenarios

Jian Yang, Wei Zhang (405), Jiajun Wu (430971), Jiwei Cheng, Shawn Guo, Haowen Wang, Wenhua Gu, Yaxin Du, Joseph Li, Fanglin Xu, Yizhi Li, Lin Jing, Yuanbo Wang, Yuhan Gao, Ruihao Gong, Chuan Hao, Ran Tao, Aishan Liu, Tuney Zheng, Ganqu Cui, Zhoujun Li, Mingjie Tang, Chenghua Lin, Wayne Xin Zhao, Xianglong Liu, Ming Zhou, Bryan Dai, Weifeng Lv · DOI

Abstract

Recent code large language models have achieved remarkable progress on general programming tasks. Nevertheless, their performance degrades significantly in industrial scenarios that require reasoning about hardware semantics, specialized language constructs, and strict resource constraints. To address these challenges, we introduce InCoder-32B (Industrial-Coder-32B), the first 32B-parameter code foundation model unifying code intelligence across chip design, GPU kernel optimization, embedded systems, compiler optimization, and 3D modeling. By adopting an efficient architecture, we train InCoder-32B from scratch with general code pre-training, curated industrial code annealing, mid-training that progressively extends context from 8K to 128K tokens with synthetic industrial reasoning data, and post-training with execution-grounded verification. We conduct extensive evaluation on 14 mainstream general code benchmarks and 9 industrial benchmarks spanning 4 specialized domains. Results show InCoder-32B achieves highly competitive performance on general tasks while establishing strong open-source baselines across industrial domains.

1. Introduction

While state-of-the-art large language models (LLMs) excel at general-purpose programming tasks like Python scripting or web development, they frequently fail in industrial engineering contexts. Industrial programming requires deep hardware awareness, necessitating adherence to strict hardware semantics, timing constraints, and resource limitations. General-purpose models often treat domains such as Verilog for chip design or bare-metal C for microcontrollers as out-of-distribution tasks, resulting in code that may be syntactically valid but functionally unusable in real-world engineering environments. InCoder-32B is designed to bridge this gap by unifying general and industrial code intelligence.

Overview of InCoder-32B's capabilities across general and industrial code intelligence domains.

2. The Code-Flow Training Pipeline

InCoder-32B is developed using a three-stage Code-Flow pipeline designed to embed industrial expertise into the model's architecture:

  1. Pre-training & Annealing: The model was trained from scratch on a massive 15-trillion-token corpus. A specialized domain taxonomy was employed to recall underrepresented industrial data, such as VHDL and device drivers. High-quality technical content was also ingested from manuals and textbooks via OCR.
  2. Mid-training (Context & Reasoning): The context window was scaled from 8K to 128K tokens. This stage involved injecting synthetic industrial reasoning data and "agentic trajectories"—multi-step debugging paths where the model learns to iteratively fix code based on feedback from compilers and simulators.
  3. Post-training (Execution-Grounded SFT): The model underwent supervised fine-tuning (SFT) on 2.5 million samples verified by industrial toolchains. Code correctness was validated using real-world simulators like Verilator for hardware design and Renode for embedded systems.

3. Benchmarking and Evaluation

To assess the model's versatility, it was tested against 14 general benchmarks and 9 specialized industrial benchmarks. New benchmarks introduced in this work include VeriScope (Verilog generation), VeriRepair (error diagnosis), EmbedCGen (bare-metal embedded C), and CAD-Coder (text-to-3D modeling). These were complemented by existing benchmarks like TritonBench for GPU optimization and SuperCoder for compiler optimization.

4. Key Insights and Results

InCoder-32B demonstrates that industrial correctness must be grounded in simulation rather than simple text prediction. A critical insight is the model's ability to "think" through hardware constraints. For example, when implementing CUDA kernels, the model can recognize hardware limits (such as Y-dimension grid size) and apply strategies like dimensional flattening to ensure successful execution.

Example of hardware-aware reasoning in InCoder-32B: resolving GPU grid dimension limitations through dimensional flattening.

Performance Highlights:

  • Industrial Dominance: The model achieved 80.7% on VeriScope and 82.0% on CAD-Coder, rivaling proprietary models in specialized hardware tasks.
  • General Competence: On SWE-bench Verified, it scored 74.8%, placing it among the top-tier 30B+ parameter models globally.
  • GPU Optimization: It established a strong open-source baseline on TritonBench (G-call) with a score of 18.5%.

5. Conclusion

InCoder-32B represents a significant step toward AI-driven industrial engineering. By prioritizing execution-grounded verification and hardware-aware reasoning, it provides a unified foundation for complex engineering tasks. Future work will focus on refining syntactic precision for rare APIs and narrowing the gap in "super-optimization" tasks where human expert performance remains the gold standard.

Summary updated

BibTeX
@misc{yang2026incoder,
  author = {Jian Yang and Wei Zhang (405) and Jiajun Wu (430971) and Jiwei Cheng and Shawn Guo and Haowen Wang and Wenhua Gu and Yaxin Du and Joseph Li and Fanglin Xu and Yizhi Li and Lin Jing and Yuanbo Wang and Yuhan Gao and Ruihao Gong and Chuan Hao and Ran Tao and Aishan Liu and Tuney Zheng and Ganqu Cui and Zhoujun Li and Mingjie Tang and Chenghua Lin and Wayne Xin Zhao and Xianglong Liu and Ming Zhou and Bryan Dai and Weifeng Lv},
  title = {{InCoder-32B: Code Foundation Model for Industrial Scenarios}},
  year = {2026},
  eprint = {2603.16790},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.16790},
}
Figure