Downloads · 30 days
0
cahlen/prime-convergents-cuda
prime-convergents-cuda is a machine learning model from cahlen. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for kernels. The card lists the license as mit.
Computes prime statistics of CF convergents using uint128 arithmetic (depth ~75). Tracks primality, doubly-prime convergents, and Erdos-Mahler bound.
Downloads · 30 days
0
Access
Public
Updated Apr 14, 2026
Repo size
3.8 MB
Likes
0
Public
Click a slice to open those files.
.so1.9 MB · 98%
From the Hugging Face model README
Computes prime statistics of CF convergents using uint128 arithmetic (depth ~75). Tracks primality, doubly-prime convergents, and Erdos-Mahler bound.
import torch
from kernels import get_kernel
kernel = get_kernel("cahlen/prime-convergents-cuda")
result = prime_conv.compute(num_samples=1000000, max_depth=500, mode=0)
nvcc -O3 -arch=sm_90 -o prime_convergents prime_convergents/prime_convergents_v2.cu -lm
All computation results are open:
@misc{humphreys2026bigcompute,
author = {Humphreys, Cahlen},
title = {bigcompute.science: GPU-Accelerated Computational Mathematics},
year = {2026},
url = {https://bigcompute.science}
}
Human-AI collaborative. Not peer-reviewed. All code and data open.