awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bitsandbytes-foundation avatar

bitsandbytes-foundation/bitsandbytes

0
View on GitHub↗
7,968 星标·825 分支·Python·mit·25 次浏览huggingface.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 历史

bitsandbytes-foundation/bitsandbytes 的 Star 历史图表bitsandbytes-foundation/bitsandbytes 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Bitsandbytes 的开源替代方案

相似的开源项目,按与 Bitsandbytes 的功能重合度排序。
  • timdettmers/bitsandbytestimdettmers 的头像

    timdettmers/bitsandbytes

    8,277在 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
    在 GitHub 上查看↗8,277
  • pytorch/torchtunepytorch 的头像

    pytorch/torchtune

    5,774在 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
    在 GitHub 上查看↗5,774
  • nvlabs/sanaNVlabs 的头像

    NVlabs/Sana

    8,310在 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
    在 GitHub 上查看↗8,310
  • infrasys-ai/aiinfraInfrasys-AI 的头像

    Infrasys-AI/AIInfra

    7,414在 GitHub 上查看↗
    Jupyter Notebookaiinfraaisystem
    在 GitHub 上查看↗7,414
查看 Bitsandbytes 的所有 30 个替代方案→

常见问题解答

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.

bitsandbytes-foundation/bitsandbytes 的主要功能有哪些?

bitsandbytes-foundation/bitsandbytes 的主要功能包括: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。

bitsandbytes-foundation/bitsandbytes 有哪些开源替代品?

bitsandbytes-foundation/bitsandbytes 的开源替代品包括: 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…