tf-keras-nightly
Deep learning for humans.
What it is and what it does
TF-Keras is the pure-TensorFlow implementation of Keras, providing a high-level API for defining, training, and evaluating deep learning models. It is built on the legacy tf.keras codebase and runs entirely within TensorFlow, making it tightly integrated with TensorFlow's execution model and optimization pipeline. The package offers familiar Keras abstractions—layers, models, optimizers, and loss functions—while remaining a TensorFlow-native implementation.
This is a nightly development build, meaning it tracks the latest development branch of TF-Keras and receives frequent updates. It depends on tf-nightly, so you get the latest TensorFlow features and fixes alongside the latest Keras API changes. This package is distinct from the multi-backend Keras 3, which supports multiple backends; TF-Keras is TensorFlow-specific and maintains the original Keras API surface for TensorFlow users.
Use it for:
- Build neural network models for image classification, NLP, or regression tasks using the Keras API.
- Experiment with cutting-edge TensorFlow and Keras features during development by tracking nightly builds.
- Train models with custom layers, callbacks, and training loops while leveraging TensorFlow's distributed training.
- Migrate existing tf.keras code to a standalone package that decouples Keras from the main TensorFlow release cycle.
- Prototype deep learning architectures using high-level Keras abstractions without writing low-level operations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
TF-Keras is a pure-TensorFlow implementation of Keras that provides a high-level deep learning API for building and training neural networks.
Yes, if you are actively developing with TensorFlow and want the latest Keras API features; no, if you need stability and predictability—use the stable tf-keras release instead. The nightly build is suitable for developers and researchers who can tolerate frequent changes and want early access to new features, but not for production systems requiring long-term API stability.
Install
tf-keras-nightly on PyPI
pip
pip install tf-keras-nightlyuv
uv add tf-keras-nightlypoetry
poetry add tf-keras-nightlyInstalling tf-keras-nightly
Before you install
Low install friction with a pure Python wheel. Active maintenance with a commit from 2026-08-14 and a release on the same day. Single runtime dependency on tf-nightly means you inherit that package's stability profile.
License in practice
Apache 2.0 is permissive; you can use this in commercial and proprietary projects with minimal restrictions, provided you retain license notices.
Quickstart
pip install tf-keras-nightly
from tf_keras_nightly import keras
model = keras.Sequential([
keras.layers.Dense(activation='relu'),
keras.layers.Dense(activation='softmax')
])
model.compile(optimizer='adam', loss='sparse_categorical_crossentropy')
Requires Python 3.10 or later and tf-nightly as a runtime dependency.
Verify before relying
- Whether this nightly build is suitable for production use or intended only for development and testing
- Stability guarantees and API compatibility between nightly releases
- Performance characteristics compared to the stable tf-keras release channel
- Specific usage examples and API surface details beyond what the description excerpt provides
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — tf-nightly |
| Maintenance | actively maintained — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,410,295/month — #3,940 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: tf_keras_nightly-2.21.0.dev2026081409-py3-none-any.whl
Keywords: keras, tensorflow, machine learning, deep learning
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
tensorflow-addonsTensorFlow Addons provides experimental…
permissive · top 5,000 on PyPI
tf-kerasTF-Keras is the pure-TensorFlow implementation…
permissive · top 5,000 on PyPI
tf-slimTensorFlow-Slim provides high-level layers,…
permissive · top 15,000 on PyPI
Keras-PreprocessingProvides data preprocessing and augmentation…
permissive · top 5,000 on PyPI
keras-nightlyA multi-backend deep learning framework that…
permissive · top 15,000 on PyPI
kerasKeras 3 is a multi-backend deep learning…
permissive · top 5,000 on PyPI
scikerasSciKeras wraps Keras models to work with…
permissive · top 15,000 on PyPI
tensorflow-estimatorTensorFlow Estimator provides a high-level API…
permissive · top 5,000 on PyPI
efficientnetProvides Keras and TensorFlow Keras…
permissive · top 15,000 on PyPI
keras-hubKerasHub provides Keras 3 implementations of…
permissive · top 15,000 on PyPI