https://github.com/ashishpatel26/tensorflow-installation-on-windows10-cuda-and-cudnn
TensorFlow installation on windows10 CUDA and cudnn
https://github.com/ashishpatel26/tensorflow-installation-on-windows10-cuda-and-cudnn
cuda cudatoolkit cudnn installation nvidia tensorflow tensorflow2 windows windows10
Last synced: about 2 months ago
JSON representation
TensorFlow installation on windows10 CUDA and cudnn
- Host: GitHub
- URL: https://github.com/ashishpatel26/tensorflow-installation-on-windows10-cuda-and-cudnn
- Owner: ashishpatel26
- Created: 2021-07-12T10:16:52.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-12T12:59:59.000Z (almost 4 years ago)
- Last Synced: 2025-04-02T17:52:56.711Z (3 months ago)
- Topics: cuda, cudatoolkit, cudnn, installation, nvidia, tensorflow, tensorflow2, windows, windows10
- Language: Python
- Homepage:
- Size: 688 KB
- Stars: 9
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Tensorflow 2 Installation On Windows10 with CUDA and cudnn

---
1. **Install anaconda : https://www.anaconda.com/products/individual**

2. **Install visual C++ :** https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0

3. **Check the Link https://www.tensorflow.org/install/source_windows for cuda version**

### GPU
| Version | Python version | Compiler | Build tools | cuDNN | CUDA |
| :------------------- | :------------- | :-------- | :---------- | :---- | :--- |
| tensorflow_gpu-2.5.0 | 3.6-3.9 | MSVC 2019 | Bazel 3.7.2 | 8.1 | 11.2 |4. **Create the new environment in Conda**
###### Commands :
1. ```bash
conda create -n tf_gpu python==3.8
```
2. ```bash
conda activate tf_gpu
```3. ```bash
conda install cudatoolkit=11.2 cudnn=8.1 -c=conda-forge
```4. ```bash
pip install --upgrade tensorflow-gpu
```5. **Testing GPU is available or Not.**
```python
import tensorflow as tf
tf.test.is_gpu_available()
```6. **Installation of CUDA Toolkit as well** - **[Download CudaToolkit](https://developer.nvidia.com/cuda-downloads)**

**Thanks for Reading**
---