Skip to main content

Unit Tests PyPI version PyPi downloads Contributions welcome

JetStream is a throughput and memory optimized engine for LLM inference on XLA devices.

About

JetStream is a throughput and memory optimized engine for LLM inference on XLA devices, starting with TPUs (and GPUs in future -- PRs welcome).

JetStream Engine Implementation

Currently, there are two reference engine implementations available -- one for Jax models and another for Pytorch models.

Jax

Pytorch

Documentation

JetStream Standalone Local Setup

Getting Started

Setup

pip install -r requirements.txt

Run local server & Testing

Use the following commands to run a server locally:

# Start a server
python -m jetstream.core.implementations.mock.server

# Test local mock server
python -m jetstream.tools.requester

# Load test local mock server
python -m jetstream.tools.load_tester

Test core modules

# Test JetStream core orchestrator
python -m unittest -v jetstream.tests.core.test_orchestrator

# Test JetStream core server library
python -m unittest -v jetstream.tests.core.test_server

# Test mock JetStream engine implementation
python -m unittest -v jetstream.tests.engine.test_mock_engine

# Test mock JetStream token utils
python -m unittest -v jetstream.tests.engine.test_token_utils
python -m unittest -v jetstream.tests.engine.test_utils

Release files for google-jetstream 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for google-jetstream 0.2.2
File Size Uploaded
google_jetstream-0.2.2.tar.gz 51.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for google-jetstream 0.2.2
File Interpreter ABI Platform
google_jetstream-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 123.7 kB

Release files / google_jetstream-0.2.2.tar.gz

Download URL google_jetstream-0.2.2.tar.gz
Size 51.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9ea3d238cbb2515cd21e2d2753453fdf505e2dc635b81cc159c08161fdad95ef
BLAKE2b-256 checksum
How to use checksums
e91088c13224cdcabdd7e6a39352f9f345ccb0381aff252bee6341fd71dcc745
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / google_jetstream-0.2.2-py3-none-any.whl

Download URL google_jetstream-0.2.2-py3-none-any.whl
Size 72.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4372f6efbc9cfb7d88127d0c42f6efa89bdb754e2a943df2638fe077900606c
BLAKE2b-256 checksum
How to use checksums
7550b7d5ccf7cb3863718dfebe6641973ffd7720a8a4ed22ae4db45b7a2c2954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page