Skip to main content

colabfold-legacy-kernels

Prebuilt CUDA kernels to make ColabFold fast on Volta and Turning NVIDIA GPUs. This package has three kernels that replace the Ampere+ Pallas/Triton kernels: Attention, layer norm and the gated dual projection.

import colabfold_legacy_kernels as clk
clk.available(cc=70)                  # True if the wheel has kernels for sm_70
clk.library_path("attention", cc=70)  # path of the shared library
clk.symbol("attention", cc=70)        # XLA FFI target name to register

To build the kernels, run the build script. It needs nvcc and the XLA FFI headers, and fetches CUTLASS itself.

NVCC=/usr/local/cuda-12.9/bin/nvcc scripts/build_all.sh   # sm_70 and sm_75
ARCH=75 scripts/build_kernels.sh                          # one architecture

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

colabfold_legacy_kernels-0.1.0-py3-none-manylinux_2_28_x86_64.whl (5.0 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

File details

Details for the file colabfold_legacy_kernels-0.1.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for colabfold_legacy_kernels-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 76c5b8973256fe3be9190872379e99bbd1a5fb0e824687901c3a88f7132d0f78
MD5 46d349abe4381a439f4ee21a76c1e908
BLAKE2b-256 2307388e2d514b7df1cab32f31ebfb5a998415f1b27e4487bfd0fe88881dd5ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for colabfold_legacy_kernels-0.1.0-py3-none-manylinux_2_28_x86_64.whl:

Publisher: build-and-publish.yml on mirditalab/colabfold-legacy-kernels

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

Release history Release notifications | RSS feed

0.2.0

1 file

This release

0.1.0 This release

1 file

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