awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bitsandbytes-foundation avatar

bitsandbytes-foundation/bitsandbytes

0
View on GitHub↗
7,968 estrellas·825 forks·Python·mit·7 vistashuggingface.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.

Historial de estrellas

Gráfico del historial de estrellas de bitsandbytes-foundation/bitsandbytesGráfico del historial de estrellas de bitsandbytes-foundation/bitsandbytes

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Bitsandbytes

Proyectos open-source similares, clasificados según cuántas características comparten con Bitsandbytes.
  • timdettmers/bitsandbytesAvatar de timdettmers

    timdettmers/bitsandbytes

    8,277Ver en 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
    Ver en GitHub↗8,277
  • pytorch/torchtuneAvatar de pytorch

    pytorch/torchtune

    5,774Ver en 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
    Ver en GitHub↗5,774
  • nvlabs/sanaAvatar de NVlabs

    NVlabs/Sana

    8,310Ver en 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
    Ver en GitHub↗8,310
  • infrasys-ai/aiinfraAvatar de Infrasys-AI

    Infrasys-AI/AIInfra

    7,414Ver en GitHub↗
    Jupyter Notebookaiinfraaisystem
    Ver en GitHub↗7,414
Ver las 30 alternativas a Bitsandbytes→

Preguntas frecuentes

¿Qué hace bitsandbytes-foundation/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.

¿Cuáles son las características principales de bitsandbytes-foundation/bitsandbytes?

Las características principales de bitsandbytes-foundation/bitsandbytes son: 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.

¿Qué alternativas de código abierto existen para bitsandbytes-foundation/bitsandbytes?

Las alternativas de código abierto para bitsandbytes-foundation/bitsandbytes incluyen: 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…