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.1.0a6.tar.gz (42.0 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.1.0a6-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file speculators-0.1.0a6.tar.gz.

File metadata

  • Download URL: speculators-0.1.0a6.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for speculators-0.1.0a6.tar.gz
Algorithm Hash digest
SHA256 a5a91bd605e0a91652c339c5c1818a9620ef30ce0c712dfd9a7e3aeead72f8ea
MD5 8a4206f94d45501c6931371a83cbd4f7
BLAKE2b-256 2bdd9e826fd5706275aa87306ae0bbd5adbba424681d5c44c968551945abfe52

See more details on using hashes here.

File details

Details for the file speculators-0.1.0a6-py3-none-any.whl.

File metadata

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

File hashes

Hashes for speculators-0.1.0a6-py3-none-any.whl
Algorithm Hash digest
SHA256 5947d4e1660bb64c7c638e128253af4e48d75373e325881ed643c9c6f37de41f
MD5 fd570ddb9709ed782ab02b6dbe51cbc1
BLAKE2b-256 c4d0261bad2ab9c1bb3445911f970de5e341c308fb9cee2eafdf3272e5cc15fa

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