Skip to main content

Taeda

A lightweight Python library for GPU utilities and performance estimation.

Taeda is a Python package built with PyTorch and NVIDIA Management Library (NVML) to retrieve GPU information and estimate theoretical floating-point performance (TFLOPS).

Features

  • Detect available NVIDIA CUDA GPUs.
  • Retrieve GPU clock speeds in real time.
  • Calculate CUDA core counts.
  • Estimate theoretical FP32 TFLOPS.
  • Support multiple NVIDIA GPUs.
  • Simple Python API.

Installation

pip install taeda

Requirements

  • Python 3.9+
  • PyTorch
  • NVIDIA GPU
  • NVIDIA drivers
  • nvidia-ml-py

Usage

import taeda

tflops = taeda.get_tflops(0)

print(f"GPU Performance: {tflops:.3f} TFLOPS")

Example output:

GPU Performance: 0.622 TFLOPS

API

get_tflops(device_num=0)

Estimates the theoretical FP32 performance of an NVIDIA GPU.

Parameter Description
device_num CUDA GPU index (default: 0)

Returns: Estimated FP32 performance in TFLOPS (float), or None if CUDA is unavailable.

Raises: ValueError if the GPU index is invalid.

The clock speed is retrieved dynamically through NVML.

Limitations

  • TFLOPS values are theoretical estimates, not measured benchmark results.
  • Clock speeds fluctuate depending on GPU load, temperature and power limits.
  • CUDA core counts depend on GPU architecture.
  • Currently intended for supported NVIDIA CUDA GPUs.
  • Actual application performance depends on memory bandwidth, workload and other hardware limitations.

License

MIT License.

Metadata

Release files for taeda 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for taeda 0.1.0
File Size Uploaded Provenance Actions
taeda-0.1.0.tar.gz 2.5 kB Without provenance Details for taeda-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for taeda 0.1.0
File Interpreter ABI Platform Actions
taeda-0.1.0-py3-none-any.whl Python 3 none any Details for taeda-0.1.0-py3-none-any.whl

Total release size: 5.3 kB

Release files / taeda-0.1.0.tar.gz

Download URL taeda-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0e9071374cce1d4080a95910536d77ce6f399ef86c1323a56af4be0f94d25da7
BLAKE2b-256 checksum
How to use checksums
e2b17045b13d97c5dc449dd4012d4ca983e5251269d1fe689f50631d5b1c48da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Release files / taeda-0.1.0-py3-none-any.whl

Download URL taeda-0.1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91d7a6c91c1ad0e83ad9e0ec68e0f2e22d67e535cb91ee170fca0b8647e11ec4
BLAKE2b-256 checksum
How to use checksums
a80f792881086726ca67de13ee205e266c24f3db64f16c202daecb6038baf3f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.0

Security for taeda 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page