In the CPU-only environment, tensorflow-cpu is recommended. https://www.tensorflow.org/install/pip
It has a smaller package size and may reduce errors during download in the CIs.
For example, the size of tensorflow-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is 589.8 MB, but tensorflow_cpu-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is 214.1 MB.
Motivation
In the CPU-only environment,
tensorflow-cpu
is recommended. https://www.tensorflow.org/install/pip It has a smaller package size and may reduce errors during download in the CIs. For example, the size oftensorflow-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
is 589.8 MB, buttensorflow_cpu-2.16.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
is 214.1 MB.Description of the changes
Install
tensorflow-cpu
instead oftensorflow
.