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.0a7.tar.gz (42.6 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.0a7-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: speculators-0.1.0a7.tar.gz
  • Upload date:
  • Size: 42.6 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.0a7.tar.gz
Algorithm Hash digest
SHA256 3cb98c28731a18e2405e56dcabfa444eb0cd65969831d495ec65e02a0bf35ca7
MD5 a1bb585874c7950e50062a9d71e8b350
BLAKE2b-256 47bec9eef7ff99213fc41036350c7f5d82f363d177161af6da2ac981ab8eade8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: speculators-0.1.0a7-py3-none-any.whl
  • Upload date:
  • Size: 34.0 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.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 8f3dd38883b71e20c8ae319d1d2271b785835251446fd94013a8d781f39906b9
MD5 b4baa94338e1660eb20b900560a026bb
BLAKE2b-256 a9374be07e677d75c42641a1a0b8900307638c5c7733e422a2f39543bbae1aeb

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