Skip to main content

Python implementation of RPM elfdeps

Project description

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

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

elfgpu-0.1.0a1.tar.gz (95.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

elfgpu-0.1.0a1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file elfgpu-0.1.0a1.tar.gz.

File metadata

  • Download URL: elfgpu-0.1.0a1.tar.gz
  • Upload date:
  • Size: 95.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for elfgpu-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 6beb572b41f6694c45fea274ba046dc15cfc93d4a2735348293afb8bd37628e5
MD5 e1a2be0069dbcc825612bd2ee5d4b74f
BLAKE2b-256 57d4ba65467b7f22a3dac3a28aee6c46ef79bef5d6f60803d0a88d678c7e7f6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for elfgpu-0.1.0a1.tar.gz:

Publisher: pypi.yaml on tiran/elfgpu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file elfgpu-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: elfgpu-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for elfgpu-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 328b39b58b3f63cfb32de2b9092692324031d190acbd8911ba47ee2fd541fb3c
MD5 f8619a392775644701ca5fcfab264faf
BLAKE2b-256 6ea39ed58f285feeb4da7ee470a01f81896e7c54cd94d32af8ef11ce782d6317

See more details on using hashes here.

Provenance

The following attestation bundles were made for elfgpu-0.1.0a1-py3-none-any.whl:

Publisher: pypi.yaml on tiran/elfgpu

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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