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

0

Issue

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/

Solution

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.

Answered By – Shanqing Cai

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More