What is the difference between tf-nightly and tensorflow in PyPi?

Benyamin Jafari picture Benyamin Jafari · Dec 27, 2019 · Viewed 9.3k times · Source

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/

Answer

Shanqing Cai picture Shanqing Cai · Dec 27, 2019

Just to add to what BSO wrote:

  1. 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.

  2. 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.