Skip to content

The best ChatGPT that $100 can buy.

Python

apply float32 cast before logits softcapping so the tanh is in fp32. torch compile fuses this correctly with no extra memory costs.

Andrejcbf30c842c4d