What is the difference between tf-nightly and tensorflow in PyPI?
pip install tf-nightly pip install tensorflow
Which one is reliable?
https://pypi.org/project/tf-nightly/
https://pypi.org/project/tensorflow/
Advertisement
Answer
Just to add to what Ben Souchet wrote:
As its name suggests, the
tf-nightlypip 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 stabletensorflowrelease (see below), you should usepip install tf-nightly. But the downside is that becausetf-nightlyreleases are not subject to the same strict set of release testing astensorflow, 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
tensorflowpip 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 thantf-nightly. The documentation on https://www.tensorflow.org/api_docs/python/ is updated once per minor version bump in thetensorflowpip package.