awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 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·6 Aufrufehuggingface.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-Verlauf

Star-Verlauf für bitsandbytes-foundation/bitsandbytesStar-Verlauf für bitsandbytes-foundation/bitsandbytes

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Bitsandbytes

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Bitsandbytes.
  • timdettmers/bitsandbytesAvatar von timdettmers

    timdettmers/bitsandbytes

    8,277Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗8,277
  • pytorch/torchtuneAvatar von pytorch

    pytorch/torchtune

    5,774Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗5,774
  • nvlabs/sanaAvatar von NVlabs

    NVlabs/Sana

    8,310Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗8,310
  • infrasys-ai/aiinfraAvatar von Infrasys-AI

    Infrasys-AI/AIInfra

    7,414Auf GitHub ansehen↗
    Jupyter Notebookaiinfraaisystem
    Auf GitHub ansehen↗7,414
Alle 30 Alternativen zu Bitsandbytes anzeigen→

Häufig gestellte Fragen

Was macht 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.

Was sind die Hauptfunktionen von bitsandbytes-foundation/bitsandbytes?

Die Hauptfunktionen von bitsandbytes-foundation/bitsandbytes sind: 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.

Welche Open-Source-Alternativen gibt es zu bitsandbytes-foundation/bitsandbytes?

Open-Source-Alternativen zu bitsandbytes-foundation/bitsandbytes sind unter anderem: 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…