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
bitsandbytes-foundation avatar

bitsandbytes-foundation/bitsandbytes

0
View on GitHub↗
7,968 stars·825 forks·Python·mit·30 viewshuggingface.co/docs/bitsandbytes/main/en/index↗

Bitsandbytes

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 to prevent out-of-memory crashes during intensive training processes.

The library covers a broad range of optimization capabilities, including vector-wise and block-wise quantization for weights and optimizer states. It also supports weight sharding for distributed quantized training and specialized normalization to stabilize gradients within embedding layers.

Features

  • Deep Learning Quantization Tools - Provides a comprehensive set of vector-wise and block-wise quantization methods for memory-efficient inference and training.
  • GPU Memory Optimizers - Manages optimizer states and weights through paging and quantization to prevent out-of-memory errors.
  • Large Model Optimizations - Enables running massive neural networks on consumer GPUs through quantization and device mapping.
  • Low-Rank Adaptation - Provides a framework for low-rank adaptation to enable efficient fine-tuning of quantized models.
  • 4-bit Adaptation Frameworks - Combines 4-bit quantization with low-rank adaptation to minimize training memory while preserving accuracy.
  • Quantized Fine-Tuning - Enables training of large models on limited hardware by operating on quantized base weights.
  • Weight Quantization - Compresses large language model weights to 8-bit and 4-bit precision to drastically reduce GPU memory usage.
  • Vector-Wise Quantization - Compresses model weights to 8-bit precision using vector-wise scaling to preserve numerical accuracy during inference.
  • Training Memory Optimizers - Reduces GPU memory footprint for large language models via weight and feature quantization.
  • Distributed Training Sharding - Distributes quantized model weights across multiple accelerators to maintain compatibility with parallel training.
  • 8-bit Compression Tools - Compresses model features to 8-bit precision to reduce memory usage while maintaining performance.
  • Quantized Training - Integrates weight precision reduction directly into the training process to lower memory requirements across GPUs.
  • Block-Wise Quantization - Reduces the memory footprint of optimizer states using block-wise quantization to maintain precision.
  • Weight Sharding - Provides the ability to distribute 4-bit weights across multiple GPUs for compatibility with parallel training systems.
  • Optimizer State Offloading - Moves optimizer states between GPU memory and system RAM to prevent out-of-memory crashes.
  • GPU Memory Orchestration - Implements the orchestration of optimizer states moving between host CPU and GPU memory to prevent crashes.
  • Performance Optimization - Library for k-bit quantization to optimize LLM memory usage.
  • Computation and Optimization - Lightweight wrapper for 8-bit optimizers and CUDA functions.

Star history

Star history chart for bitsandbytes-foundation/bitsandbytesStar history chart for bitsandbytes-foundation/bitsandbytes

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

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

Projects sharing features with Bitsandbytes

These projects share indexed features with Bitsandbytes. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • timdettmers/bitsandbytestimdettmers avatar

    timdettmers/bitsandbytes

    8,277View on GitHub↗

    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 r

    Python
    View on GitHub↗8,277
  • 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
  • nvlabs/sanaNVlabs avatar

    NVlabs/Sana

    8,310View on GitHub↗

    Sana is a framework for high-resolution image and video synthesis based on a linear diffusion transformer. It provides a toolkit for the training, fine-tuning, and execution of text-to-image and text-to-video models, as well as a video generative world model capable of simulating physical environments with precise spatial control. The project is distinguished by its use of linear complexity layers to handle high resolutions and its support for long-form, minute-length video generation in real time. It implements a two-stage inference paradigm that separates structural generation from visual t

    Python
    View on GitHub↗8,310
  • infrasys-ai/aiinfraInfrasys-AI avatar

    Infrasys-AI/AIInfra

    7,414View on GitHub↗
    Jupyter Notebookaiinfraaisystem
    View on GitHub↗7,414
Compare all 30 related projects→

Frequently asked questions

What does bitsandbytes-foundation/bitsandbytes do?

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.

What are the main features of bitsandbytes-foundation/bitsandbytes?

The main features of bitsandbytes-foundation/bitsandbytes are: Deep Learning Quantization Tools, GPU Memory Optimizers, Large Model Optimizations, Low-Rank Adaptation, 4-bit Adaptation Frameworks, Quantized Fine-Tuning, Weight Quantization, Vector-Wise Quantization.

Which projects share features with bitsandbytes-foundation/bitsandbytes?

Projects with overlapping indexed features include: timdettmers/bitsandbytes — bitsandbytes is a quantization library for large language models that reduces memory footprints using k-bit… pytorch/torchtune — Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a… nvlabs/sana — Sana is a framework for high-resolution image and video synthesis based on a linear diffusion transformer. It provides… infrasys-ai/aiinfra. artidoro/qlora — This project is a quantized fine-tuning framework for large language models. It implements a low-rank adaptation… afshinea/stanford-cme-295-transformers-large-language-models — This project is a comprehensive technical course study guide and reference for learning the architectures and training…