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.2.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.2.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for colabfold_legacy_kernels-0.2.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d125c58d87c5a90f230d65b32e00fccdb35ba8d9ba13de7256cd7edb3a8634bc
MD5 e68588eb654c47a3f1ed27adcaf7831c
BLAKE2b-256 f8220a21c041a1858eb604f97effaf49982459fd8070842bf59281b87308077b

See more details on using hashes here.

Provenance

The following attestation bundles were made for colabfold_legacy_kernels-0.2.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

This release

0.2.0 This release

1 file

0.1.0

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