This repository contains a simple Python script to check the version of CUDA installed on your system using PyTorch.
The CheckCudaVersion.py
script helps you quickly determine the version of CUDA that is currently installed on your machine. This can be useful for debugging and ensuring compatibility with various machine learning frameworks and libraries that rely on CUDA for GPU acceleration.
- Python 3.x
- PyTorch
-
Clone the repository:
git clone https://github.com/yourusername/CUDA-Version-Checker.git cd CUDA-Version-Checker
-
Install PyTorch: Follow the installation instructions for PyTorch from the official website.
-
Run the script:
python CheckCudaVersion.py
-
Output: The script will print the current version of CUDA installed on your system.
The current CUDA version installed is x.x
This project is licensed under the MIT License. See the LICENSE file for details.