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

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

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

49 个仓库

Awesome GitHub RepositoriesPrecision Quantization

Methods for reducing the bit-width of model weights to decrease memory usage and accelerate inference.

Distinguishing note: Specifically addresses weight representation formats rather than general training algorithms.

Explore 49 awesome GitHub repositories matching artificial intelligence & ml · Precision Quantization. Refine with filters or upvote what's useful.

Awesome Precision Quantization GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • jmorganca/ollamajmorganca 的头像

    jmorganca/ollama

    174,350在 GitHub 上查看↗

    Ollama is a cross-platform runtime for managing, serving, and executing large language models on local hardware. It functions as a model manager and orchestrator that allows for the downloading, updating, and organization of model weights and configurations to ensure private and offline inference. The system provides a local inference API and a RESTful interface for programmatic model lifecycle management and text generation. It utilizes a compiled C++ backend to handle tensor operations and memory management. To support various hardware configurations, the runtime employs dynamic GPU offloa

    Reduces model precision to lower VRAM requirements while maintaining inference quality on consumer hardware.

    Go
    在 GitHub 上查看↗174,350
  • hiyouga/llama-factoryhiyouga 的头像

    hiyouga/LLaMA-Factory

    72,241在 GitHub 上查看↗

    LLaMA-Factory is a comprehensive suite for dataset preparation, model fine-tuning, memory optimization, and standardized API deployment. It provides a unified platform for the supervised and reward-based fine-tuning of large language models and vision-language models. The framework includes a specialized toolkit for training vision-language models and a model serving interface that deploys trained models through high-performance APIs. It utilizes precision tuning and quantization techniques to reduce the hardware requirements and memory footprint of large models. The system covers data pipel

    Utilizes precision quantization to reduce model bit-depth, lowering memory footprint and accelerating inference.

    Python
    在 GitHub 上查看↗72,241
  • microsoft/deepspeedmicrosoft 的头像

    microsoft/DeepSpeed

    42,533在 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

    Converts high-precision weights to lower bit-widths to reduce memory usage and accelerate transformer inference.

    Python
    在 GitHub 上查看↗42,533
  • thudm/chatglm-6bTHUDM 的头像

    THUDM/ChatGLM-6B

    41,040在 GitHub 上查看↗

    ChatGLM-6B is an open-source bilingual large language model designed for natural dialogue and text generation in both English and Chinese. It is structured as a dialogue model capable of tasks such as role-playing and information extraction. The project provides implementations for quantized language models, using low-precision weights to reduce GPU memory requirements for local inference. It also supports parameter-efficient fine-tuning, allowing model behavior to be optimized for specific tasks without requiring full retraining. The model includes capabilities for local execution on GPUs a

    Employs weight representation formats that reduce bit-width to decrease memory usage on limited hardware.

    Python
    在 GitHub 上查看↗41,040
  • datawhalechina/self-llmdatawhalechina 的头像

    datawhalechina/self-llm

    30,941在 GitHub 上查看↗

    This project is an open-source educational resource providing structured, step-by-step guides for fine-tuning large language models. It focuses on adapting pre-trained transformer-based causal models to custom datasets, enabling users to transfer specific writing styles or domain knowledge into generative AI models. The repository distinguishes itself by emphasizing parameter-efficient training techniques, specifically low-rank adaptation. By providing practical implementations for updating only a small subset of model weights, it allows for the customization of massive neural networks on con

    Reduces memory footprint and accelerates computation by representing model weights in lower-bit floating point formats.

    Jupyter Notebookchatglmchatglm3gemma-2b-it
    在 GitHub 上查看↗30,941
  • sgl-project/sglangsgl-project 的头像

    sgl-project/sglang

    29,079在 GitHub 上查看↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    Reduces the bit-width of weights and activations to decrease memory footprint and accelerate inference throughput.

    Pythonattentionblackwellcuda
    在 GitHub 上查看↗29,079
  • black-forest-labs/fluxblack-forest-labs 的头像

    black-forest-labs/flux

    25,637在 GitHub 上查看↗

    Flux is a diffusion model inference engine designed for text-to-image generation and image-to-image manipulation. It provides a system for executing open-weight models to transform natural language descriptions into visual imagery or to modify existing images. The project distinguishes itself through a flow-matching framework for image generation and a structural image controller. This controller allows for guided synthesis by using depth maps and Canny edge detection to constrain the geometry and composition of the output. The toolkit covers a broad range of image editing capabilities, incl

    Supports executing model weights in lower bit-depth formats to reduce memory usage and increase speed.

    Python
    在 GitHub 上查看↗25,637
  • guillaumekln/faster-whisperguillaumekln 的头像

    guillaumekln/faster-whisper

    23,679在 GitHub 上查看↗

    faster-whisper is an automatic speech recognition framework and an optimized implementation of the Whisper speech-to-text engine. It functions as a CTranslate2 inference engine designed to convert spoken audio into written text. The project serves as a model quantization tool that transforms large audio model weights into lower precision formats. This process reduces memory usage and increases execution speed on hardware by utilizing integer quantized weights. The framework covers a broad range of capabilities including batch audio transcription for parallel processing and voice activity det

    Uses symmetric mapping of floating point values to integers to accelerate mathematical operations on hardware.

    Python
    在 GitHub 上查看↗23,679
  • mlc-ai/mlc-llmmlc-ai 的头像

    mlc-ai/mlc-llm

    22,057在 GitHub 上查看↗

    MLC LLM is a machine learning compiler and inference engine designed to execute large language models locally across diverse hardware platforms, including desktop, mobile, and web environments. By utilizing machine learning compilation, the project transforms high-level model definitions into specialized, hardware-specific binary libraries. This process optimizes model weights and generates compute kernels tailored to the unique memory and processing characteristics of target graphics and mobile hardware. The engine distinguishes itself by providing a unified runtime abstraction that enables

    Reduces model memory footprint and increases inference speed by transforming high-precision weights into compressed numerical formats.

    Pythonlanguage-modelllmmachine-learning-compilation
    在 GitHub 上查看↗22,057
  • apple/ml-stable-diffusionapple 的头像

    apple/ml-stable-diffusion

    17,901在 GitHub 上查看↗

    This project is a framework for running Stable Diffusion image generation models on Apple Silicon using Core ML hardware acceleration. It provides a local generative AI pipeline for producing images from text prompts using Swift and Python without relying on external cloud APIs. The system includes a model converter to transform deep learning checkpoints into Core ML formats and a model optimizer to quantize weights and activations. It features a ControlNet integration layer to guide image generation using external signals such as edge and depth maps. Capabilities cover text-to-image generat

    Lowers memory usage by estimating activation ranges from calibration data to apply precision reduction.

    Python
    在 GitHub 上查看↗17,901
  • kvcache-ai/ktransformerskvcache-ai 的头像

    kvcache-ai/ktransformers

    17,288在 GitHub 上查看↗

    Ktransformers is a comprehensive framework designed for the operation, fine-tuning, and serving of large language models. It functions as a heterogeneous inference engine and quantized execution runtime, enabling the deployment of massive models by distributing computational workloads across both CPU and GPU resources. This architecture allows users to bypass local memory constraints, making it possible to run and train models that exceed the capacity of a single device. The project distinguishes itself through specialized support for sparse architectures, particularly mixture-of-experts mode

    Supports multiple precision formats to compress model weights and optimize memory usage during inference.

    Python
    在 GitHub 上查看↗17,288
  • thudm/chatglm2-6bTHUDM 的头像

    THUDM/ChatGLM2-6B

    15,565在 GitHub 上查看↗

    ChatGLM2-6B is an open-weight large language model designed for natural language conversations and text generation in both English and Chinese. It functions as a bilingual chat model capable of processing and maintaining coherence across text sequences up to 32K tokens. The model is optimized for local deployment through precision quantization, which reduces memory requirements to allow execution on consumer-grade hardware. It supports distributing model weights across multiple graphics cards to handle parameters that exceed the memory of a single device. The project covers capabilities for

    Utilizes precision quantization to reduce model weight bit-depth for efficient execution on consumer hardware.

    Python
    在 GitHub 上查看↗15,565
  • tracel-ai/burntracel-ai 的头像

    tracel-ai/burn

    15,474在 GitHub 上查看↗

    Burn is a deep learning framework designed for building, training, and deploying neural networks using a modular architecture. As a machine learning library built in Rust, it provides a backend-agnostic computational engine that enables the execution of models across diverse hardware, including central processors, graphics processors, and web runtimes. The framework distinguishes itself through a highly portable design that allows developers to maintain a single workflow for both training and inference across heterogeneous environments. It incorporates advanced optimization techniques such as

    Stores model weights in reduced-bit formats to decrease memory footprint and accelerate arithmetic operations.

    Rustautodiffcross-platformcuda
    在 GitHub 上查看↗15,474
  • ggml-org/ggmlggml-org 的头像

    ggml-org/ggml

    13,985在 GitHub 上查看↗

    GGML is a machine learning tensor library and neural network engine written in C. It functions as a compute-focused runtime designed to execute transformer-based models and perform complex mathematical operations on multi-dimensional arrays directly on local consumer hardware. The library distinguishes itself by enabling local inference for large language models and edge machine learning deployment without reliance on external cloud infrastructure. It achieves this through a tensor-based computation graph that organizes operations for efficient execution and memory management, alongside stati

    Reduces model memory footprint by storing high-precision weights in lower-bit formats to enable efficient inference on consumer-grade hardware.

    C++automatic-differentiationlarge-language-modelsmachine-learning
    在 GitHub 上查看↗13,985
  • zai-org/chatglm3zai-org 的头像

    zai-org/ChatGLM3

    13,764在 GitHub 上查看↗

    ChatGLM3 is a comprehensive framework for deploying, fine-tuning, and serving large language models. It functions as a high-performance inference engine designed to support conversational AI, enabling developers to build interactive agents capable of multi-turn dialogue, autonomous code execution, and structured tool invocation. The project distinguishes itself through its focus on hardware-agnostic deployment and resource optimization. It supports distributed model parallelism across multiple graphics cards, paged key-value caching for concurrent request processing, and weight quantization t

    Reduces the memory footprint of large language models by converting weights to lower precision for execution on hardware with limited memory.

    Python
    在 GitHub 上查看↗13,764
  • nvidia/tensorrtNVIDIA 的头像

    NVIDIA/TensorRT

    13,076在 GitHub 上查看↗

    TensorRT 是一个深度学习推理引擎和软件开发工具包,旨在优化和部署神经网络,以在 NVIDIA GPU 上实现高性能执行。它作为一个 GPU 加速框架,在生产部署期间减少延迟并提高训练模型的吞吐量。 该工具包从 Open Neural Network Exchange 格式导入模型,并将它们转换为优化的引擎。它利用基于图的模型优化、层融合内核生成和基于精度的量化,将浮点权重转换为低精度格式。 该框架提供了硬件特定引擎序列化的功能,并支持通过自定义插件扩展推理能力,以用于专门的神经网络层。

    Converts floating point weights to lower precision formats like FP16 or INT8 to increase throughput.

    C++deep-learninggpu-accelerationinference
    在 GitHub 上查看↗13,076
  • ryancodrai/turbovecRyanCodrai 的头像

    RyanCodrai/turbovec

    11,738在 GitHub 上查看↗

    TurboVec is a high-performance Rust vector database and quantized search index designed for storing and retrieving high-dimensional embeddings. It functions as a pluggable vector store for large language model orchestration frameworks, providing a memory-efficient alternative to standard in-memory storage. The project distinguishes itself through a high-dimensional vector compressor that utilizes random rotation and data-oblivious scalar quantization to reduce memory footprints. Retrieval is accelerated via SIMD kernels that process distance calculations and search operations for increased th

    Fits empirical data distributions to coordinate-specific shift and scale values during data ingestion.

    Pythonannavx512embedding
    在 GitHub 上查看↗11,738
  • thu-mig/yolov10THU-MIG 的头像

    THU-MIG/yolov10

    11,316在 GitHub 上查看↗

    YOLOv10 is a PyTorch computer vision library and real-time vision framework designed for locating and identifying multiple objects in images and video streams. It functions as an end-to-end object detector that optimizes for high-speed deployment and detection precision. The project is distinguished by an NMS-free detection architecture that predicts a single bounding box per object, eliminating the need for non-maximum suppression post-processing to reduce inference latency. It further optimizes for edge hardware through scalable weights and a quantization-friendly structure that facilitates

    Provides precision quantization of weights to enable high-speed execution on edge hardware.

    Python
    在 GitHub 上查看↗11,316
  • lucidrains/dalle2-pytorchlucidrains 的头像

    lucidrains/DALLE2-pytorch

    11,310在 GitHub 上查看↗

    This is a PyTorch implementation of a text-to-image model designed for synthesizing high-fidelity images from natural language descriptions. It utilizes a diffusion image generator to transform latent embeddings into visual data through an iterative denoising process. The system employs a two-stage latent mapping process, using a CLIP-based latent prior to map text embeddings to image embeddings before decoding them into pixels. It features a cascading diffusion decoder that produces high-resolution imagery by passing low-resolution outputs through a sequence of models at increasing scales.

    Compresses visual data using vector quantization to optimize autoencoder performance.

    Pythonartificial-intelligencedeep-learningtext-to-image
    在 GitHub 上查看↗11,310
  • huggingface/text-generation-inferencehuggingface 的头像

    huggingface/text-generation-inference

    10,775在 GitHub 上查看↗

    Text Generation Inference is a production-ready engine designed for the deployment and serving of large language models. It functions as a containerized runtime environment that manages model execution, scales across distributed hardware, and provides high-performance inference capabilities for demanding production environments. The project distinguishes itself through advanced optimization techniques, including continuous batching to maximize hardware utilization and tensor parallelism to shard large models across multiple accelerator cards. It supports efficient inference through custom com

    Reduces memory footprint and computational requirements by converting model weights into smaller, more efficient data formats.

    Pythonbloomdeep-learningfalcon
    在 GitHub 上查看↗10,775
