Model Compression & Acceleration Module for sageLLM
Project description
sagellm-compression
Protocol Compliance (Mandatory)
- MUST follow Protocol v0.1: https://github.com/intellistream/sagellm-docs/blob/main/docs/specs/protocol_v0.1.md
- Any globally shared definitions (fields, error codes, metrics, IDs, schemas) MUST be added to Protocol first.
Inference acceleration tools for LLM: quantization, sparsity, speculative decoding, kernel fusion, and more.
Features
- Quantization (INT8/INT4)
- Sparsity (structured and unstructured pruning)
- Speculative decoding
- Kernel fusion
- Chain-of-Thought acceleration
Installation
pip install isagellm-compression
Quick Start
from sagellm_compression import QuantizationConfig, apply_quantization
config = QuantizationConfig(method="int8", per_channel=True)
quantized_model = apply_quantization(model, config)
Development
git clone git@github.com:intellistream/sagellm-compression.git
cd sagellm-compression
./quickstart.sh
pip install -e ".[dev]"
pytest tests/ -v
Documentation
License
Private - IntelliStream Research Project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isagellm_compression-0.1.1.5.tar.gz.
File metadata
- Download URL: isagellm_compression-0.1.1.5.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e08520c6dc5f1ef042041c6e7768f80c6569986624b32892079fe7fb76266696
|
|
| MD5 |
613cd4add3a22d66a2582ff5f452fedd
|
|
| BLAKE2b-256 |
59cc2905c5d14c68e1a24765cb658e5da9213d69c1a7d30daa7f49ca715f4350
|
File details
Details for the file isagellm_compression-0.1.1.5-py2.py3-none-any.whl.
File metadata
- Download URL: isagellm_compression-0.1.1.5-py2.py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
902f1b7943c2ebd09810a28a199ab740fe6abc0580b87f8077d710fb96f8cbcd
|
|
| MD5 |
4172477373168aa6556d60953a184553
|
|
| BLAKE2b-256 |
0118325a83d1301555fca7d8650f185aa95e6a4497f4bf1368d3d12c159758fa
|