@@ -13,74 +13,100 @@ step-by-step instructions.
13
13
14
14
* {Linux}
15
15
16
- ``` bash
17
- conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
18
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$CONDA_PREFIX /lib/
19
- python3 -m pip install tensorflow
20
- # Verify install:
21
- python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
22
- ```
16
+ Note: Starting with TensorFlow ` 2.10 ` , Linux CPU-builds for Aarch64/ARM64
17
+ processors are are built, maintained, tested and released by a third party:
18
+ [ AWS] ( https://aws.amazon.com/ ) .
19
+ Installing the [ ` tensorflow ` ] ( https://pypi.org/project/tensorflow/ )
20
+ package on an ARM machine installs AWS's
21
+ [ ` tensorflow-cpu-aws ` ] ( https://pypi.org/project/tensorflow-cpu-aws/ ) package.
22
+ They are provided as-is. Tensorflow will use reasonable efforts to maintain
23
+ the availability and integrity of this pip package. There may be delays if
24
+ the third party fails to release the pip package. See
25
+ [ this blog post] ( https://blog.tensorflow.org/2022/09/announcing-tensorflow-official-build-collaborators.html )
26
+ for more information about this collaboration.
27
+
28
+ ``` bash
29
+ conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
30
+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$CONDA_PREFIX /lib/
31
+ python3 -m pip install tensorflow
32
+ # Verify install:
33
+ python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
34
+ ```
23
35
24
36
* {MacOS}
25
37
26
- ``` bash
27
- # There is currently no official GPU support for MacOS.
28
- python3 -m pip install tensorflow
29
- # Verify install:
30
- python3 -c " import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
31
- ```
38
+ ` ` ` bash
39
+ # There is currently no official GPU support for MacOS.
40
+ python3 -m pip install tensorflow
41
+ # Verify install:
42
+ python3 -c " import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
43
+ ` ` `
32
44
33
45
* {Windows Native}
34
46
35
- Caution: The current TensorFlow version, ` 2.10 ` , is the ** last** TensorFlow
36
- release that will support GPU on native-Windows.
37
- Starting with TensorFlow ` 2.11 ` , you will need to install
38
- [ TensorFlow in WSL2] ( https://tensorflow.org/install/pip#windows-wsl2 ) ,
39
- or install ` tensorflow_cpu ` and, optionally, try the
40
- [ TensorFlow-DirectML-Plugin] ( https://github.com/microsoft/tensorflow-directml-plugin#tensorflow-directml-plugin- )
47
+ Caution: The current TensorFlow version, ` 2.10` , is the ** last** TensorFlow
48
+ release that will support GPU on native-Windows.
49
+ Starting with TensorFlow ` 2.11` , you will need to install
50
+ [TensorFlow in WSL2](https://tensorflow.org/install/pip#windows-wsl2),
51
+ or install ` tensorflow_cpu` and, optionally, try the
52
+ [TensorFlow-DirectML-Plugin](https://github.com/microsoft/tensorflow-directml-plugin#tensorflow-directml-plugin-)
41
53
42
- ``` bash
43
- conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
44
- python3 -m pip install tensorflow
45
- # Verify install:
46
- python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
47
- ```
54
+ ` ` ` bash
55
+ conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
56
+ python3 -m pip install tensorflow
57
+ # Verify install:
58
+ python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
59
+ ` ` `
48
60
49
61
* {Windows WSL2}
50
62
51
- Note: TensorFlow with GPU access is supported for WSL2 on Windows 10 19044 or
52
- higher. This corresponds to Windows 10 version 21H2, the November 2021
53
- update. You can get the latest update from here:
54
- [ Download Windows 10] ( https://www.microsoft.com/software-download/windows10 ) {:.external}.
55
- For instructions, see
56
- [ Install WSL2] ( https://docs.microsoft.com/windows/wsl/install ) {:.external}
57
- and
58
- [ NVIDIA’s setup docs] ( https://docs.nvidia.com/cuda/wsl-user-guide/index.html ) {:.external}
59
- for CUDA in WSL.
60
-
61
- ``` bash
62
- conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
63
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$CONDA_PREFIX /lib/
64
- python3 -m pip install tensorflow
65
- # Verify install:
66
- python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
67
- ```
63
+ Note: TensorFlow with GPU access is supported for WSL2 on Windows 10 19044 or
64
+ higher. This corresponds to Windows 10 version 21H2, the November 2021
65
+ update. You can get the latest update from here:
66
+ [Download Windows 10](https://www.microsoft.com/software-download/windows10){:.external}.
67
+ For instructions, see
68
+ [Install WSL2](https://docs.microsoft.com/windows/wsl/install){:.external}
69
+ and
70
+ [NVIDIA’s setup docs](https://docs.nvidia.com/cuda/wsl-user-guide/index.html){:.external}
71
+ for CUDA in WSL.
72
+
73
+ ` ` ` bash
74
+ conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
75
+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :$CONDA_PREFIX /lib/
76
+ python3 -m pip install tensorflow
77
+ # Verify install:
78
+ python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
79
+ ` ` `
68
80
69
81
* {CPU}
70
82
71
- ``` bash
72
- python3 -m pip install tensorflow
73
- # Verify install:
74
- python3 -c " import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
75
- ```
83
+ Note: Starting with TensorFlow ` 2.10` , Windows CPU-builds for x86/x64
84
+ processors are built, maintained, tested and released by a third party:
85
+ [Intel](https://www.intel.com/).
86
+ Installing the windows-native
87
+ [` tensorflow-cpu` ](https://pypi.org/project/tensorflow-cpu/)
88
+ package installs Intel' s
89
+ [`tensorflow-intel`](https://pypi.org/project/tensorflow-intel/)
90
+ package. These packages are provided as-is. Tensorflow will use reasonable
91
+ efforts to maintain the availability and integrity of this pip package.
92
+ There may be delays if the third party fails to release the pip package. See
93
+ [this blog post](https://blog.tensorflow.org/2022/09/announcing-tensorflow-official-build-collaborators.html)
94
+ for more information about this
95
+ collaboration.
96
+
97
+ ```bash
98
+ python3 -m pip install tensorflow
99
+ # Verify install:
100
+ python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
101
+ ```
76
102
77
103
* {Nightly}
78
104
79
- ``` bash
80
- python3 -m pip install tf-nightly
81
- # Verify install:
82
- python3 -c " import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
83
- ```
105
+ ```bash
106
+ python3 -m pip install tf-nightly
107
+ # Verify install:
108
+ python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
109
+ ```
84
110
85
111
## Hardware requirements
86
112
@@ -145,6 +171,18 @@ The following NVIDIA® software are only required for GPU support.
145
171
TensorFlow only officially support Ubuntu. However, the following
146
172
instructions may also work for other Linux distros.
147
173
174
+ Note: Starting with TensorFlow `2.10`, Linux CPU-builds for Aarch64/ARM64
175
+ processors are are built, maintained, tested and released by a third party:
176
+ [AWS](https://aws.amazon.com/).
177
+ Installing the [`tensorflow`](https://pypi.org/project/tensorflow/)
178
+ package on an ARM machine installs AWS' s
179
+ [` tensorflow-cpu-aws` ](https://pypi.org/project/tensorflow-cpu-aws/) package.
180
+ They are provided as-is. Tensorflow will use reasonable efforts to maintain
181
+ the availability and integrity of this pip package. There may be delays if
182
+ the third party fails to release the pip package. See
183
+ [this blog post](https://blog.tensorflow.org/2022/09/announcing-tensorflow-official-build-collaborators.html)
184
+ for more information about this collaboration.
185
+
148
186
# ## 2. Install Miniconda
149
187
150
188
[Miniconda](https://docs.conda.io/en/latest/miniconda.html){:.external} is the
@@ -357,6 +395,20 @@ The following NVIDIA® software are only required for GPU support.
357
395
358
396
* Windows 7 or higher (64-bit)
359
397
398
+ Note: Starting with TensorFlow ` 2.10` , Windows CPU-builds for x86/x64
399
+ processors are built, maintained, tested and released by a third party:
400
+ [Intel](https://www.intel.com/).
401
+ Installing the windows-native
402
+ [` tensorflow-cpu` ](https://pypi.org/project/tensorflow-cpu/)
403
+ package installs Intel' s
404
+ [`tensorflow-intel`](https://pypi.org/project/tensorflow-intel/)
405
+ package. These packages are provided as-is. Tensorflow will use reasonable
406
+ efforts to maintain the availability and integrity of this pip package.
407
+ There may be delays if the third party fails to release the pip package. See
408
+ [this blog post](https://blog.tensorflow.org/2022/09/announcing-tensorflow-official-build-collaborators.html)
409
+ for more information about this
410
+ collaboration.
411
+
360
412
### 2. Install Microsoft Visual C++ Redistributable
361
413
362
414
Install the *Microsoft Visual C++ Redistributable for Visual Studio 2015,
0 commit comments