Skip to content

Commit 7486c4d

Browse files
committed
Updated Python Configure section, GPU support
1 parent 9263014 commit 7486c4d

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

site/en/install/source_windows.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Note: TensorFlow is tested against the *Visual Studio 2019*.
6969
See the Windows [GPU support](./gpu.md) guide to install the drivers and
7070
additional software required to run TensorFlow on a GPU.
7171

72-
Note: This is only for 2.10 or earlier. 2.11 or later versions does support GPU on Windows
72+
Note: This is only for 2.10 or earlier versions, 2.11 or later versions does not support GPU on native-Windows
7373

7474
### Download the TensorFlow source code
7575

@@ -140,11 +140,9 @@ differ):
140140
python ./configure.py
141141
You have bazel 5.3.0 installed.
142142
Please specify the location of python. [Default is C:\Python310\python.exe]:
143-
144-
145143
Found possible Python library paths:
146-
D:\user\mraunak\venv310\lib\site-packages
147-
Please input the desired Python library path to use. Default is [D:\user\mraunak\venv310\lib\site-packages]
144+
C:\Python310\lib\site-packages
145+
Please input the desired Python library path to use. Default is [C:\Python310\lib\site-packages]
148146

149147
Do you wish to build TensorFlow with ROCm support? [y/N]:
150148
No ROCm support will be enabled for TensorFlow.
@@ -173,7 +171,7 @@ Preconfigured Bazel build configs to DISABLE default on features:
173171
--config=nogcp # Disable GCP support.
174172
--config=nonccl # Disable NVIDIA NCCL support.
175173

176-
Configuration finished
174+
# Configuration finished
177175
</pre>
178176
</section>
179177

@@ -220,7 +218,7 @@ To make the TensorFlow package builder with GPU support:
220218
bazel build --config=opt --config=cuda --define=no_tensorflow_py_deps=true //tensorflow/tools/pip_package:build_pip_package
221219
</pre>
222220

223-
Commands to clean the bazel cache to resolve errors due to invalid or outdated cached data, bazel clean with --expunge flag removes files permanently [tensorflow:issue#13135](https://github.com/tensorflow/tensorflow/issues/13135)
221+
Commands to clean the bazel cache to resolve errors due to invalid or outdated cached data, bazel clean with --expunge flag removes files permanently
224222

225223
<pre class="devsite-terminal tfo-terminal-windows devsite-click-to-copy">
226224
bazel clean
@@ -267,7 +265,7 @@ The filename of the generated `.whl` file depends on the TensorFlow version and
267265
your platform. Use `pip3 install` to install the package, for example:
268266

269267
<pre class="devsite-terminal tfo-terminal-windows prettyprint lang-bsh">
270-
pip3 install C:/tmp/tensorflow_pkg/tensorflow-<var>version</var>-cp36-cp36m-win_amd64.whl
268+
pip3 install C:/tmp/tensorflow_pkg/tensorflow-<var>version</var>-cp310-cp310-win_amd64.whl
271269
</pre>
272270

273271
Success: TensorFlow is now installed.
@@ -294,12 +292,12 @@ considered a Unix absolute path since it starts with a slash.)
294292

295293
Add the Bazel and Python installation directories to your `$PATH` environmental
296294
variable. If Bazel is installed to `C:\tools\bazel.exe`, and Python to
297-
`C:\Python36\python.exe`, set your `PATH` with:
295+
`C:\Python310\python.exe`, set your `PATH` with:
298296

299297
<pre class="prettyprint lang-bsh">
300298
# Use Unix-style with ':' as separator
301299
<code class="devsite-terminal">export PATH="/c/tools:$PATH"</code>
302-
<code class="devsite-terminal">export PATH="/c/Python36:$PATH"</code>
300+
<code class="devsite-terminal">export PATH="/c/Python310:$PATH"</code>
303301
</pre>
304302

305303
For GPU support, add the CUDA and cuDNN bin directories to your `$PATH`:

0 commit comments

Comments
 (0)