Skip to main content

A unified library for creating, representing, and storing speculative decoding algorithms for LLM serving such as in vLLM.

Project description

Speculators Logo

A Unified Library for Speculative Decoding Algorithms for LLMs

GitHub Release Documentation License Python Versions

Overview

Speculators is a unified library for creating, representing, and storing speculative decoding algorithms for large language model (LLM) serving, such as in vLLM. It provides a standard format and tools to facilitate the productization of decoding algorithms for inference servers.

Key Features

  • Speculative Decoding: Simplify the creation and representation of speculative decoding algorithms for LLMs.
  • Standardized Format: Ensure compatibility and ease of use with a standardized format for decoding algorithms.
  • Integration Ready: Designed to integrate seamlessly with LLM inference servers like vLLM.
  • Productization Tools: Streamline the process of deploying decoding algorithms in production environments.

Getting Started

Installation

Before installing, ensure you have the following prerequisites:

  • OS: Linux or MacOS
  • Python: 3.9 or higher

The latest Speculators release can be installed using pip:

pip install speculators

Or from source code using pip:

pip install git+https://github.com/neuralmagic/speculators.git

Quick Start

Coming soon

Resources

Documentation

Coming soon

Releases

Visit our GitHub Releases page and review the release notes to stay updated with the latest releases.

License

Speculators is licensed under the Apache License 2.0.

Cite

If you find Speculators helpful in your research or projects, please consider citing it:

@misc{speculators2025,
  title={Speculators: A Unified Library for Speculative Decoding Algorithms in LLM Serving},
  author={Red Hat},
  year={2025},
  howpublished={\url{https://github.com/neuralmagic/speculators}},
}

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

speculators-0.0.1.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

speculators-0.0.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file speculators-0.0.1.tar.gz.

File metadata

  • Download URL: speculators-0.0.1.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for speculators-0.0.1.tar.gz
Algorithm Hash digest
SHA256 949ee28a37a52560219a2bc61e1eafbf52b82003a983b8924056a3affad62fcb
MD5 580287f7aa02c485d7332d9591b131e7
BLAKE2b-256 2743f1276d09afb39bc75f2c9066a02aa344106b1446d1f848cd657e4900475b

See more details on using hashes here.

File details

Details for the file speculators-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: speculators-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.22

File hashes

Hashes for speculators-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6290e23879b611e538b0fa622f100ee75486f7e43e14f57624776377a316188
MD5 40590a9b9d636bb79f5303091e0c6883
BLAKE2b-256 fa3a51b1af516e2f668b397c32084a4bc4820b5ed1309d149dfac1994c5be423

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