/CheckCudaVersion

This repository contains a Python script to check the installed CUDA version using PyTorch. It helps ensure compatibility with machine learning frameworks that require GPU acceleration.

Primary LanguagePython

CUDA Version Checker

This repository contains a simple Python script to check the version of CUDA installed on your system using PyTorch.

Description

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.

Prerequisites

  • Python 3.x
  • PyTorch

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/CUDA-Version-Checker.git
    cd CUDA-Version-Checker
  2. Install PyTorch: Follow the installation instructions for PyTorch from the official website.

Usage

  1. Run the script:

    python CheckCudaVersion.py
  2. Output: The script will print the current version of CUDA installed on your system.

    The current CUDA version installed is x.x
    

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments