Last active
March 21, 2025 05:28
-
-
Save mypapit/e6f560be6a5e488ef7f07900013e06a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # this is for using conda | |
| conda create -n tensorflow python=3.10 | |
| conda activate tensorflow | |
| conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0 | |
| # Anything above 2.10 is not supported on the GPU on Windows Native | |
| #ensure numpy 1.26 is installed (tensorflow 2.10 compat) | |
| python -m pip install tensorflow==2.10 scikit-learn==1.6.1 numpy=1.24.4 | |
| # Verify the installation: | |
| python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment