Skip to main content

colabfold-kernels

Fast fused kernels for ColabFold, written in Pallas with native CUDA-fallback for Volta- and Turing-generation GPUs.

import jax.numpy as jnp
from colabfold_kernels import attention, dispatch

kernel = attention(dispatch(), jnp.bfloat16, key_dim=96, value_dim=96, layout="seq")
if kernel is not None:
    out = kernel(q, k, v, mask_bias, nonbatched_bias, scale)

attention, layer_norm and gated_dual_proj each return None if not supported, as do fused_ops.packed_attention, transition, glu_transition and trimul_epilogue. diffusion.install() samples AF3-family diffusion in the colabfold-cuda-kernels megakernel.

Metadata

Release files for colabfold-kernels 0.5.1

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

Source distribution (sdist)

Source distribution for colabfold-kernels 0.5.1
File Size Uploaded
colabfold_kernels-0.5.1.tar.gz 40.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for colabfold-kernels 0.5.1
File Interpreter ABI Platform
colabfold_kernels-0.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 78.9 kB

Release files / colabfold_kernels-0.5.1.tar.gz

Download URL colabfold_kernels-0.5.1.tar.gz
Size 40.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8a8e2ac8b53dbf1e283016ff604df92269cb6e181782c520cf64377d2853fd25
BLAKE2b-256 checksum
How to use checksums
9535c417811fcaf54f86b07030574a6a9f5a375c47f0691d6f50def6b801cde2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release files / colabfold_kernels-0.5.1-py3-none-any.whl

Download URL colabfold_kernels-0.5.1-py3-none-any.whl
Size 38.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7b96377d8a15477be20689762d21ea8fa4c680fb77f90885f0a17695a8cdedb
BLAKE2b-256 checksum
How to use checksums
b859c04787cd00238a7e65b922ea0ea3f9c7e2462f9f019f529f1317d21d57be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.1.0

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