Skip to main content

Kryo Python SDK

Python helper for Kryo checkpoint signaling.

Installation

pip install kryo

Usage

import kryo

# Setup (runs once, gets checkpointed)
model = load_model()
model.to("cuda")

kryo.checkpoint()  # Freeze here

# Inference (runs after restore)
result = model(input)

Then use the Kryo CLI:

# Create snapshot
kryo snapshot create --name mymodel -- python app.py

# Restore and run
kryo run --snapshot mymodel

Requirements

  • Linux (CRIU is Linux-only)
  • Kryo CLI installed
  • NVIDIA driver 550+ (for GPU checkpointing)

Download files

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

Source Distribution

kryo-0.2.0.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

kryo-0.2.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file kryo-0.2.0.tar.gz.

File metadata

  • Download URL: kryo-0.2.0.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kryo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fd51c2138d9f49e8fc69e992e3a07d195f6cab67f55a20fad10df34e0b3c4d1c
MD5 56d0311f9ac585e073a871837f6d58de
BLAKE2b-256 03bcc23190bc582707e201b0c85386d9e3840967da6873594034b47314da2e35

See more details on using hashes here.

Provenance

The following attestation bundles were made for kryo-0.2.0.tar.gz:

Publisher: release.yml on akhileshsharma99/kryo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kryo-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: kryo-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for kryo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e681a99f75766a282d847d4ac320e7bbe9039b1285ad1c112e4425cfaefabf34
MD5 d7f6b2ec2ade4c1bcbb1b3c928a045e5
BLAKE2b-256 45ad3208d4f54b6f975d3abff7f8a6c26aba840577e7f5926d10a920c8f9e131

See more details on using hashes here.

Provenance

The following attestation bundles were made for kryo-0.2.0-py3-none-any.whl:

Publisher: release.yml on akhileshsharma99/kryo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

This release

0.2.0 This release

2 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