Skip to main content

logo

Taeda

A lightweight Python library for GPU utilities and performance estimation.

Taeda is a Python package that adds more functions to Pytorch.

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.1

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.1
File Size Uploaded Provenance Actions
taeda-0.1.1.tar.gz 2.6 kB Without provenance Details for taeda-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 5.3 kB

Release files / taeda-0.1.1.tar.gz

Download URL taeda-0.1.1.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d4fb4bb4c208195885213e0210ca1e34ab289a151fd2e49780898722056832f5
BLAKE2b-256 checksum
How to use checksums
913d991fab7525fbe609f4f1e45d0a81589b282a5056b11108a6e0836c8acdca
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.1-py3-none-any.whl

Download URL taeda-0.1.1-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0dc9e83712b5e3adf21a001f152b96a8e6c099bdf91f3f90242d59e54af77110
BLAKE2b-256 checksum
How to use checksums
0dabd0ccc20c5ac4d35256a28020a1dfad97930d4e247cb0cced14545f9e421a
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.1

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