An innovative library for efficient LLM inference via low-bit quantization

nf4 开源项目推荐(28 个)
nf4 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 28 个仓库Train LoRAs for Qwen-Image 2.1, FLUX.2 Klein 9B, FLUX.3 Image Klein, Krea 2, Z-Image, MOSS-Image, ERNIE-Image, Ideogram 4, Anima, SDXL (Pony, Illustrious, NoobAI), LTX 2.3, MiniMax-H3, and more on NVIDIA GPUs from 4–8 GB VRAM. One install, one launcher, NF4 models. Windows, Linux and RunPod.
Nodes to run Hunyuan Image 3 locally with BF16 and NF4 quantized options in Comfyui
This repository wraps the flux fill model as ComfyUI nodes. Compared to the flux fill dev model, these nodes can use the flux fill model to perform inpainting and outpainting work under lower VRM conditions
Turn a text prompt into a 1024×1024 image in 6 steps, locally with Qwen-Image-2.1, the P-Q-Image-2.1 LoRA and model-compose.
An optimized, high-performance NF4 (NormalFloat 4-bit) dequantization Triton GPU kernel achieving up to 1.41x speedup over bitsandbytes.
Fine-tune and serve large Mixture-of-Experts models on one GPU, with 4-bit experts in GPU memory, RAM or SSD.
Pure Gleam tensor library with quantization (INT8, NF4, AWQ), Flash Attention, and 2:4 Sparsity - 7.5x memory multiplication
This project implements a classic Retrieval-Augmented Generation (RAG) system using HuggingFace models with quantization techniques. The system processes PDF documents, extracts their content, and enables interactive question-answering through a Streamlit web application.
Train a Qwen-Image-2.1 LoRA on a 12 GB GPU and 32 GB of RAM — NF4 weights kept in VRAM, no CPU offload, 500 steps in 12 minutes. Unofficial — not affiliated with Alibaba or Tongyi.
Run large language models on small machines by streaming one transformer layer at a time.
This project presents a medical question–answering language model built by fine-tuning Google Gemma-2-2B-IT using LoRA (Low-Rank Adaptation) 🧠⚕️. The primary objective is to adapt a general-purpose large language model to the healthcare domain in a parameter-efficient, reproducible, and resource-aware manner.
Inference stack that keeps LLM weights packed in NF4 for the whole run. Not a new codebook: QLoRA-family NF4, packed once into CHR0. On the GPU each GEMM reconstructs a tile in registers and discards it, a dense layer is never resident. Overflow: two copy slots plus a pinned host tail. Measured on RTX 3080 12 GB.
100% Native Pure Safe Rust (Edition 2024, #![forbid(unsafe_code)], 0 Crates, Zero-Python) Layer-Wise & Per-Expert 4GB-GPU LLM Engine (70B-2.8T), NF4/INT8/MXFP4, PLE N-Gram File-Seek, Streamed LoRA + Chunked CE, 12-Tool MCP & AAA 2-Click Dream/REA/RSI Cockpit
4-bit GPU kernels that compute directly on packed Mixture-of-Experts weights, for training and inference.
A hands-on, runnable tour of LLM quantization: compress GPT-2 to 4-bit while tracking memory and quality, ending with QLoRA's NF4 and double quantization.
Reproducible LLM inference benchmarking, GPU profiling, quantization and quality evaluation on consumer hardware.
From-scratch NF4, double quantization, LoRA and explicitly paged AdamW with measured storage
Fine-tuned TinyLlama-1.1B on GSM8K using QLoRA (NF4 4-bit) for step-by-step math word problem solving, with a FastAPI inference endpoint.
Ideogram 4 本地 CUDA 图像生成器:内置 NF4 权重、官方 Magic Prompt 提示词优化、Windows/Linux 便携包 / Local open-weight text-to-image generator
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/nf4。
- 该话题在 GitHub 上共有 28 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 668 Star,覆盖 6 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。