skillfed

tensorflow

TensorFlow is an open source machine learning framework for everyone.

tensorflow v2.21.0 20.8M downloads/30d#1,026 on PyPI197,024
Permissive license Apache 2.0 Active released

What it is and what it does

TensorFlow is a production-grade machine learning framework that provides a flexible architecture for numerical computation and deep learning. It abstracts low-level tensor operations and automatic differentiation, allowing you to define models declaratively and train them on diverse hardware—from laptops to distributed clusters—without rewriting code. The framework includes Keras as its high-level API for building neural networks, and supports both eager execution for research and graph-based execution for deployment.

The package ships with 20 runtime dependencies including numpy for array operations, keras for model building, protobuf for serialization, and grpcio for distributed training. Installation requires Python 3.10 or later and platform-specific compiled wheels; GPU acceleration is available for NVIDIA hardware via CUDA 12. It is actively maintained and widely used in production systems for computer vision, natural language processing, reinforcement learning, and scientific computing.

Use it for:

  • Build and train convolutional neural networks for image classification or object detection tasks.
  • Develop recurrent neural networks or transformer models for sequence modeling and NLP applications.
  • Deploy trained models to mobile devices, edge hardware, or cloud infrastructure for inference.
  • Perform distributed training across multiple GPUs or TPUs for large-scale model development.
  • Conduct numerical experiments and scientific simulations using automatic differentiation.
  • Prototype machine learning pipelines with Keras high-level APIs before production deployment.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

TensorFlow is an open-source machine learning framework for building and training neural networks and other numerical computation models, deployable across CPUs, GPUs, TPUs, and edge devices.

Yes. TensorFlow is a mature, actively maintained framework with no known vulnerabilities, strong community support, and permissive licensing. Install friction is moderate due to compiled dependencies, but prebuilt wheels for modern Python versions (3.10–3.13) and multiple platforms reduce setup complexity. Suitable for research, prototyping, and production machine learning workloads.

Install

tensorflow on PyPI

pip

pip install tensorflow

uv

uv add tensorflow

poetry

poetry add tensorflow

Installing tensorflow

Before you install

Medium install friction due to compiled dependencies and platform-specific wheels. Active maintenance with recent commits and strong community backing (197024 stars). Supports Python 3.10–3.13 with prebuilt wheels for macOS ARM, Linux x86_64/aarch64, and Windows.

License in practice

Licensed under Apache 2.0 (permissive), allowing commercial and private use with minimal restrictions. You may use, modify, and distribute TensorFlow freely provided you include a copy of the license and any notices.

Quickstart

pip install tensorflow
import tensorflow as tf
model = tf.keras.Sequential([tf.keras.layers.Dense(10)])

Requires Python >=3.10. GPU support requires NVIDIA CUDA 12 or compatible drivers; CPU-only installation is available but slower for large workloads.

Verify before relying

  • Whether pre-built wheels include GPU support by default or if CUDA/cuDNN must be installed separately.
  • Performance characteristics and memory footprint for typical model training scenarios.
  • Compatibility with specific CUDA versions beyond 12.2 mentioned in classifiers.

Package facts

License Apache 2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 20 — absl-py, astunparse, flatbuffers, gast, google_pasta, libclang, opt_einsum, packaging, protobuf, requests, setuptools, six, termcolor, typing_extensions, wrapt, grpcio, keras, numpy, h5py, ml_dtypes
Maintenance actively maintained — 161 days since the last release
Last repo commit
First released
Downloads 20,761,191/month — #1,026 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: tensorflow-2.21.0-cp310-cp310-macosx_12_0_arm64.whl; tensorflow-2.21.0-cp310-cp310-manylinux_2_27_aarch64.whl; tensorflow-2.21.0-cp310-cp310-manylinux_2_27_x86_64.whl; tensorflow-2.21.0-cp310-cp310-win_amd64.whl; tensorflow-2.21.0-cp311-cp311-macosx_12_0_arm64.whl; tensorflow-2.21.0-cp311-cp311-manylinux_2_27_aarch64.whl; tensorflow-2.21.0-cp311-cp311-manylinux_2_27_x86_64.whl; tensorflow-2.21.0-cp311-cp311-win_amd64.whl; tensorflow-2.21.0-cp312-cp312-macosx_12_0_arm64.whl; tensorflow-2.21.0-cp312-cp312-manylinux_2_27_aarch64.whl; tensorflow-2.21.0-cp312-cp312-manylinux_2_27_x86_64.whl; tensorflow-2.21.0-cp312-cp312-win_amd64.whl; tensorflow-2.21.0-cp313-cp313-macosx_12_0_arm64.whl; tensorflow-2.21.0-cp313-cp313-manylinux_2_27_aarch64.whl; tensorflow-2.21.0-cp313-cp313-manylinux_2_27_x86_64.whl; tensorflow-2.21.0-cp313-cp313-win_amd64.whl

Keywords: tensorflow, tensor, machine, learning

Development Status :: 5 - Production/StableEnvironment :: GPU :: NVIDIA CUDA :: 12Environment :: GPU :: NVIDIA CUDA :: 12 :: 12.2Intended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: MathematicsTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Tags

machine learning frameworkdeep learning libraryneural network trainingnumerical computationgpu accelerated mltensorflow keras integrationdistributed machine learning
deep-learninggpu-accelerateddistributed-training

More Software Development packages