上一个123下一个
  1. Home
  2. Artificial Intelligence & ML
  3. Precision Quantization

探索子标签

  • Activation QuantizationReducing the precision of model activations based on calibration data to lower memory usage. **Distinct from Precision Quantization:** Specifically targets activations (intermediate tensors) rather than static weights.
  • Mixed Granularity Quantization2 个子标签Techniques for applying different precision levels to weights, activations, and gradients simultaneously. **Distinct from Precision Quantization:** Distinct from general precision quantization: focuses on per-token/per-block granularity rather than uniform bit-width reduction.
  • Mixed-Precision Orchestration1 个子标签Coordinates the use of different numerical precisions across different phases of the model lifecycle, such as training and inference. **Distinct from Precision Quantization:** Distinct from Precision Quantization: focuses on the coordination between high-precision training and low-precision inference checkpoints rather than just the act of quantization.
  • Online Quantization5 个子标签Dynamic conversion of model weights to lower-precision formats during loading or runtime. **Distinct from Precision Quantization:** Focuses on online/dynamic conversion, distinct from static precision quantization.
  • Precision Fallback MechanismsAutomatic conversion of model weights to an optimized type when the original quantization is not supported on the platform. **Distinct from Precision Quantization:** Distinct from Precision Quantization: focuses on automatic fallback to compatible precision, not general precision reduction techniques.
  • Section-Specific Precision Control1 个子标签Applying different quantization strategies to specific sections of a model based on precision requirements. **Distinct from Precision Quantization:** More specific than Precision Quantization by allowing granular, section-based precision application.
  • VRAM QuantizationReducing precision of specific model components like linear layers to lower video memory usage. **Distinct from Precision Quantization:** Specifically targets the reduction of VRAM by quantizing linear layers in transformer blocks, distinct from general bit-width reduction of the entire weight set.