File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ step-by-step instructions.
54
54
` ` ` bash
55
55
conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0
56
56
# Anything above 2.10 is not supported on the GPU on Windows Native
57
- python3 -m pip install " tensorflow<2.11"
57
+ python -m pip install " tensorflow<2.11"
58
58
# Verify install:
59
- python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
59
+ python -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
60
60
` ` `
61
61
62
62
* {Windows WSL2}
@@ -497,15 +497,15 @@ The following NVIDIA® software are only required for GPU support.
497
497
Verify the CPU setup:
498
498
499
499
```bash
500
- python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
500
+ python -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
501
501
```
502
502
503
503
If a tensor is returned, you' ve installed TensorFlow successfully.
504
504
505
505
Verify the GPU setup:
506
506
507
507
` ` ` bash
508
- python3 -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
508
+ python -c " import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"
509
509
` ` `
510
510
511
511
If a list of GPU devices is returned, you' ve installed TensorFlow
You can’t perform that action at this time.
0 commit comments