fusedtok
Fused CUDA kernels for LLM inference - RMSNorm / RoPE / SwiGLU / attention decode and friends, with zero-copy torch tensor support: up to 8.8x faster than PyTorch SDPA (attention decode, RTX 3060, see Benchmarks).
中文文档请看 README_zh.md | English below.
Why
LLM inference frameworks launch many small, memory-bound operators per token. Each launch
round-trips through global memory. fusedtok fuses them into single kernels to cut memory
traffic and launch overhead.
Operators
57 operators + helpers (fusedtok.__all__; 34 were frozen at 1.0, the
rest arrived in minor releases - see "API stability" below). axpy is
the hello-world demo op kept from
the v0.x skeleton - functional, but not a performance feature.
| Status | Kernel | Notes |
|---|---|---|
| ✅ | RMSNorm (+residual) | LLaMA/Qwen style, fused residual add |
| ✅ | LayerNorm | with affine |
| ✅ | RoPE | interleaved and NeoX layouts, kv-cache pos_offset |
| ✅ | SwiGLU | fused MLP activation |
| ✅ | Softmax (row-wise) | numerically stable |
| ✅ | SiLU / GeLU / GeLU-tanh / ReLU / Tanh / Sigmoid | elementwise |
| ✅ | add / mul | elementwise binary (fused add+residual pattern) |
| ✅ | top-k / top-p (nucleus) | arrival-ticket radix + early-exit compaction, replayed from a cached CUDA graph; deterministic ties (parity-to-winning across the whole k range on both test GPUs) |
| ✅ | argmax / temperature | greedy decoding helpers |
| ✅ | sample_topp | fused nucleus sampling: softmax -> top-p -> seeded draw, global-mass threshold |
| ✅ | sample_topk | fused top-k sampling: softmax -> top-k -> renormalize within the window -> seeded draw (2.7x / 2.0x vs the topk+multinomial composite @131k) |
| ✅ | sample_minp | fused min-p sampling (v1.3): keep every token with p >= min_p * p_max -> renormalize -> seeded draw - a value threshold, so no global-mass reduction; adaptive nucleus by construction |
| ✅ | sample_eta / sample_eta_batched | fused eta-cutoff sampling (v1.6, Hewitt 2022): keep every token with p >= eta * min(1, exp(-H)) - the threshold derives from the distribution's own entropy; adaptive by construction |
| ✅ | sample_typical / sample_typical_batched | fused locally typical sampling (v1.6, Meister 2022): keep the smallest set whose mass reaches typical, ordered by surprise-vs-entropy closeness - a contiguous band of the value-sorted window |
| ✅ | sample_topa / sample_topa_batched | fused top-a sampling (v1.8): keep every token with p >= top_a * p_max² - a value threshold like min-p with the squared peak driving the bar (flat rows keep almost everything); min-p's widening bound with the cutoff derived from the existing total |
| ✅ | sample_nsigma / sample_nsigma_batched | fused top-n-sigma sampling (v1.8, Shi et al. 2024): keep every token whose scaled logit stays at or above mean - nsigma * sigma - the row's own spread sets the bar; moments from one extra pass, accumulated in doubles so arrival-order drift cannot survive the variance's cancellation |
| ✅ | sample_tfs / sample_tfs_batched | fused tail-free sampling (v2.1): keep the prefix whose CDF second derivative stays above 1-z - a data-dependent cutoff on the flat tail; the x8 widening ladder |
| ✅ | sample_xtc / sample_xtc_batched | fused XTC (Exclude Top Choices) sampling (v2.2): with probability p, the top N tokens are removed from the pool — breaks "template" outputs |
| ✅ | sample_dry / sample_dry_batched | fused DRY sampling (v2.3): sequence-level repeat penalty - penalizes the token that would EXTEND a repeated sequence, then one full-softmax draw (53 -> 55 public names) |
| ✅ | sample_mirostat / sample_mirostat_batched | fused Mirostat v2 sampling (v2.5): entropy-targeting with a caller-owned mu bound - absolute-threshold nucleus at p >= 2^-mu, fused state update new_mu = mu - eta*(s - tau); the one tuple-returning sampler ((token, new_mu); 55 -> 57 public names) |
| ✅ | argmax_batched | row-wise greedy argmax for a whole [rows, vocab] batch in one launch (v1.8): no readback on the zero-copy path, CUDA-graph capturable; ~28x the per-row loop in wall time at B=8 on a submission-bound host |
| ✅ | sample_topp/minp/topk_batched | batched sampling (v1.4): one call, [rows, vocab] logits in, one seeded token per row out - every row runs the single-row pipeline verbatim; the batched call is 4-6x faster in wall time than looping per row on submission-bound hosts, and sits at native batched-multinomial level on peaked decode logits |
| ✅ | repetition penalty | CTRL-style, applied to sampled token ids |
| ✅ | logit_penalties | the HF penalty trio in one call (v1.6.1): CTRL repetition scale, then presence, then count-weighted frequency shifts - once per distinct id, duplicates never stack; bit-exact across CPU and GPU |
| ✅ | logit_penalties_batched | the same trio for a whole [rows, vocab] batch (v1.7): ragged per-row histories (decode_step_batched's id layout), each row bit-identical to the single-row op |
| ✅ | decode_step | the whole decode step fused: penalty -> temperature -> nucleus sample, one call, one readback |
| ✅ | decode_step_batched | the fused decode step for a whole batch (v1.5): per-row ragged histories through per-row penalty bitmaps, one seeded token per row - every row runs the single-row decode_step pipeline up to the documented ulp boundary |
| ✅ | quantize_int8 / dequantize_int8 / qadd_int8 | symmetric per-tensor INT8, fused dequant-add-requant |
| ✅ | qgemm | INT8 matmul, int32-exact: cp.async double-buffered pipelined IMMA GEMM with runtime tile tuning (64x64 / 128x128) + warp-per-row GEMV (M=1 decode; 2x vs fp16 projection) |
| ✅ | qgemm_perchannel | the W8A8 layout real INT8 inference uses: per-output-channel weight scales fused into the same kernel's epilogue at zero cost |
| ✅ | attention_decode | single-token causal attention with GQA over a contiguous kv-cache: online softmax, flash-decoding split over long caches, per-sequence lengths; float32 / bfloat16 / float16 storage (half-precision cache = half the decode bytes, softmax stays float32) |
| ✅ | kv_append | the cache-write side of the contiguous decode loop (v1.3): one fresh token's k/v rows per sequence scattered in place into the cache at row lens[b] (one tiny kernel, f32/bf16/fp16) |
| ✅ | attention_decode_paged | the v1.2 headline: the same decode attention over a vLLM-style block-pool kv-cache [Nb, Hkv, P, D] walked through a per-sequence block table - fragmentation-free cache memory; any valid table honored, f32/bf16/fp16 storage, ~1.09-1.14x the contiguous op (8.46x / 4.28x vs SDPA on the pre-expanded-heads reference) |
| ✅ | kv_append_paged | the cache-write side of the paged loop: one fresh token's k/v rows per sequence scattered in place into the pool at position lens[b] (one tiny kernel, f32/bf16/fp16) |
| ✅ | attention_prefill | fresh-sequence attention over S query rows (causal / bidirectional), float32 / bf16 / fp16 storage; since v2.4 the half-precision path rides tensor cores (mma.sync flash kernel, dims 32/64/128; the 2.5 lane-parallel softmax lifted it another 1.6x) - 0.68-0.91x SDPA's bf16 flash (up from 0.11x pre-tensor-core); f32 keeps the convenience path (honest ~0.45x) |
| ✅ | axpy | a*x + b - the v0.x hello-world demo op, kept for API compatibility |
Install
pip install fusedtok
Prebuilt wheels on PyPI (built with CUDA 12.4): Linux x86_64 (manylinux, cp311-cp313) and Windows x86_64 (cp311-cp313). On other platforms or Python versions pip builds from source automatically:
git clone https://github.com/Hai-Wenxiang/fusedtok.git
cd fusedtok
pip install .
Requirements:
- an NVIDIA GPU of the RTX 30 series (Ampere) or newer - e.g. RTX 3060/3090, RTX 4080, RTX 5090, A100, H100
- CUDA Toolkit >= 12.0
- A C++17 compiler (MSVC on Windows, GCC/Clang on Linux); Python 3.11+
What is "compute capability"? (click to expand)
Compute capability is NVIDIA's version number for a GPU architecture generation - not a performance score. CUDA code must be compiled for a specific architecture to run on it. The wheel builds native cubins for compute capability 8.0 (A100) and 8.6 (RTX 30) plus a compute_86 PTX fallback, so Ampere runs natively and newer architectures (RTX 40/50, ...) JIT the PTX with their driver.
| Compute capability | Architecture | Example GPUs |
|---|---|---|
| 7.5 | Turing | GTX 16xx, RTX 20xx (not supported) |
| 8.0 / 8.6 | Ampere | A100, RTX 30xx |
| 8.9 | Ada | RTX 40xx (via PTX) |
| 9.0 | Hopper | H100 (via PTX) |
| 12.0 | Blackwell | RTX 50xx (via PTX) |
Check yours: run nvidia-smi to see your GPU model, then look it up at
https://developer.nvidia.com/cuda-gpus
Usage
numpy in / numpy out, or torch in / torch out - including zero-copy CUDA:
kernels read and write torch device buffers directly via data_ptr(), with
no staging copies and no host synchronization.
import numpy as np
import torch
import fusedtok
x = np.random.randn(4, 1024).astype(np.float32)
w = np.random.rand(1024).astype(np.float32)
# CPU reference implementation (ground truth, runs anywhere)
y = fusedtok.rmsnorm(x, w, eps=1e-6)
# staged CUDA: copies to GPU, runs kernel, copies back
y = fusedtok.rmsnorm(x, w, cuda=True)
# zero-copy CUDA with torch tensors: kernels run in torch's own buffers,
# stream-ordered with other torch operations
xt, wt = torch.from_numpy(x).cuda(), torch.from_numpy(w).cuda()
yt = fusedtok.rmsnorm(xt, wt) # -> CUDA torch tensor
# RoPE with kv-cache position offset, NeoX (LLaMA-HF) layout
q = torch.randn(1, 4096, device="cuda") # new token only
q_rot, k_rot = fusedtok.rope(q, k=None, pos_offset=1023, neox=True)
# attention over a GQA kv-cache: one call per decode step, no score
# materialization, variable-length batches share one cache tensor
out = fusedtok.attention_decode(
q_heads, # [B, Hq, D] new token
k_cache, v_cache, # [B, Hkv, T, D]
lens=torch.tensor([1023, 512], dtype=torch.int32, device="cuda"))
# grow a contiguous cache: append each new token's rows, then decode
fusedtok.kv_append(k_cache, v_cache, k_new, v_new, lens)
out = fusedtok.attention_decode(q_heads, k_cache, v_cache, lens + 1)
# ...or over a paged (vLLM-style block-pool) cache: pools [Nb, Hkv, P, D]
# + a per-sequence block table; append each new token, then decode
fusedtok.kv_append_paged(k_pool, v_pool, block_table, k_new, v_new, lens)
out = fusedtok.attention_decode_paged(q_heads, k_pool, v_pool,
block_table, lens + 1)
# fresh-sequence prefill (causal by default; convenience path)
ctx = fusedtok.attention_prefill(q_all, k_all, v_all, causal=True)
# sampling side: the whole decode step in one fused call
token = fusedtok.decode_step(logits, sampled_ids, penalty=1.1,
p=0.9, temperature=0.8, seed=step)
# or step by step:
logits = fusedtok.repetition_penalty(logits, sampled_ids, penalty=1.1)
token = fusedtok.sample_topp(logits, p=0.9, temperature=0.8, seed=step)
# top-k sampling variant (renormalizes within the k survivors)
token = fusedtok.sample_topk(logits, k=50, temperature=0.8, seed=step)
# concurrent decode: [rows, vocab] in, one token per row out (default
# seeds are 0..B-1, so identical rows still draw independently)
tokens = fusedtok.sample_topp_batched(batch_logits, p=0.9,
temperature=0.8)
# ...with per-row repetition penalties: ragged histories, one flat
# array + offsets is the serving-fast form
tokens = fusedtok.decode_step_batched(batch_logits, flat_ids,
penalty=1.1, p=0.9,
ids_offsets=offsets)
A minimal per-token sampling loop:
import torch, fusedtok as ft
h = torch.zeros(1, 4096, device="cuda") # decoder state
w = torch.load("rms_weight.pt").cuda() # float32 weights
generated = []
for step in range(256):
h = ft.rmsnorm(h, w, residual=h) # fused add + norm
q = ft.rope(q, k=None, pos_offset=step, neox=True)
logits = model_output(h) # your model
tok = ft.decode_step(logits, generated, penalty=1.1,
p=0.9, temperature=0.8, seed=step)
generated.append(int(tok))
Every function accepts float32 numpy arrays or torch tensors (other dtypes are converted with a copy) and returns float32 outputs of the same family. CUDA torch tensors may be bfloat16 on every operator that moves tensor data (elementwise / norms / RoPE / attention), and the attention operators additionally take float16 - kernels compute in float32 and convert at the load/store boundary (norm weights are upcast to float32 automatically; sampling/selection ops stay float32). CUDA torch tensors select the zero-copy path automatically.
See examples/demo.py for a runnable tour of every operator, and the
usage guide for the topic-structured manual - one page per theme:
quickstart, the execution model (paths / dtypes / streams / CUDA
graphs), attention, the sampling contract, the INT8 workflow, how to
read the benchmarks, and an FAQ with a glossary. Also available in
中文.
Correctness
Every kernel ships with a CPU reference implementation and element-wise parity tests (pytest). Tests run on machines without a GPU (CUDA cases skip automatically).
API stability
1.0 froze the public surface at 34 names; new operators arrive in
minor releases (57 as of v2.5), and every name in fusedtok.__all__
keeps its signature across the 1.x series.
Type stubs (__init__.pyi, PEP 561 py.typed) ship with the package.
Breaking changes require a new major version and a deprecation window.
Determinism promises: selection ties resolve to the earliest index;
sampling is deterministic per seed.
Benchmarks
RTX 3060 (sm_86), float32, zero-copy torch tensors, CUDA-event timing over
3 independent rounds (means below; per-round values in the JSON), vs
the equivalent PyTorch reference (composite eager expressions; attention
references use pre-expanded heads - repeat_interleave outside the
timed region). Largest shape per op; full data:
docs/benchmarks/benchmark_rtx3060.json, reproduce with python benchmarks/bench.py:
| Op | Shape | fusedtok | PyTorch reference | Speedup |
|---|---|---|---|---|
| attention_decode (GQA) | T=16384, D=128 | 857 µs | 7617 µs (SDPA) | 8.89x |
| attention_decode_paged (GQA) | T=16384, D=128, P=16 | 973 µs | 7534 µs (SDPA) | 7.74x |
| RoPE NeoX (q+k) | [8192×4096] | 1618 µs | 9925 µs | 6.13x |
| kv_append (contiguous cache write) | B=8, T=4096 | 16 µs | 49 µs (advanced indexing) | 3.06x |
| sample_topp p=0.9 (peaked) | [131072] | 146 µs | 390 µs (sort+mask+multinomial) | 2.68x |
| RMSNorm (+residual) | [4096×4096] | 606 µs | 2033 µs | 3.36x |
| attention_decode bf16 | T=16384, D=128 | 846 µs | 1777 µs (SDPA bf16) | 2.10x |
| sample_topk k=50 | [131072] | 122 µs | 336 µs (topk+multinomial) | 2.76x |
| SwiGLU | [4096×4096] | 602 µs | 1014 µs | 1.68x |
| top-k (k=50) | [131072] | 41 µs | 130 µs (CUB) | 3.19x |
| LayerNorm | [4096×4096] | 442 µs | 606 µs | 1.37x |
| sample_minp p=0.05 (peaked) | [131072] | 139 µs | 289 µs (mask+multinomial) | 2.07x |
| sample_topa a=0.2 (peaked) | [131072] | 184 µs | 210 µs (mask+multinomial) | 1.15x |
| top-k (k=4096, mid-k) | [131072] | 72 µs | 136 µs | 1.89x (honest) |
| Softmax | [4096×4096] | 406 µs | 425 µs | 1.05x |
| SiLU / GeLU / add | [4096×4096] | ~405-601 µs | ~406-601 µs | ~1.0x |
| argmax | [131072] | 32 µs | 34 µs | 1.08x (event-timed, noisy on WDDM; across-run spread 0.72-1.26x across the 3060's shipped rounds - see below) |
| int8 qgemm pc (W8A8) | [4096×4096×4096] | 3494 µs (38.6 TOPS) | 2023 µs (cuBLASLt + broadcast) | 0.58x (honest) |
| int8 qgemm (IMMA) | [4096×11008×4096] | 9373 µs (31.1 TOPS) | 4441 µs (cuBLASLt) | 0.47x (honest) |
| attention_prefill (causal) | S=1024, D=128 | 5701 µs | 2560 µs (SDPA flash) | 0.45x (honest) |
| attention_prefill bf16 (v2.4; 2.5 softmax) | S=1024, D=128 | 695 µs | 631 µs (SDPA bf16 flash) | 0.91x (honest; 0.68x on the 5060 Ti) |
| sample_minp p=0.05 (wide nucleus) | [131072] | 508 µs | 286 µs | 0.56x (honest: one widening retry plus a 32-64k sort; the torch boolean-mask composite never sorts - see the peaked min-p row for min-p's win scenario) |
| sample_nsigma 1.5 (peaked) | [131072] | 2145 µs | 500 µs (mask+multinomial) | 0.23x (honest: the sigma cutoff keeps the top ~94% of a spiked row - nsigma trims the LOW tail of the distribution, so a spiked row samples near the full vocabulary through the widening ladder; the paper's case for nsigma is output quality, not speed) |
| sample_topp p=0.9 (flat worst case) | [131072] | 1314 µs | 393 µs | 0.30x (honest, see below) |
Batched samplers (v1.4) and batched decode steps (v1.5) - one call for
the whole [8, 131072] batch, referenced against torch's native
batched draw (softmax + multinomial over the 2-D tensor; the decode
row adds the gather-penalty; per-round values in the JSON):
| Op | Shape | fusedtok | PyTorch reference | Speedup |
|---|---|---|---|---|
| sample_topk_batched k=50 | [8×131072] | 219 µs | 383 µs (topk+multinomial) | 1.75x |
| sample_minp_batched p=0.05 | [8×131072] | 233 µs | 328 µs (mask+multinomial) | 1.41x |
| sample_topa_batched a=0.2 | [8×131072] | 287 µs | 297 µs (mask+multinomial) | 1.03x |
| sample_topp_batched p=0.9 | [8×131072] | 333 µs | 215 µs (multinomial) | 0.64x (reference-side WDDM swing; see below) |
| decode_step_batched (penalty 1.3, ~64-token histories) | [8×131072] | 310 µs | 270 µs (penalize+softmax+multinomial) | 0.87x (but 5.2x vs looping the single row, wall time - see below) |
| argmax_batched | [8×131072] | 33 µs | 24 µs (argmax) | 0.73x (event-timed vs torch's one-kernel row argmax), but 28x vs looping the single row on wall time (8 submissions -> 1) |
| sample_nsigma_batched 1.5 | [8×131072] | 3771 µs | 322 µs (mask+multinomial) | 0.09x (honest, same wide-nucleus caveat as the single row) |
| sample_topp_batched (flat worst case) | [8×131072] | 3625 µs | 233 µs | 0.06x (honest, same caveat as the single row) |
Row-wise kernels (norms, softmax) autotune their thread-block size per shape at first call (v0.4.1); the table reflects the tuned choices.
RTX 5060 Ti (Blackwell, sm_120) - same suite, largest shape per op
(full data: docs/benchmarks/benchmark_rtx5060ti.json):
| Op | Shape | fusedtok | PyTorch reference | Speedup |
|---|---|---|---|---|
| RoPE NeoX (q+k) | [8192×4096] | 1384 µs | 8369 µs | 6.05x |
| attention_decode (GQA) | T=16384, D=128 | 574 µs | 2681 µs (SDPA) | 4.67x |
| attention_decode_paged (GQA) | T=16384, D=128, P=16 | 627 µs | 2681 µs (SDPA) | 4.28x |
| RMSNorm (+residual) | [4096×4096] | 504 µs | 1658 µs | 3.29x |
| sample_topp p=0.9 (peaked) | [131072] | 62 µs | 156 µs (sort+mask+multinomial) | 2.51x |
| sample_topk k=50 | [131072] | 45 µs | 93 µs (topk+multinomial) | 2.06x |
| kv_append (contiguous cache write) | B=8, T=4096 | 9 µs | 21 µs (advanced indexing) | 2.22x |
| SwiGLU | [4096×4096] | 504 µs | 859 µs | 1.70x |
| top-k (k=50) | [131072] | 27 µs | 42 µs (CUB) | 1.53x |
| attention_decode bf16 | T=16384, D=128 | 547 µs | 641 µs (SDPA bf16) | 1.17x |
| sample_topa a=0.2 (peaked) | [131072] | 65 µs | 78 µs (mask+multinomial) | 1.20x |
| sample_minp p=0.05 (peaked) | [131072] | 62 µs | 73 µs (mask+multinomial) | 1.18x |
| top-k (k=4096, mid-k) | [131072] | 50 µs | 54 µs (CUB) | 1.09x |
| LayerNorm / Softmax | [4096×4096] | ~346 µs | ~344-351 µs | ~1.0x |
| argmax | [131072] | 17 µs | 14 µs | 0.81x (event-timed, noisy) |
| int8 qgemm pc (W8A8) | [4096×4096×4096] | 2078 µs (66.1 TOPS) | 1142 µs (cuBLASLt + broadcast) | 0.55x (honest) |
| attention_prefill (causal) | S=1024, D=128 | 3300 µs | 1421 µs (SDPA flash) | 0.43x (honest) |
| attention_prefill bf16 (v2.4; 2.5 softmax) | S=1024, D=128 | 388 µs | 263 µs (SDPA bf16 flash) | 0.68x (honest) |
| int8 qgemm (IMMA) | [4096×11008×4096] | 5483 µs (67.4 TOPS) | 2185 µs (cuBLASLt) | 0.40x (honest) |
| sample_minp p=0.05 (wide nucleus) | [131072] | 218 µs | 73 µs | 0.33x (honest: same wide-nucleus caveat as the 3060 row) |
| sample_nsigma 1.5 (peaked) | [131072] | 1048 µs | 85 µs (mask+multinomial) | 0.08x (honest: same long-tail-filter caveat as the 3060 row - a spiked row samples near the full vocabulary) |
| sample_topp p=0.9 (flat worst case) | [131072] | 1054 µs | 167 µs | 0.16x (honest, see below) |
Batched samplers (v1.4) and batched decode steps (v1.5) on the same
[8, 131072] shapes:
| Op | Shape | fusedtok | PyTorch reference | Speedup |
|---|---|---|---|---|
| sample_topk_batched k=50 | [8×131072] | 98 µs | 116 µs (topk+multinomial) | 1.19x |
| sample_minp_batched p=0.05 | [8×131072] | 121 µs | 112 µs (mask+multinomial) | 0.93x (parity) |
| sample_topa_batched a=0.2 | [8×131072] | 133 µs | 113 µs (mask+multinomial) | 0.85x |
| decode_step_batched (penalty 1.3, ~64-token histories) | [8×131072] | 147 µs | 99 µs (penalize+softmax+multinomial) | 0.68x (but 4.5x vs looping the single row, wall time - see below) |
| sample_topp_batched p=0.9 | [8×131072] | 133 µs | 82 µs (multinomial) | 0.62x |
| argmax_batched | [8×131072] | 20 µs | 11 µs (argmax) | 0.54x (event-timed vs torch's one-kernel row argmax; the per-row loop's submission cost is what the batched call removes) |
| sample_nsigma_batched 1.5 | [8×131072] | 1727 µs | 122 µs (mask+multinomial) | 0.07x (honest, same long-tail caveat as the single row) |
| sample_topp_batched (flat worst case) | [8×131072] | 1744 µs | 83 µs | 0.05x (honest) |
On smaller shapes the Blackwell card shows bigger wins (softmax 1.72x, RMSNorm 3.08x at 256 rows, attention decode 3.78x at T=4096 running ~187 GB/s) - the launch-overhead share shrinks as shapes grow; full sweep in the JSON.
The PyPI wheel ships sm_80/sm_86 cubins plus a compute_86 PTX fallback - verified to JIT and run correctly on Blackwell (sm_120) drivers.
Fusions win big (RoPE / RMSNorm / SwiGLU) because eager mode round-trips intermediate tensors through global memory. The v0.4 selection pipeline (arrival-ticket radix rounds + early-exit compaction, replayed from a cached CUDA graph) beats torch's CUB radix select at small k on both GPUs; the v1.0 retune (in-block-sort threshold and sort chunk both dropped 2048 -> 1024 - a single block bitonic-sorting 2048 keys was the whole mid-k regression) brings the mid-k window to parity-or-winning as well. The fused samplers win against the eager composites when the logits look like real decode output (sample_topp peaked: 2.68x / 2.51x; sample_topk: 2.76x / 2.06x; the composites themselves swing run-to-run on WDDM - per-round values in the JSON). On a flat distribution sample_topp sits at an honest 0.16x on a 5060 Ti and 0.30x on a 3060 (the fusedtok side is stable; the reference's rounds carry WDDM noise) - the nucleus then spans ~90% of the vocabulary and the pipeline must effectively order the whole thing. v1.2 cut that worst case ~8.5x (18.2ms -> 2.2ms at n=131072 on a 3060) with three token-preserving changes - an adaptive window jump driven by a p*total mass bound, a full-vocabulary fast path that skips the selection stages, and a batched-load serial sampling walk (the strictly sequential float adds are the CPU-parity determinism contract; only the loads got pipelined); v1.3 cut it another ~1.6x (2.2ms -> 1.4ms on a 3060, 1.6ms -> 1.0ms on a 5060 Ti) by having the first walk record prefix-sum checkpoints that the inverse-CDF walk binary-searches - still bit-identical tokens - but torch's fully parallel sort still owns that regime. sample_minp (v1.3) wins on peaked logits and loses the wide-nucleus row by design (0.33-0.56x: one widening retry plus a 32-64k sort; the torch boolean-mask composite never sorts) - v1.4 gave min-p the same adaptive jump top-p has had since v1.2 (a sufficient bound from the one-time global total: wide-nucleus rows skip the ladder's intermediate stops, 28-30% faster on that row, tokens bit-identical).
The v1.4 batched samplers put the whole [rows, vocab] batch through
one call: every row runs the single-row pipeline verbatim (per-row
parity, including the widening loop with per-row finish tracking), so
the speedup over the per-row loop is pure batching - 4-6x in wall
time at B=8 on submission-bound hosts (3060: topp 1340 -> 274 µs,
minp 1399 -> 237 µs; 5060 Ti: 3.9x / 4.3x). On peaked logits the
batched calls sit at torch's native batched-multinomial level
(the batched min-p, top-k and top-a calls win on this
benchmark: 0.64x/0.62x, 1.75x/1.19x and 1.03x/0.85x on the two GPUs), and the flat worst case
keeps the singles' honest caveat one tier lower (0.05x). v1.5
extends batching to the whole decode step: decode_step_batched runs
per-row repetition penalties through per-row vocab bitmaps inside the
same pipeline - on wall-time probes at B=8 it is 5.2x over looping
decode_step on peaked rows on a 3060 (1676 -> 321 µs; torch's
native penalize+softmax+multinomial composite: 266 µs) and 4.5x on a
5060 Ti (646 -> 145 µs), and 3.1x on mid-tail rows (3060).
attention_decode wins big at decode (one launch streams the GQA cache
once, while SDPA pays head expansion or small-query inefficiency);
attention_decode_paged (v1.2) pays only ~1.09-1.15x for the
block-table indirection of the fragmentation-free vLLM-style cache
layout, with bit-identical output on matching slice schedules;
attention_prefill's f32 path is the honest convenience kernel at
~0.45x of SDPA's flash backend (no tensor cores by design - TF32's
10-bit mantissa is a numerical downgrade the parity contract forbids);
since v2.4 the bf16/fp16 path rides tensor cores and lands within
0.68-0.91x of SDPA's bf16 flash (see the table rows below). kv_append (v1.3) writes one token's k/v rows
into the contiguous cache in a single launch (a multi-x win over the
advanced-indexing scatter whose exact factor tracks that reference's
WDDM swing; a tiny launch-bound op - parity-level cost per decode
step). The INT8 decode GEMV moves half the bytes of
an fp16 projection and runs at full memory bandwidth (2x); the pipelined
IMMA GEMM (v1.0 rework: cp.async double-buffered slabs, runtime-tuned
64x64 / 128x128 tiles) reaches ~31-39 TOPS on a 3060 (the sustained-load
host state of the 2.4.x rounds measured 31; see the benchmarks page
note) and ~67 TOPS on a
5060 Ti - 2x-4x the v0.4 kernel - but cuBLASLt (torch._int_mm) still
holds a ~2.1-2.7x lead on the per-tensor rows (its tiles pipeline
deeper and its epilogue is tuned per-arch); the W8A8 rows' gap is only
~1.6-2.2x. For now qgemm is the exact / graph-capturable /
zero-copy INT8 path, not the fastest one; honest numbers, a
CUTLASS-class schedule stays future work. The per-channel variant
(qgemm_perchannel, the W8A8 layout INT8 inference actually uses)
fuses the per-output-channel scale multiply into the same epilogue at
zero kernel cost - the composite torch reference pays for that
broadcast separately, which is where its 0.55-0.58x comes from.
All sampling rows above have measured fixed logits since 1.1.1 (the bench seeds torch's RNG); since v1.2 the peaked row spikes +20 and the flat row uses near-uniform logits - both regimes are now deterministically what their labels say (the v1.1 peaked row sat on the coverage boundary at n=131072 and flipped regimes per seed). The argmax rows are event-timed over a host-synchronized call and swing on WDDM (0.72-1.26x across the 3060's shipped rounds); wall-clock probes with the sync excluded from the timed loop measure 1.12x (3060) / 0.96x (5060 Ti) - v1.2 removed one CUDA submission and one allocation per call.
Development
See CONTRIBUTING.md for the full guide (test rules, error contract, determinism invariants). Quick start:
# Windows: run inside a VS developer prompt (vcvars64)
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
# from repo root: PYTHONPATH picks up the built module, conftest.py adds python/
$env:PYTHONPATH = "$PWD/build" # Windows
PYTHONPATH=$PWD/build # Linux
python -m pytest tests -q
python benchmarks/bench.py # GPU benchmark + chart
Both Windows and Linux are supported: Windows builds through MSVC via nvcc, and CI builds and runs the CPU test suite on every push.
Roadmap
- v0.2 (released): bf16 zero-copy, radix-select top-k/top-p, fused nucleus sampling, single-read softmax, CUDA-graph verified
- v0.3 (released): chunk-merge selection sort + parallel nucleus count, bf16x4/x8 vectorized elementwise, INT8 quantize/dequantize utilities
- v0.4 (released): arrival-ticket selection pipeline (no cooperative launch, early-exit compaction, cached CUDA graphs), stream-aware launchers everywhere (real CUDA-graph capture), INT8 compute path (IMMA qgemm + decode GEMV), fused decode_step sampling
- v0.4.1 (released): runtime block-size autotuning for the row-wise kernels (norms/softmax pick 128..1024 threads per shape at first call)
- v0.5 (released): attention - GQA decode attention over a contiguous kv-cache (flash-decoding split over long caches, per-sequence lengths) and a tiled prefill path (honest ~0.45x of SDPA flash - the convenience path); single-chart-per-GPU benchmarks; Windows wheels in the PyPI publish pipeline
- 1.0 (released): pipelined tensor-core INT8 GEMM (cp.async double-buffering, runtime tile tuning; 17 -> 39 TOPS on a 3060) with per-channel weight scales (W8A8), fused top-k sampling (2.1x vs the topk+multinomial composite), top-k mid-range-k parity, text hygiene gate, wheel matrix expansion (Linux cp310-313, Windows cp311-313), API freeze
- 1.1 (released): half-precision attention -
attention_decode/attention_prefillaccept bfloat16 and float16 caches (float32 compute, half the decode bytes); parallel exp precompute halves the flat-distribution sampling worst case with bit-identical tokens - 1.2 (released): paged kv-cache attention -
attention_decode_pagedover a vLLM-style block pool[Nb, Hkv, P, D]+ per-sequence block tables (~1.09-1.15x the contiguous op, any valid table honored) andkv_append_paged(the in-place cache-write side); flat-distribution sampling worst case cut ~8.5x (adaptive widening jump + full-vocab fast path + batched-load serial walk, tokens bit-identical); argmax launch diet (one submission and one allocation less per call) - 1.2.1 (released): audit-driven hardening - selection workspace
overflow past 131072-token vocabularies fixed (Qwen-scale vocabs),
host-side lens/table/id validation with a documented device-tensor
trust boundary (CUDA-graph capture works with
lensnow), empty- input and dtype/contiguity guards on the zero-copy paths, honest benchmark bandwidth (four rows were over-billed 1.5x), warning-clean builds (MSVC /W3 + GCC -Wall -Wextra), and the documentation restructured into topic pages with a natural-sounding Chinese rewrite - 1.3 (released):
sample_minp(min-p sampling - value-threshold nucleus relative to p_max, no global-mass reduction, adaptive by construction) andkv_append(the contiguous cache-write side); the sampling serial walk gains checkpoint bisection (walk 1 records prefix sums, walk 2 binary-searches them - flat worst case cut another ~1.6x, tokens bit-identical); zero-copy helpers reject CPU operands (a host pointer in a kernel poisons the CUDA context) - 1.3.1 (released): audit-driven hardening - staged-path lens/block-table value validation closed (bad values used to become silent GPU out-of-bounds writes) plus integer-input hardening; two latent sampling-walk bugs fixed (stride>=2 checkpoint double-count, adaptive widening reading the wrong workspace word - mid-tail ~28% faster with bit-identical tokens); softmax tuner capped to keep sanitizer gates clean; kernel/launcher cleanup; benchmark tables fully regenerated
- 1.4 (released): batched sampling -
sample_topp/minp/topk_batchedsample a whole[rows, vocab]batch in one call (per-row parity with the singles, one seed per row, rows finish at their own window sizes); min-p gains the adaptive widening jump (a sufficient bound from the one-time global total - wide-nucleus rows skip the ladder's intermediate stops, tokens bit-identical) - 1.4.1 (released): audit-driven hardening - staged-path batched shape validation closed (rows/n used to be trusted against the buffer), shared widen-bound helpers and a batched-sequencer cleanup, lazy per-row totals for both widen modes, stream-scoped syncs; benchmark tables regenerated with the shipping version stamp and the documentation overhauled (stale numbers, stiff phrasing, glossary and FAQ additions)
- 1.5 (released): a batched
decode_step- per-row ragged histories through per-row penalty bitmaps, the whole penalize -> scale -> sample chain in one call. The other 1.5 candidate (per-row window sizes inside one batched attempt, so a wide row no longer lifts the uniform window) was implemented three ways, measured as a net loss or parity at B=8/B=32 on an RTX 3060 (the serial inverse-CDF walk dominates each attempt round and the merge ladder carries a per-launch floor that window-bucketing multiplies), and was dropped with the numbers in the changelog - revisit if the walk goes parallel - 1.5.1 (released): audit-driven hardening - the int8 GEMV silently dropped the head of every row its alignment gate rejected (k % 4 != 0); the kv_append staged bindings and the rope / temperature raw launchers validate what their siblings already did; scalar-fallback kernels index in 64-bit; both docs languages resynced to the 1.5.0 JSONs with the stiff phrasing rewrites
- 1.5.2 (released): audit-driven hardening, round three - the batched radix rounds now apply the row's repetition penalty (the unpenalized selection prefix mis-composed decode_step_batched's window under penalty != 1); the kv_append_paged span is computed in 64-bit; duplicate penalty ids can no longer diverge between the CPU and GPU paths; rope grids, launcher guards and the batched CPU references got the same checks their siblings have
- 1.6 (released): entropy-adaptive sampling -
sample_eta(eta cutoff, Hewitt 2022: keep every token withp_i >= eta * min(1, exp(-H)), a value-threshold prefix like min-p, reusing min-p's adaptive widening bound) andsample_typical(locally typical, Meister 2022: the smallest set whose mass reachestypical, ordered by|surprise - H|- a contiguous band of the value-sorted window, no analytic widening bound so the honest x8 ladder), each single-row and batched (38 -> 42 public names) - 1.6.1 (released):
logit_penalties- the HF penalty trio (CTRL repetition scale, presence shift, count-weighted frequency shift) in one call, once per distinct id, duplicates never stack, bit-exact across CPU and GPU - plus audit-driven hardening: the spurious "typical nucleus not covered" throw attypical = 1.0, the batched typical trust-boundary gap, and the eta widening bound's unit mismatch (42 -> 43 public names) - 1.7 (released):
logit_penalties_batched- the penalty trio for a whole[rows, vocab]batch with ragged per-row histories, each row bit-identical to the single-row op; the batched histograms ride a capture-safe cached workspace with a workspace-free borrowed-output fallback, and both apply kernels force separate roundings so the FFMA fusion cannot split CPU and GPU by an ulp (43 -> 44 public names) - 1.8 (released): two more truncation rules and batched greedy -
sample_topa(top-a: keep every token withp_i >= top_a * p_max², min-p's prefix machinery with the cutoff derived from the existing total -top_a / totalin exp units - and min-p's sufficient widening bound;top_a = 1.0keeps both leaders of a two-horse distribution),sample_nsigma(keep every token whose scaled logit stays at or abovemean - nsigma * sigma- the row's first two moments from one new pass, accumulated in doubles so atomic arrival-order drift cannot survive the variance's cancellation), andargmax_batched(one launch for a whole[rows, vocab]greedy step, no readback, CUDA-graph capturable); the entropy-family mass passes fused into one kernel (eta/typical/nsigma run two full-vocabulary passes per attempt instead of three, tokens bit-identical) (44 -> 49 public names) - 1.8.1 (released): audit-driven hardening - the argmax_batched
bindings enforce the exact
[rows, vocab]shape (a mis-shaped buffer whose size covered rows*n used to be silently re-split), the CUDA-graph warm-up caveat is documented at every level, three seed-fragile exact assertions relaxed to the documented neighbor-rank contract, and a bilingual documentation pass (numbers resynced to the shipped JSONs, the Chinese rewritten in natural prose, the 1.8 ops joined the quickstarts and the demo) - 1.8.2 (released): documentation accuracy + gate round - the corrupted 1.8.1 table speedup cells repaired and a markdown hygiene gate added to CI (every benchmark row re-validated against its own GPU's shipped JSON, broken bold rejected, row-coverage floor), the remaining batched CPU references validate rows before seeds, and the bilingual number sweep caught every page that had missed the 1.8.1 re-measurement
- 2.0 (released): Python >= 3.11 required (3.10 EOL dropped from the build and publish matrices — the formal breaking change that steps the major version); INT8 GEMM larger-tile and tensor-core prefill evaluated and deferred (it eventually shipped in 2.4; see the changelog for the shared-memory ceiling arithmetic)
- 2.0.1 (released): documentation accuracy + tables re-measured on the shipping build; the 25-finding bilingual audit fixed stale prose numbers, the cp310-cp313 install text, the kv_append contradiction, and the honest-loss ranges that lagged one release behind
- 2.0.2 (released): documentation accuracy round — 18 stale prose numbers resynced to the shipped 2.0.1 tables (int8 TOPS, small-shape Blackwell, sampler prose, kv_append, attention headline, paged indirection, honest-loss ranges), the missing 2.0.1 roadmap rows added, and the demo.py formatting cleaned
- 2.1 (released):
sample_tfs- tail-free sampling (Filazzola & Trottet 2023): keep the prefix whose sorted CDF second derivative (normalized) stays above 1-z — a data-dependent cutoff on the flat tail. Honest x8 widening (no analytic bound). Single-row + batched (49 -> 51 public names) - 2.2 (released):
sample_xtc- Exclude Top Choices creative sampling: with probability p, the top top_n tokens by probability are removed from the pool before the draw - breaks LLM "template" outputs, and at least one token is always kept. Single-row + batched (51 -> 53 public names) - 2.2.1 (released): bug-fix + batched-kernel round - the missing staged binding for batched XTC and the broken staged binding for batched TFS, the XTC full-vocabulary window fix (2.2.0 GPU draws clipped the tail), penalty-bitmap range guards, and TFS/XTC batched moved onto the chunked pipeline (up to 11.1x at b=128); tables re-measured; bilingual documentation readability round
- 2.3 (released):
sample_dry- DRY (Don't Repeat Yourself) sampling: the sequence-level repeat penalty - penalizes the token that would extend a repeated sequence (64-token scan window, per-token max exponent, multiplier ** exponent division), then one full-softmax draw. Single-row + batched over ragged histories (53 -> 55 public names); binding/CPU-reference dedup round closes the copy-paste defect class - 2.4 (released): tensor-core prefill for bf16/fp16 (mma.sync m16n8k16, dims 32/64/128): 5.1x the CUDA-core half path on a 3060 at S=1024 D=128, within 0.42-0.59x of SDPA flash; f32 keeps its documented numerical path; tables gain the bf16 prefill row
- 2.4.1 (released): audit-driven fixes - the tensor-core prefill dim gate tightened to the instantiated set (48/80/96/112 previously launched the D=128 template out of bounds), the DRY batched history upload moved onto the caller's stream, the rewrite scratch chunked to the documented bound; documentation accuracy round (32 findings); staged single-row binding dedup
- 2.4.2 (released): maintainability round - every batched sampler delegates through the one shared dispatcher (xtc/dry included), all pairing cleanup, code polish from the audit backlog; documentation polish
- 2.4.3 (released): third audit round - the dry batched torch-CPU regression fixed and pinned, demo.py parse-gated in CI, prose resync (17 findings)
- 2.4.4 (released): the sample_xtc staged-binding delegation that [2.4.3] described but did not ship; the W8A8 lead range corrected to cover its own table (1.6-2.2x)
- 2.5 (released): sample_mirostat - Mirostat v2 entropy-targeting sampling with a caller-owned mu bound (the one tuple-returning sampler: (token, new_mu); 55 -> 57 public names); lane-parallel softmax in the tensor-core prefill (probe 1.63x, the bf16 row 0.58x -> 0.91x of SDPA); cp.async staging and 16-bit radix keys evaluated and honestly withdrawn
- future candidates (unscheduled): a CUTLASS-class INT8 GEMM schedule (the current qgemm is the exact/graph-capturable/zero-copy path, not the fastest one; TMA itself is Hopper-only and off the table on sm_80-sm_120), 16-bit radix keys (changes the determinism contract)
Community
- Contributing guide - setup, rules of the road, PR process
- Code of conduct
- Security policy
- Changelog
License
MIT - see LICENSE. Third-party notices: NOTICES.md.
Metadata
Release files for fusedtok 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fusedtok-2.5.0.tar.gz | 975.4 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| fusedtok-2.5.0-cp313-cp313-win_amd64.whl | CPython 3.13 | CPython 3.13 | Windows x86-64 | Details |
| fusedtok-2.5.0-cp313-cp313-manylinux_2_34_x86_64.whl | CPython 3.13 | CPython 3.13 | Linux glibc 2.34+ x86-64 | Details |
| fusedtok-2.5.0-cp312-cp312-win_amd64.whl | CPython 3.12 | CPython 3.12 | Windows x86-64 | Details |
| fusedtok-2.5.0-cp312-cp312-manylinux_2_34_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.34+ x86-64 | Details |
| fusedtok-2.5.0-cp311-cp311-win_amd64.whl | CPython 3.11 | CPython 3.11 | Windows x86-64 | Details |
| fusedtok-2.5.0-cp311-cp311-manylinux_2_34_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.34+ x86-64 | Details |
Total release size: 17.3 MB
Release files / fusedtok-2.5.0.tar.gz
| Download URL | fusedtok-2.5.0.tar.gz |
|---|---|
| Size | 975.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49afb4f4a36b2fa00e2543299881fef66852683e3311e8adefa026d334cc5a5c
|
|
BLAKE2b-256 checksum How to use checksums |
be9dfc6c9f2b3301752048df99ccb62bc1a97ec2ae3c4a0198f6bd43801fdb5f
|
| 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 Sep 21, 2026.
Transparency logRelease files / fusedtok-2.5.0-cp313-cp313-win_amd64.whl
| Download URL | fusedtok-2.5.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b484612b863c4109262aac1a9f85516e8f3675b08d52cc752f7a5fb36f9e086a
|
|
BLAKE2b-256 checksum How to use checksums |
d446131fc7a56ca8ce2bb5184eeeb3ddec87d039611104e9752da13224a7df2e
|
| 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 Sep 21, 2026.
Transparency logRelease files / fusedtok-2.5.0-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | fusedtok-2.5.0-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
0c34fda3fd569ff6f0d1377225dca8be6876ef80f5b0ab7ff851e1ed018a6af3
|
|
BLAKE2b-256 checksum How to use checksums |
ebbd1f3e8f985871f8afdcb7067c23a1f1b23531ce10f4d3bdcd314aa46d28b4
|
| 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 Sep 21, 2026.
Transparency logRelease files / fusedtok-2.5.0-cp312-cp312-win_amd64.whl
| Download URL | fusedtok-2.5.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
97d8af3b10117f6464a5bd9c53b54af60652ab23d185cf8f59a9024c97c0feb8
|
|
BLAKE2b-256 checksum How to use checksums |
4863901d7717b70a837a7153b1f82598ac496b654aac1e8b5a144327148b5d91
|
| 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 Sep 21, 2026.
Transparency logRelease files / fusedtok-2.5.0-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | fusedtok-2.5.0-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
f494113b5a3ae6cb383f0d32d7d79e21c7f4f9dc2c7cef8dd773b0f5524e220d
|
|
BLAKE2b-256 checksum How to use checksums |
e7634144e32e4424aecdb7fa85f4610bb43d9e19f4f49716d501ea205958548e
|
| 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 Sep 21, 2026.
Transparency logRelease files / fusedtok-2.5.0-cp311-cp311-win_amd64.whl
| Download URL | fusedtok-2.5.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 2.6 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
12374951d746fdb3a2b3acfb8cafa6c5a906f498f03fdb346619d5458f1c7405
|
|
BLAKE2b-256 checksum How to use checksums |
af8631c6e4282dca173f5f59b01db30b3158f38e60704b2239728f28ab869468
|
| 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 Sep 21, 2026.
Transparency logRelease files / fusedtok-2.5.0-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | fusedtok-2.5.0-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 2.9 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
54c32676d16ecdfd26ecf27cd73e88f5e623c027a594ab029bdcf1994cad4e54
|
|
BLAKE2b-256 checksum How to use checksums |
208068d9bb888230db634cb1b096f26ce0d8158f22982a45f169f241564dc0de
|
| 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 Sep 21, 2026.
Transparency log