Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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/

like image 781
Benyamin Jafari Avatar asked Dec 27 '19 11:12

Benyamin Jafari


People also ask

What is Nightly TensorFlow?

pypi i tf-nightly. Follow. Follow. TensorFlow is an open source software library for high performance numerical computation. Its flexible architecture allows easy deployment of computation across a variety of platforms (CPUs, GPUs, TPUs), and from desktops to clusters of servers to mobile and edge devices.

What is Python nightly?

Nightly is a simple utility for executing a command every evening. Think of it as a poor person's Cron that only does one thing with a less-flexible scheduling system.

What is TB nightly?

tb-nightly 2.11. 0a20220830 TensorBoard is a suite of web applications for inspecting and understanding your TensorFlow runs and graphs. Releases prior to 1.6. 0 were published under the tensorflow-tensorboard name and may be found at https://pypi.python.org/pypi/tensorflow-tensorboard.


2 Answers

Just to add to what Ben Souchet 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.

like image 173
Shanqing Cai Avatar answered Oct 26 '22 11:10

Shanqing Cai


The Nightly is used to get earlier access to the latest tensorflow development ideas, this version is daily updated. It's the same as with browsers (see here).

Which one is reliable?

The classic tensorflow pip install tensorflow is the most reliable of the two. this version has been tested by lot of people before being released.

like image 39
Ben Souchet Avatar answered Oct 26 '22 10:10

Ben Souchet