Skip to main content

Model Compression & Acceleration Module for sageLLM

Project description

sagellm-compression

Protocol Compliance (Mandatory)

CI PyPI version Python 3.10+ codecov

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isagellm_compression-0.1.1.7.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isagellm_compression-0.1.1.7-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file isagellm_compression-0.1.1.7.tar.gz.

File metadata

  • Download URL: isagellm_compression-0.1.1.7.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

Hashes for isagellm_compression-0.1.1.7.tar.gz
Algorithm Hash digest
SHA256 bc0f3774bb6333f91af0d7b707e0ca89269601c5ce414555d64d783bfdfa851c
MD5 fa55d038955ba1303a66229be9037631
BLAKE2b-256 419b66e7935ab4b74b3e77dbc6183ddc957b9f8aae8932c5db273978b47617bc

See more details on using hashes here.

File details

Details for the file isagellm_compression-0.1.1.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for isagellm_compression-0.1.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 157bc893e96bbd0d49f0730196153432fc0a9be8ab11824ade38f85e06bc98cf
MD5 6d24f19dcd34b3db18cbd8b4fd37c16c
BLAKE2b-256 44b150d9bf0a3aeef54438d6225026b60dd5afa6813d7560fbd1656055a0f96b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page