Similar Items: AGoQ: Activation and Gradient Quantization for Memory-Efficient Distributed Training of LLMs