Bitsandbytes

Load and train LLMs in 8-bit and 4-bit with bitsandbytes (LLM.int8(), NF4/FP4 QLoRA, 8-bit and paged optimizers) through Transformers, PEFT, TRL and Accelerate. Use for BitsAndBytesConfig, load_in_4bit, QLoRA or FSDP-QLoRA setup, Adam8bit and paged_adamw, serving a bnb checkpoint in vLLM, and errors such as no kernel image available, No compatible CUDA library found, libbitsandbytes not found. Not for GPTQ, AWQ, GGUF or FP8 export (see model-quantization, llm-compressor, gguf-quantization).

ScaleDockHQ Updated

File contents

ScaleDockHQ/llm-skills commit d9ac2ebd35

Frequently asked questions

npx get-skill add scaledockhq/bitsandbytes