Skip to main content

Compare GPUs

Project description

gpucompare

Build status Python Version Dependencies Status

Code style: black Security: bandit Pre-commit Semantic Versions License Coverage Report

Compare GPUs

Installation

pip install -U gpucompare

or install with Poetry

poetry add gpucompare

Then you can run

gpucompare --help

or with Poetry:

poetry run gpucompare --help

Working

$ gpucompare --help

 Usage: gpucompare [OPTIONS]                                                                                
                                                                                                            
 Compare GPUs                                                                                               
                                                                                                            
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────╮
│ *  --csv-data          TEXT  CSV file containing row-wise GPU data           [default: None] [required]  │
│                                                                                                          │
│                              Possible columns:                                                           │
│                              gpu_name (str): name of gpu  [required]                                     │
│                              architecture (str): GPU architecture                                        │
│                              cuda_cores (int): number of cuda cores                                      │
│                              fp32_perf (float): fp32 performance in TFLOPS                               │
│                              fp16_perf (float): fp16 performance in TFLOPS                               │
│                              int8_perf (float): int8 performance in TOPS                                 │
│                              mem (float): gpu memory in GiB                                              │
│                              mem_bandwidth (float): memory bandwidth in GB/s                             │
│    --version   -v            Prints the version of the gpucompare package.                               │
│    --help                    Show this message and exit.                                                 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
$ gpucompare --csv-data assets/gpu_data.csv
# gpu_data.csv
# gpu_name,architecture,int8_perf,mem_bandwidth
# A2,ampere,36,200
# A10,ampere,250,600
# A30,ampere,330,933
{'A10/A2': '3.0x', 'A30/A2': '4.67x'}

Contributing

Thanks for considering contributing to this project. Please follow Contributing guidelines.

🛡 License

License

This project is licensed under the terms of the MIT license. See LICENSE for more details.

📃 Citation

@misc{gpucompare,
  author = {kHarshit},
  title = {Compare GPUs},
  year = {2022},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/kHarshit/gpucompare}}
}

Credits 🚀 Your next Python package needs a bleeding-edge project structure.

This project was generated with python-package-template

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpucompare-1.0.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

gpucompare-1.0.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file gpucompare-1.0.0.tar.gz.

File metadata

  • Download URL: gpucompare-1.0.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.5 Linux/5.9.1-1.el7.elrepo.x86_64

File hashes

Hashes for gpucompare-1.0.0.tar.gz
Algorithm Hash digest
SHA256 09525a1f4e1f8500e2e3ea838271a4b72f8eef0d158c0742b8131d6832a92ad4
MD5 11c23d451ef89ec350cbbbd360721282
BLAKE2b-256 bcb4b11b04b0ff27180a17a06a0cb78cbc7acaebb8bb776d36deebf41a729924

See more details on using hashes here.

File details

Details for the file gpucompare-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: gpucompare-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.5 Linux/5.9.1-1.el7.elrepo.x86_64

File hashes

Hashes for gpucompare-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 633511bafd4115dc102112aa35d49a947070e0298171486133468cf8f5dac901
MD5 963d38afb9eb110394b9cc926fbbee9f
BLAKE2b-256 9c78d42b139b639ac304da61ac7e223708401990aa4916978a6eb2ad94b63b6f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page