Registry / ai-ml / tfa-nightly

tfa-nightly

JSON →
library0.23.0.dev20240415222534pypypiunverified

Nightly pre-release builds of TensorFlow Addons, a library of maintained TensorFlow API extensions. Current version 0.23.0.dev (development). Published irregularly (nightly). Not stable; use TensorFlow Addons stable (tensorflow-addons) for production.

pip install tfa-nightly
INSTALL
IMPORT
SIG · TFA-NIGHTLY
T
tfa-nightly
ai-mlpythonv0.23.0.dev20240415222534
Install
2.9s avg
Import
—
Disk
23MB
Pass rate
3/ 10
Env Coverage3 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.23.0.dev20240415222534 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✓ 2.9s
py 3.11
✕ build_error
✓ 2.4s
py 3.12
✕ build_error
✕ build_error
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✓ 3.4s
23MB installed
● package 23MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tfa
✓ import tensorflow_addons as tfa
✗ from tensorflow_addons import ...
tfa-nightly installs as tensorflow_addons (same namespace). Import using standard module name.

Minimal working example: import tensorflow and tensorflow_addons, then use an optimizer from addons.

import tensorflow as tf import tensorflow_addons as tfa # Example: use a standard optimizer from addons model = tf.keras.Sequential([tf.keras.layers.Dense(10)]) optimizer = tfa.optimizers.LAMB(learning_rate=0.001) model.compile(optimizer=optimizer, loss='mse') print('tfa installed and working')
Debug
Known issues
breakingtfa-nightly is inherently unstable and may break at any time. APIs can change or disappear without notice. Use only for testing.
fix
Pin to a specific nightly version and test thoroughly before updating.
affects: all
gotchatfa-nightly and tensorflow-addons (stable) cannot be installed together. They conflict because both install under the same namespace tensorflow_addons.
fix
Use only one of them. Uninstall the other: pip uninstall tensorflow-addons tfa-nightly
affects: all
deprecatedTensorFlow Addons (including nightly) is in maintenance mode since TensorFlow 2.10. Many ops have been integrated into core or moved to tf.keras. The official recommendation is to use core TensorFlow functions where possible.
fix
Migrate to core TensorFlow APIs. See https://github.com/tensorflow/addons#recommendation
affects: all
Upgrade
Version history
0.23.0.dev20240415222534latest on PyPI · released Apr 15, 2024
Audit
Dependencies
tensorflowrequiredRequired; addons are extensions of TensorFlow
Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources