muQuanta

non-profit
Activity Feed

AI & ML interests

Independant research (Maths, ML, IT & more...)

Recent Activity

muquanta-axel-v17Ā  updated a Space 3 days ago
muquanta/README
muquanta-axel-v17Ā  published a Space 3 days ago
muquanta/README
View all activity

muquanta-axel-v17Ā 
updated a Space 3 days ago
muquanta-axel-v17Ā 
published a Space 3 days ago
muquanta-axel-v17Ā 
posted an update 3 days ago
view post
Post
34
I was organising my research. I ended up building an integer-only Transformer inference engine.

One question led to a final experiment: what if integers powered the whole inference process, not just compressed the weights?

Three pretrained models tested:

• GPT-2 Small (124M): W4, ~100 MB vs ~475 MB FP32; perplexity +2.71% WikiText-2, +2.95% C4. On L4, W4 matched FP32 PyTorch at 39.4 ms per 1,024-token window.

• TinyLlama (1.1B): W4, 767 MB vs ~4.2 GB FP32; +2.33% / +3.26%.

• Mistral-7B: W4, 4.7 GB vs 13.8 GB BF16; +1.62% / +1.71%. W8: +0.34% / +0.14%.

Integer normalisation, attention, Softmax, RoPE and activations; custom Triton kernels and CUDA Graphs. Audited PTX kernels had no floating-point instructions. Tested CPU/GPU paths produced bit-identical logits.

Not every path is faster; W4 still has limitations. Models and inference code are shared for independent testing.

Samuel Moulin
https://huggingface.co/muquanta/Mistral-7B-v0.1-entier-W4