← all repositories
microsoft/CNTK

Microsoft's deep-learning pioneer taught speech, then bowed out

Microsoft's speech-recognition lab built a deep-learning framework, open-sourced it, then retired it to push ONNX.

17.6k stars C++ ML Frameworks
CNTK
Not currently ranked — collecting fresh signals.
star history

What it does

CNTK is a unified deep-learning toolkit that represents neural networks as directed graphs of matrix operations. It trains feed-forward DNNs, CNNs, and RNNs/LSTMs using automatic differentiation and stochastic gradient descent, parallelized across multiple GPUs and servers. Born in Microsoft Speech research, it powered large-scale production workloads—including historical speech-recognition breakthroughs—before feature development ended at version 2.7 in 2019.

The interesting bit

The project’s most unusual trait is its graceful exit: the final release fully embraced ONNX 1.4.1, turning the framework into a migration bridge rather than a dead end. Microsoft redirected CNTK’s strengths into the broader ONNX ecosystem—a pragmatic admission that consolidation beats fragmentation.

Key highlights

  • Trains DNNs, CNNs, and RNNs/LSTMs with automatic differentiation and parallelization across GPUs and servers
  • Originated from Microsoft Speech research and powered the team’s historical speech-recognition breakthroughs
  • Final v2.7 release (March 2019) added CUDA 10 support, FP16 training in Brain Script, and ONNX export for models larger than 2GB
  • Offers evaluation APIs for Python, C++, C#/.NET, and Java, plus a Keras backend
  • Netron supports visualizing CNTK v1 and v2 .model files

Caveats

  • No new features are planned after v2.7; Microsoft explicitly encourages users to migrate to ONNX and ONNX Runtime
  • Breaking changes exist in operator behaviors (e.g., depth_to_space, space_to_depth) and Python API argument ordering
  • Effectively archived, making it a poor choice for new projects

Verdict

If you are maintaining legacy CNTK models or studying the evolution of deep-learning frameworks, the ONNX export path is worth a look. Everyone else should follow Microsoft’s lead and use PyTorch, TensorFlow, or ONNX Runtime instead.

Frequently asked

What is microsoft/CNTK?
Microsoft's speech-recognition lab built a deep-learning framework, open-sourced it, then retired it to push ONNX.
Is CNTK open source?
Yes — microsoft/CNTK is an open-source project tracked on heatdrop.
What language is CNTK written in?
microsoft/CNTK is primarily written in C++.
How popular is CNTK?
microsoft/CNTK has 17.6k stars on GitHub.
Where can I find CNTK?
microsoft/CNTK is on GitHub at https://github.com/microsoft/CNTK.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.