Skip to content

Tests installation of Pytorch to ensure that GPU support is indeed up & running and meeting performance benchmarks

License

Notifications You must be signed in to change notification settings

jmgoodman/PyTorch-CUDA-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch-CUDA-Test

tests installation of Pytorch to ensure that GPU support is indeed up & running and meeting performance benchmarks

Usage instructions

  • Have Python 3.x and PyTorch installed.

  • Two options are given: a Jupyter Notebook (TestNotebook.ipynb) and a simple Python script (testscript.py).

  • To use TestNotebook.ipynb, it should be a simple matter of installing and running Jupyter, navigating to where you cloned this repository, opening the notebook, and running it.

  • To use testscript.py, navigate to where you cloned this repository and run python -m testscript

  • In both cases, it's a good sign when "GPU is available" is printed.

  • In both cases, two statements which indicate the amount of time taken (one for CPU, one nominally for GPU) are given. Great sign when GPU is taking less time than the CPU by an order of magnitude.

About

Tests installation of Pytorch to ensure that GPU support is indeed up & running and meeting performance benchmarks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published