snai-int8: int8 training of small transformer language models
A research engine for training small transformer language models almost entirely in integer arithmetic: int8 weights and activations, an integer backward pass and gradient accumulation, and 8-bit Adam moments. With SNAI_I8_REST=sr it trains without any per-weight floating-point state. The engine is written in Nim with...