Skip to main content

Python bindings for TBLIS, a high performance library for tensor operations

Project description

pytblis: Python bindings for TBLIS

Actions Status GitHub Discussion

Are your einsums too slow?

Need FP64 tensor contractions and can't buy a datacenter GPU because you already maxed out your home equity line of credit?

Set your CPU on fire with TBLIS!

Installation

pip install pytblis

Usage

pytblis.einsum and pytblis.tensordot are drop-in replacements for numpy.einsum and numpy.tensordot.

Limitations

Supported datatypes: float, double, complex float, complex double. Mixing arrays of different types isn't yet supported. I may add a workaround for real-complex tensor contraction.

Arrays with negative or zero stride are not supported and will cause pytblis to fall back to NumPy.

Research

If you use TBLIS in your academic work, it's a good idea to cite:

TBLIS is not my work, and its developers are not responsible for flaws in these Python bindings.

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

pytblis-0.0.2.tar.gz (21.8 kB view details)

Uploaded Source

Built Distributions

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

pytblis-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pytblis-0.0.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pytblis-0.0.2-cp313-cp313-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.13macOS 12.0+ ARM64

pytblis-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pytblis-0.0.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pytblis-0.0.2-cp312-cp312-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12macOS 12.0+ ARM64

pytblis-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pytblis-0.0.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pytblis-0.0.2-cp311-cp311-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

pytblis-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pytblis-0.0.2-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pytblis-0.0.2-cp310-cp310-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

pytblis-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

pytblis-0.0.2-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (2.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

pytblis-0.0.2-cp39-cp39-macosx_12_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

File details

Details for the file pytblis-0.0.2.tar.gz.

File metadata

  • Download URL: pytblis-0.0.2.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pytblis-0.0.2.tar.gz
Algorithm Hash digest
SHA256 46a05110143de08d75816764f04ce964aaf3ae295031de680bf94e015be2b6c5
MD5 2a2a198df4a741c7f08aa1ceab7b2465
BLAKE2b-256 ac21efd79f81a92cca6ac8c54679074927d49bb388a0379d3a2ede269b73443c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2.tar.gz:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9f6dc29e93dbbe4a5a5af96cde1fe84f884f3572babbc49c10192b4cf2ba0c7c
MD5 10ec4fb13ca4a03ec85efe751bed6b91
BLAKE2b-256 c5102d69c15c5a89c82130defb48f4702009ee17582b445f77aa871f64a852b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 12a43f71c59cf260238837ad9ec1bb7b467f1d55df79957eabaf214917526fca
MD5 3c5fa3b12023909cbb4eb15a55a196c1
BLAKE2b-256 b8c21823e3bb85d4e9708b7fcc6342ebbd6cc804123d912e32fc054d95ce0a99

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp313-cp313-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp313-cp313-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 ffebd92b9866f9dbc2d3ec85a15e6e2e07f52fa8d7cf40e306a4458d119fd2b6
MD5 e2df6292ad89e3f53b94b736ee35d351
BLAKE2b-256 4e707c1fa70fe2f1dc41745c28277a60b27d117ef84a6c34e6c4827fbb14f0f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp313-cp313-macosx_12_0_arm64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d0ae7a7d95b3fa309b946fc03c0e1aa21f1dd9a3ece08b96bae5565d516014bf
MD5 1241e4780e0455f22bc86c90a7d1c8ad
BLAKE2b-256 bb9c894d37a78148019c5ebccfcea9d7d32a95ff5be678da73261118a450c4e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 76a3c08a192ac670e5031d6ec495008a048fd534d1f5a9ef456d3685f7a13e77
MD5 91c1ac0f008f18649062d63f7d6043c3
BLAKE2b-256 d53c871fa514695d8b213a18eba5442ba63602809168c3f86f0899f575f53f9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp312-cp312-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp312-cp312-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 9c48f207ab71846687a427800e8bb5f1cb31c2f1da07682526521c9451c06eaa
MD5 52de7ebcf80d595e0b46b759670f29ab
BLAKE2b-256 cfc181d93c91e32792eae21fc05534db7a1e2c5d23d84a81d05e88835febb004

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp312-cp312-macosx_12_0_arm64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6a1d3590341a39a0e55e60b8657d0b68598fde7d206eb13ea7d00aa9820695a1
MD5 9d3ce0c9a0b6d5189a21e1ecf2f0e525
BLAKE2b-256 ecf883f5a9d63c776ec469be48321b3f410a3e978f275061721289d5e17a99d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7a5f2b663a1459e2ee12b81bbb78d1cd6b32799c496921c4e9ded5a499cb860f
MD5 066fb75c2cdbf946c6bc7ffd4ffae73c
BLAKE2b-256 a5ff1b5533fd65dabac282f02e77a816585952eee12888292559c6b46ae12497

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 5d56d63fb11b2e7153e23b1bc565f269e278e58e86760f0b2cf05d157d14494e
MD5 65b7023dadf45d4b8b7f92e130562446
BLAKE2b-256 528797432caba276c2c77b8a9ca6dca3bec592c64131df295c08552f5326ef3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp311-cp311-macosx_12_0_arm64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 64d8490ad949cfd13d67fa2d3dfd422dd1d2b4f7d6b85675e14a6630629a427d
MD5 b713e488a7df9bdae12d9035e89fff14
BLAKE2b-256 31d7bdca1c8ef79531ab7f26070c9f2f31b443bad88716f2d2e0296abb5920f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 51448090dc737309941e45738dfe9bf59dbc533f7547547aeb6465cd4b07c285
MD5 ba6f0a054e9c74f9ca7dcd79d7f700a8
BLAKE2b-256 f94b25629c945e74524844249f49f60c0d6204ffa8f1e67afcabe0664bab26d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 28086c19ad1b0d4fae8d7240a5f114417c1fa324563b3d6844a5a85fd7f43948
MD5 fa593582d3d43a58a99e6e533fb3a926
BLAKE2b-256 396f37dceab85644b82c4604139503053c1d5c077e760b2cbe1f54914b71e0c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp310-cp310-macosx_12_0_arm64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cbc62c2f5ad89e6d4d46e145d22ec5929ce109a314da8ca5dbb286805c9416e9
MD5 b77d669850f73d4a8fc306f9604bacad
BLAKE2b-256 702bfd03be1aae714d5847dbb5736c12f980aa20a0ab3d138068a5f0bb756293

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 83e172125e64b3288436f035f4fede342442fa668fb8e2db9dcf8cfa7974a4bf
MD5 ec7bfafdd82fe7417965e85551432bd3
BLAKE2b-256 1206d046d334c8dd4e462881ae58b31fd5570d66dd4a09ab61195e9602189c5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp39-cp39-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: release.yml on chillenb/pytblis

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

File details

Details for the file pytblis-0.0.2-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for pytblis-0.0.2-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 08a5d3a64ef6ec788110b4b2a8d726b48e4ea40dfd613065a1a8930233547201
MD5 17f24b7b9a14dcaf95e2698b2b3a50db
BLAKE2b-256 d7d268e0a282d10724ed59df4a8adefbf3d372b9833a1197336925cb33daccd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytblis-0.0.2-cp39-cp39-macosx_12_0_arm64.whl:

Publisher: release.yml on chillenb/pytblis

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