Repository navigation
Fix Windows-native CPU-only install path and Python version support in pip guide - #2448
sanjay102432 wants to merge 1 commit into
Conversation
…n pip guide - Update supported Python versions to 3.10-3.13 (Python 3.9 removed in TF 2.21) - Replace obsolete Miniconda/conda/cudatoolkit Windows-native instructions with venv CPU-only flow - Fix broken #windows-[wsl2] anchor - Refs tensorflow/tensorflow#111734
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
|
||
| ```bash | ||
| python3 -m pip install 'tensorflow[and-cuda]' | ||
| 3 -m pip install 'tensorflow[and-cuda]' |
There was a problem hiding this comment.
Sorry about that - the 3 -m pip and 3 -c lines were an editing mistake (a stray deletion of the python prefix). The branch has been reset to the earlier commit with the actual change (Windows-native CPU-only venv flow, Python 3.10-3.13, Windows 10+ requirement, fixed #windows-wsl2 anchor). The python3 commands in the Linux/macOS/WSL2/nightly sections are unchanged from upstream, as you noted they should be. Also signing the CLA now.
6e0c5c4 to
fc72d39
Compare
|
I have no context on the windows or python version we support. So, I will pass on this one. |
haifeng-jin
left a comment
There was a problem hiding this comment.
I will pass as I do not have enough context on the change.
Part of the TF 3.0 release documentation effort — refs tensorflow/tensorflow#111734.
Changes (
site/en/install/pip.md)RELEASE.md; the wheel table in this guide lists cp310-cp313 builds)conda install cudatoolkit=11.2+pip install "tensorflow<2.11"+ GPU-verification block with current CPU-only instructions and the CPU verification command (native Windows has had no GPU support since TF 2.11)conda create python=3.9/ cuDNN sections; replaced with the standard venv flow, with a note pointing GPU users to the WSL2 section; renumbered steps (1 System requirements, 2 VC++ Redistributable, 3 venv, 4 Install, 5 Verify)#windows-[wsl2]->#windows-wsl2Verification
RELEASE.md: "Support for Python 3.9 has been removed starting with TF 2.21."pip install tensorflow-cpuinstalls andpython -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"runs successfully.Refs tensorflow/tensorflow#111734