Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

ELF GPU

Work-in-progress / early research phase

The goal of this project is to extend pyelftools so it can inspect CUDA and HIP/ROCm fat ELF binaries and detect which GPU devices (architectures) are supported by a given shared library or executable.

See REFERENCES.md for binary format documentation, tools, and research links.

Example output for Torch 2.11.0

torch-2.11.0-cp312-cp312-manylinux_2_28_x86_64.whl

$ python3 -m elfgpu libtorch_cuda.so 
sm_100
sm_100a
sm_103a
sm_120
sm_120a
sm_121a
sm_75
sm_80
sm_86
sm_89
sm_90
sm_90a

torch-2.11.0+rocm7.2-cp312-cp312-manylinux_2_28_x86_64.whl

$ python3 -m elfgpu libtorch_hip.so 
gfx1030
gfx1100
gfx1101
gfx1102
gfx1150
gfx1151
gfx1200
gfx1201
gfx900
gfx906
gfx908
gfx90a
gfx942
gfx950

Release files for elfgpu 0.1.0a1

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

Source distribution (sdist)

Source distribution for elfgpu 0.1.0a1
File Size Uploaded
elfgpu-0.1.0a1.tar.gz 95.2 kB Details

Built distribution (wheel)

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

Total release size: 112.3 kB

Release files / elfgpu-0.1.0a1.tar.gz

Download URL elfgpu-0.1.0a1.tar.gz
Size 95.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6beb572b41f6694c45fea274ba046dc15cfc93d4a2735348293afb8bd37628e5
BLAKE2b-256 checksum
How to use checksums
57d4ba65467b7f22a3dac3a28aee6c46ef79bef5d6f60803d0a88d678c7e7f6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release files / elfgpu-0.1.0a1-py3-none-any.whl

Download URL elfgpu-0.1.0a1-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
328b39b58b3f63cfb32de2b9092692324031d190acbd8911ba47ee2fd541fb3c
BLAKE2b-256 checksum
How to use checksums
6ea39ed58f285feeb4da7ee470a01f81896e7c54cd94d32af8ef11ce782d6317
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0a1 This release

2 release files

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