26 个仓库
Specific model versions that utilize low-precision weight formats to reduce inference memory requirements.
Distinct from Weight Quantization: Focuses on the resulting model implementation rather than the general technique of weight quantization.
Explore 26 awesome GitHub repositories matching artificial intelligence & ml · Quantized Model Implementations. Refine with filters or upvote what's useful.
Grok-1 is an open-weights large language model implementation featuring a sparse mixture-of-experts architecture. It is designed for high-performance text generation and natural language processing by activating only a subset of specialized expert layers per token. The model utilizes 8-bit weight quantization to reduce memory overhead and accelerate loading. To manage its high parameter count, the implementation supports activation sharding, which distributes the memory load across multiple hardware devices during execution. The project covers large-scale model inference, including text comp
Provides a model implementation specifically utilizing 8-bit weight quantization for reduced memory overhead.
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
Provides model implementations that use low-precision weight formats to reduce GPU VRAM requirements.
fastText is a library and framework for word embedding generation, text vectorization, and supervised text classification. It provides tools to transform raw text into fixed-length vector representations and to train models that assign category labels to sentences or documents. The system utilizes subword-based vectorization and character n-gram embeddings, allowing it to generate meaningful vectors for words that were not present during training. To manage resource usage, it includes a quantized language model implementation that employs product quantization and dimensionality reduction to d
Implements a memory-efficient language model using quantization to reduce the overall footprint.
Qwen-7B is a pretrained causal language model designed for natural language generation, text processing, and complex reasoning tasks. It is available as an instruction-tuned model optimized for conversational interactions and a tool-use model capable of executing function calls and interacting with external APIs. The project provides a quantized version of the model to reduce GPU memory usage and supports the development of autonomous agents that can execute code and perform functions to complete complex goals. The system covers a wide range of capabilities including model fine-tuning throug
Ships a quantized version of the model to reduce GPU memory requirements for inference.
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
Implements low-precision weight formats to enable execution on consumer-grade hardware with reduced memory.
ChatGLM2-6B is a bilingual chat large language model designed for natural conversation and text generation in both English and Chinese. It functions as a fine-tunable language model that supports updating weights via specialized scripts to adapt to specific datasets and tasks. The project serves as a quantized inference engine and multi-GPU model orchestrator, enabling the execution of large models on consumer-grade hardware. It is capable of processing long context sequences up to 32K tokens to maintain understanding across extended documents. The system covers capabilities for multilingual
Implements low-precision weight formats to reduce memory requirements for execution on consumer hardware.
ChatGLM3 is an open-weights large language model designed for bilingual conversational interactions in English and Chinese. It functions as a tool-augmented system capable of calling external functions and executing internal code to resolve complex tasks. The model utilizes four-bit quantization to reduce memory requirements, enabling inference on consumer hardware and diverse processing units including GPUs and CPUs. It features an expanded context window for processing and summarizing long documents and includes a supervised fine-tuning pipeline for adapting the model to specialized domains
Implements a model version using four-bit precision to reduce memory requirements and enable consumer hardware inference.
MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained environments. The project focuses on running dense Transformer models on consumer hardware, including GPUs, CPUs, and Apple Silicon, without requiring custom code forks. The project distinguishes itself through heavy optimization for edge hardware, utilizing quantized weight compression in GGUF and MLX formats to reduce memory overhead. It implements advanced inference techniques such as speculative sampling and radix-tree prefix caching to accelerate generation speed and throughp
Measures memory footprint and perplexity of quantized models to verify accuracy and efficiency.
Intel XPU LLM Acceleration Library is a toolkit designed to accelerate large language model inference and finetuning on Intel CPUs, GPUs, and NPUs. It provides a distributed inference engine for scaling models across multiple accelerators, a multimodal model runtime for vision and speech tasks, and a low-bit model quantization tool for converting weights into INT4, FP8, and GGUF formats. The project features a parameter-efficient finetuning framework that enables model adaptation using QLoRA and DPO on Intel hardware. It distinguishes itself by providing specialized optimizations for Intel XP
Imports and loads models using industry-standard quantization schemes such as GGUF, AWQ, and GPTQ.
本项目提供了一套轻量级人脸检测模型,专为边缘计算设备上的高速推理而设计。它以紧凑的神经网络架构为核心,能够在计算资源有限和功耗受限的环境中实现人脸检测。 该系统具有多种格式的量化人脸检测器,以确保跨不同硬件架构的兼容性。它包括用于模型导出和量化的实用程序,允许将训练好的权重转换为标准化格式,以便进行硬件无关的部署。 该项目涵盖了自定义模型训练和图像数据集处理的工作流,以调整精度和速度配置文件。它通过使用仅整数算术和基于 C 的推理运行时来支持实时计算机视觉任务,从而最大限度地减少嵌入式硬件上的开销。
Provides utilities for converting trained models into standardized, quantized formats for disk storage and loading.
CogVLM is a multimodal large language model designed for visual reasoning and multi-turn dialogue. It functions as a visual grounding model and a quantized vision model, combining text and image processing to perform complex understanding and maintain context across visual inputs. The project includes capabilities as a GUI automation agent, allowing it to analyze application screenshots, plan operational steps, and return precise screen coordinates for interface interaction. It further supports visual grounding by generating bounding box coordinates to map text descriptions to specific spatia
Provides a model implementation utilizing low-precision weight formats to minimize inference memory.
mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and Anthropic-compatible APIs. It serves as a multi-model serving platform, capable of loading several models in a single server process with per-request routing and on-demand loading and unloading. The engine supports multimodal inference, processing text alongside images, video, audio, and speech inputs, and includes a quantized model deployment runtime that reduces memory use and speeds up inference on consumer hardware. The project distinguishes itself through an agentic tool exe
Applies quantization at load time, auto-selecting level based on hardware and using prebuilt files or in-situ conversion.
YOLO-World is a vision-language framework and open-vocabulary object detection model. It identifies objects in images and video based on free-form text prompts without requiring predefined category labels. The system enables the identification of arbitrary objects by fusing image features with text embeddings. It includes a specialized tool for automated image labeling, which generates bounding box annotations for custom datasets using text-based prompts. The project provides a deployment pipeline for converting models into quantized ONNX and TFLite formats, supporting real-time inference on
Implements quantization during the model conversion process to shrink weights to 8-bit integers for edge inference.
Provides 8-bit quantization via bitsandbytes for memory-efficient inference on CUDA devices.
Gluon-CV 是一个 MXNet 计算机视觉库,提供了一系列预实现的视觉架构和训练管线。它作为一个深度学习研究工具包和模型库,包含用于图像和视频分析的最先进预训练权重。 该项目包括一个专门的人体姿态估计库和模型压缩工具包。这些工具允许对深度学习模型进行剪枝和量化,以提高推理速度并促进在受限边缘硬件上的部署。 该库涵盖了广泛的视觉功能,包括图像分类、目标检测以及语义和实例分割。它还提供视频分析工具,如动作识别、目标跟踪和单目深度估计。 训练通过自动化管线和分布式多 GPU 工作负载提供支持,以加速模型收敛。
Converts trained networks into portable and quantized formats specifically for deployment on edge devices.
Torchtune is a PyTorch-native library for fine-tuning, aligning, and quantizing large language models. It provides a config-driven system for instantiating components, orchestrating distributed training, and managing parameter-efficient fine-tuning with quantization support, all through YAML-based configurations and command-line overrides. The library distinguishes itself through its comprehensive post-training workflow orchestration, combining supervised fine-tuning, preference optimization (DPO, PPO, GRPO), knowledge distillation, and quantization-aware training in a single configurable pip
Provides tools to convert QAT-trained models into fully quantized formats for inference.
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
Provides a dedicated export step to convert QAT-fine-tuned checkpoints into fully quantized model formats.
AutoGPTQ 是一个模型压缩框架,旨在减少大语言模型的内存占用并提高推理速度。它利用 GPTQ 算法压缩模型权重,使这些模型能够在 VRAM 有限的硬件上运行。 该工具包提供了一个架构量化流水线,支持为各种神经网络架构集成自定义模型类。它包含一个带有优化内核的混合精度推理引擎,可在部署期间加速矩阵乘法。 该框架涵盖了从校准和量化到下游准确性评估的完整权重压缩工作流。这些工具通过在基准任务上比较量化模型与原始权重的输出来衡量性能损失。
Provides methods for measuring the accuracy and performance loss of quantized model weights on benchmark tasks.
CTranslate2 is a C++ inference engine and runtime for Transformer models, designed to execute models on both CPU and GPU with optimizations for speed and memory efficiency. It functions as a model format converter, quantization tool, and REST API server, enabling deployment of neural machine translation, automatic speech recognition, and text generation models. The engine distinguishes itself through a suite of runtime optimizations including layer fusion, weight-matrix quantization, batch-by-length grouping, and a caching allocator that reuses GPU memory. It supports tensor-parallel model di
Selects or changes the computation precision at load time, overriding the quantization used during conversion.
FastVideo is a comprehensive system for accelerated video generation, serving as a video generation inference engine, a video diffusion training framework, and a modular pipeline orchestrator. It provides a distributed transformer optimizer and a distillation toolkit designed to reduce denoising steps and model complexity to increase frame rates. The project distinguishes itself through specialized acceleration techniques, including joint distillation and sparse attention training. It implements low-step video generation and weight quantization to FP8 or FP4 precision to increase throughput a
Converts model weights to FP8 or FP4 precision to increase throughput and reduce memory usage.