Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
ML bingo, log numbers, integers, hadamard transforms, integer training? (github.com/kgrama)
2 points by gramgor 2 days ago | past | favorite | 1 comment
 help



AI slop follows: LogLLaMA uses PTLF16, a 16-bit Tribonacci logarithmic number system based on the Tribonacci constant. Multiplication, division, square root and reciprocal square root reduce to integer additions, subtractions and shifts.

The project includes:

Pure-integer implementations of attention, RMSNorm, RoPE, Softmax, MoE and Gated DeltaNet.

AMX-INT8 and AVX-512 kernels designed to avoid gathers, shuffles and floating-point conversions.

Direct int8 storage for low-bit weight formats.

Pure-integer AdamW training, including forward and backward passes.

26 Rocq (Coq) specification modules proving numerical invariants, overflow bounds and SIMD instruction ordering, with zero Admitted lemmas.

the writeup is in a tex file on there, would be nice if someone would endorse so I can post to arxiv




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: