AutoGPTQ/AutoGPTQ
An easy-to-use LLMs quantization package with user-friendly apis, based on GPTQ algorithm.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#3 Repository Của Tháng
#5 Repository Của Tháng
#6 Repository Của Tháng
🚨 AutoGPTP dừng bảo trì — chuyển sang GPTQModel
AutoGPTQ không còn được bảo trì. Đội phát triển khuyến nghị dùng GPTQModel thay thế.
AutoGPTQ là gói thư viện Python hỗ trợ đưa hoá trọng lượng (weight-only quantization) cho các mô hình ngôn ngữ lớn (LLMs), dựa trên thuật toán GPTQ. Nó cung cấp API thân thiện để đưa hoá và chạy suy diễn các mô hình như LLaMA, GPT-J, Moss-Moon một cách hiệu quả.
✨ Điểm nổi bật
- Đưa hoá GPTQ: Áp dụng thuật toán GPTQ để nén trọng lượng mô hình xuống int4, giảm kích thước bộ nhớ.
- Tốc độ suy diễn nhanh: Hỗ trợ kernel Marlin int4*fp16, tăng tốc lên tới 25.53 tokens/s so với 18.87 tokens/s ở chế độ fp16 trên LLaMA-7B.
- Tích hợp sẵn với Transformers: Hỗ trợ từ 🤗 Transformers, Optimum và PEFT, dễ dàng sử dụng trong pipeline TextGeneration.
- Hỗ trợ đa nền tảng: Chạy trên Linux và Windows, hỗ trợ CUDA 11.8, 12.1 và ROCm 5.7.
- Cài đặt linh hoạt: Cài qua pip với wheels tích hợp sẵn hoặc build từ nguồn với CUDA extension.
- Kernel tối ưu cho AMD ROCm: Hỗ trợ biên dịch với biến môi trường
ROCM_VERSIONvàPYTORCH_ROCM_ARCH.
💡 Vì sao đáng chú ý
AutoGPTP nổi bật bằng khả năng kết hợp giữa hiệu suất cao và độ chính xác được duy trì nhờ đưa hoá GPTQ. So với các phương pháp đưa hoá khác như bitsandbytes, GPTQ giữ lại chất lượng mô hình tốt hơn ở cùng mức độ nén. Ngoài ra, sự tích hợp sâu với Transformers giúp giảm đáng kể rào cản sử dụng cho người mới.
#AutoGPTQ #GPTQ #LLM #Quantization #MachineLearning #TiniX
Similar Projects
Discover other similar projects and AI models.
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
🧑🏫 60+ Implementations/tutorials of deep learning papers with side-by-side notes 📝; including transformers (original, xl, switch, feedback, vit, ...), optimizers (adam, adabelief, sophia, ...), gans(cyclegan, stylegan2, ...), 🎮 reinforcement learning (ppo, dqn), capsnet, distillation, ... 🧠
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
A high-throughput and memory-efficient inference and serving engine for LLMs
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
中文LLaMA&Alpaca大语言模型+本地CPU/GPU训练部署 (Chinese LLaMA & Alpaca LLMs)