7 Open Source Alternatives to TensorFlow

There are 7 open-source alternatives to TensorFlow in this directory. The most popular is Llama.cpp with 103.2k GitHub stars, followed by Llama(59.3k stars). All are open source, free to use, and many can be self-hosted.

Quick comparison

Open-source alternatives to TensorFlow, ranked by GitHub stars
#ToolStarsLanguageLicense
1Llama.cpp

Efficient LLM inference in C/C++ for high-performance computing applications.

103.2kC++MIT License
2Llama

Inference code for Llama models, a versatile solution for running Llama model inferences efficiently.

59.3kPythonOther
3Autogen

A comprehensive programming framework for building agentic AI applications, supporting various integrations and community interactions.

57.0kPythonCreative Commons Attribution 4.0 International
4Fabric

Fabric is an open-source framework designed to enhance human capabilities using AI, offering a modular system to solve specific problems through a crowdsourced set of AI prompts.

32.8kJavaScriptMIT License
5Tinygrad

A minimalist deep learning framework designed to be simple and easy to understand, inspired by pytorch and micrograd.

32.3kPythonMIT License
6CL4R1T4S

CL4R1T4S aims to provide transparency in AI systems by exposing leaked system prompts used in popular AI applications like ChatGPT and others.

8.3kGNU Affero General Public License v3.0
7Postgresml

Postgres enhanced with GPU acceleration for efficient machine learning and AI applications.

6.7kRustMIT License

All open-source alternatives to TensorFlow

Frequently asked questions

What are the best open-source alternatives to TensorFlow?

The top three are Llama.cpp(103.2k stars), Llama(59.3k stars), Autogen(57.0k stars). All are open source and free to use.

Are these alternatives to TensorFlow free?

Yes. Every tool listed here is open source and free to use in your own projects. Many can be self-hosted on your own infrastructure, which means no subscription fees and full control over your data.

Can I self-host an alternative to TensorFlow?

Many of the alternatives listed are self-hostable. Each tool's page lists hosting details, system requirements, and licensing terms.

Stay Updated!

Get notified about new tools and updates to existing ones.