Downloads · 30 days
0
cahlen/flint-hills-cuda
flint-hills-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 partial sums SN = sum{n=1}^N 1/(n^3 sin^2(n)) using quad-double spike arithmetic + Kahan-compensated bulk.
Downloads · 30 days
0
Access
Public
Updated Apr 14, 2026
Repo size
1.4 MB
Likes
0
Public
Click a slice to open those files.
.so763 KB · 96%
From the Hugging Face model README
Computes partial sums S_N = sum_{n=1}^N 1/(n^3 sin^2(n)) using quad-double spike arithmetic + Kahan-compensated bulk.
import torch
from kernels import get_kernel
kernel = get_kernel("cahlen/flint-hills-cuda")
result = flint_hills.partial_sum(max_n=1000000000)
nvcc -O3 -arch=sm_90 -o flint_hills flint_hills/flint_hills.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.