Torchao

Quantize, fine-tune and train PyTorch models with torchao (PyTorch AO, pytorch/ao) using quantize_() with Float8, Int8 and Int4 configs, QAT, float8 training and 8-bit or 4-bit optimizers. Use for TorchAoConfig in Transformers or Diffusers, pytorch/*-FP8 or INT4 checkpoints in vLLM, quantization-aware training, torch.compile speedups, and torch or torchao version mismatch, Fatal Python error on import torchao. Not for bitsandbytes NF4, GPTQ, AWQ or GGUF (see bitsandbytes, model-quantization, gguf-quantization).

ScaleDockHQ Updated

File contents

ScaleDockHQ/llm-skills commit 8ba5d5fa33

Frequently asked questions

npx get-skill add scaledockhq/torchao