What is the difference between tf-nightly
and tensorflow
in PyPi?
pip install tf-nightly
pip install tensorflow
Which one is reliable?
Just to add to what BSO wrote:
As its name suggests, the tf-nightly
pip package is built and released to PyPI every night (barring any build failures, which happens rarely). As a result, you can see an almost once-per-day version update history. It has the latest features close to the HEAD of the master branch of github.com/tensorflow. Therefore, if you want the latest features, improvements and bug fixes, such as the ones committed after the last stable tensorflow
release (see below), you should use pip install tf-nightly
. But the downside is that because tf-nightly
releases are not subject to the same strict set of release testing as tensorflow
, it'll occasionally include bugs that will be fixed later. Also, since it's built from HEAD, it'll reflect intermediate developments status such as incompleteness in features.
The tensorflow
pip package is released by a semantic-version-based schedule. A new version is pushed out approximately once 2-6 months. Due to the comprehensive set of release testing jobs, the quality is higher than tf-nightly
. The documentation on https://www.tensorflow.org/api_docs/python/ is updated once per minor version bump in the tensorflow
pip package.