awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
timdettmers avatar

timdettmers/bitsandbytes

0
View on GitHub↗
8,277 stars·873 forks·Python·MIT·6 viewshuggingface.co/docs/bitsandbytes/main/en/index↗

Bitsandbytes

bitsandbytes is a quantization library for large language models that reduces memory footprints using k-bit quantization. It provides a framework for 4-bit low-rank adaptation, tools for 8-bit model compression, and memory-efficient optimizer extensions for PyTorch.

The project enables the training of large models on limited hardware through 4-bit quantization and low-rank adaptation weights. It also facilitates faster inference by compressing models to 8-bit precision using vector-wise quantization.

The library covers a range of memory optimization capabilities, including optimizer memory reduction via block-wise quantization and general model compression to maintain output quality while lowering video memory requirements.

Features

  • Weight Quantization - Reduces model memory footprints by mapping floating point weights to k-bit integer values.
  • GPU Kernel Implementations - Provides custom CUDA kernels to execute precision-critical mathematical operations directly on GPU hardware for maximum speed.
  • Low-Rank Adaptation - Implements low-rank adaptation (LoRA) to update only a small subset of model parameters during training.
  • 4-bit Adaptation Frameworks - Provides a framework for training large models on limited hardware through 4-bit quantization and low-rank adaptation.
  • Quantization Toolkits - Offers a library for reducing the memory footprint of large language models using k-bit quantization.
  • Model Quantization - Reduces the memory footprint of large language models using k-bit quantization for limited video memory.
  • Quantized Training - Enables training of large models on limited hardware by employing 4-bit quantization and low-rank adaptation.
  • Block-Wise Quantization - Implements block-wise quantization of optimizer states to maintain full precision training performance while reducing memory.
  • Quantized Optimizers - Implements memory-efficient optimizers using block-wise quantization to maintain full precision performance.
  • 8-bit Compression Tools - Provides a tool for compressing large language models to 8-bit precision for faster inference.
  • Model Compression - Compresses neural networks to 8-bit precision to lower memory usage while maintaining output quality.
  • Vector-Wise Quantization - Uses vector-wise quantization to maintain high numerical accuracy during model inference.
  • Training Memory Optimizers - Lowers the memory required for training large models using block-wise quantization for the optimizer.
  • Large Language Models - Library for 8-bit optimization and quantization.
  • Model Quantization - 8-bit matrix multiplication and quantization primitives.
  • Model Quantization Tools - Efficient 8-bit matrix multiplication for large-scale models.
  • Large Language Models (LLMs) - Listed in the “Large Language Models (LLMs)” section of the The Incredible Pytorch awesome list.

Star history

Star history chart for timdettmers/bitsandbytesStar history chart for timdettmers/bitsandbytes

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Bitsandbytes

Similar open-source projects, ranked by how many features they share with Bitsandbytes.
  • bitsandbytes-foundation/bitsandbytesbitsandbytes-foundation avatar

    bitsandbytes-foundation/bitsandbytes

    7,968View on GitHub↗

    bitsandbytes is a deep learning quantization tool and library designed to reduce the memory footprint of large language models. It serves as a GPU memory optimizer and quantization framework, compressing model weights and features to 8-bit and 4-bit precision to enable inference and training on hardware with limited memory. The project provides a framework for low-rank adaptation, allowing the fine-tuning of quantized models by combining 4-bit weights with small trainable matrices. It further distinguishes itself through memory paging, which moves optimizer states between CPU and GPU memory t

    Pythonllmmachine-learningpytorch
    View on GitHub↗7,968
  • pytorch/torchtunepytorch avatar

    pytorch/torchtune

    5,774View on GitHub↗

    Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a configurable training pipeline orchestrated through YAML recipes, with CLI overrides and component swapping, distributed training via FSDP2, memory optimizations, and parameter-efficient fine-tuning methods like LoRA, DoRA, and QLoRA. The library distinguishes itself through its YAML-driven configuration system that defines all training parameters and instantiates components from config files, with full CLI override capability for any field or component at launch time. It suppo

    Python
    View on GitHub↗5,774
  • openaccess-ai-collective/axolotlOpenAccess-AI-Collective avatar

    OpenAccess-AI-Collective/axolotl

    12,062View on GitHub↗

    Axolotl is a distributed training orchestrator and fine-tuning framework for large language models, multimodal systems, and quantized models. It provides a structured environment for specializing pre-trained models through full parameter updates or low-rank adaptation, as well as aligning model outputs with human expectations via preference tuning pipelines and reward modeling. The system distinguishes itself through a configuration-driven pipeline that manages preprocessing and training workflows via a single file for reproducibility. It implements high-throughput optimizations such as multi

    Python
    View on GitHub↗12,062
  • microsoft/deepspeedmicrosoft avatar

    microsoft/DeepSpeed

    42,533View on GitHub↗

    DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of massive AI models. It serves as a model parallelism orchestrator and a toolkit for scaling large language models across multiple GPUs and compute nodes. The project distinguishes itself through 3D parallelism orchestration, which combines data, pipeline, and tensor parallelism. It utilizes ZeRO-based memory partitioning to eliminate redundant storage and employs CPU-offload memory management to move weights and optimizer states to system RAM. Additionally, it provides special

    Python
    View on GitHub↗42,533
See all 30 alternatives to Bitsandbytes→

Frequently asked questions

What does timdettmers/bitsandbytes do?

bitsandbytes is a quantization library for large language models that reduces memory footprints using k-bit quantization. It provides a framework for 4-bit low-rank adaptation, tools for 8-bit model compression, and memory-efficient optimizer extensions for PyTorch.

What are the main features of timdettmers/bitsandbytes?

The main features of timdettmers/bitsandbytes are: Weight Quantization, GPU Kernel Implementations, Low-Rank Adaptation, 4-bit Adaptation Frameworks, Quantization Toolkits, Model Quantization, Quantized Training, Block-Wise Quantization.

What are some open-source alternatives to timdettmers/bitsandbytes?

Open-source alternatives to timdettmers/bitsandbytes include: bitsandbytes-foundation/bitsandbytes — bitsandbytes is a deep learning quantization tool and library designed to reduce the memory footprint of large… pytorch/torchtune — Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a… openaccess-ai-collective/axolotl — Axolotl is a distributed training orchestrator and fine-tuning framework for large language models, multimodal… microsoft/deepspeed — DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of… vllm-project/llm-compressor — llm-compressor is a quantization toolkit and post-training library designed to reduce the memory footprint and size of… artidoro/qlora — This project is a quantized fine-tuning framework for large language models. It implements a low-rank adaptation…