Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Keys & Caches

Keys & Caches Banner

Welcome to Keys & Caches — the fastest way to run PyTorch models on cloud GPUs with automatic profiling and performance insights.


📚 Documentation Overview

This documentation will help you get started with Keys & Caches and make the most of its powerful features for GPU-accelerated machine learning.


What is Keys & Caches?

Keys & Caches is a command-line tool that makes it effortless to run PyTorch models on high-performance cloud GPUs. With just one command, you can:

  • 🚀 Submit jobs to cloud GPUs — Access A100, H100, and L4 GPUs instantly
  • 📊 Get automatic profiling — Detailed performance traces for every model forward pass
  • 🔍 Debug performance bottlenecks — Chrome trace format for visual analysis
  • ⚡ Stream real-time logs — Watch your training progress live
  • 💰 Pay only for what you use — No idle time charges

Key Features

🎯 One-Command Deployment

cd examples
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

# Run any PyTorch script on cloud GPUs
kandc run python basic_models/simple_cnn.py

# Or capture locally with profiling
kandc capture python basic_models/simple_cnn.py

📈 Automatic Model Profiling

from kandc import capture_model_class

@capture_model_class(model_name="MyModel")
class MyModel(nn.Module):
    # Your model automatically gets profiled!

🎓 Students & Educators

  • Email us at founders@herdora.com for free credits!
  • Access high-end GPUs for coursework and research
  • Learn about model optimization with built-in profiling tools
  • Focus on ML concepts, not DevOps complexity

🚀 Startups & Small Teams

  • Get enterprise-grade GPU access without upfront costs
  • Scale compute resources based on actual needs
  • Streamline ML workflows from development to production

Ready to Get Started?

👉 Jump to the Getting Started Guide to install Keys & Caches and run your first GPU job in under 5 minutes!

📦 Publishing to PyPI

🚀 Publish Stable Release (kandc)

  1. Bump the version in pyproject.toml (e.g., 0.0.4).

  2. Run the following commands:

    rm -rf dist build *.egg-info
    python -m pip install --upgrade build twine
    python -m build
    export TWINE_USERNAME=__token__
    twine upload dist/*
    

🧪 Publish Dev Release (kandc-dev)

  1. Bump the dev version in pyproject.dev.toml (e.g., 0.0.4.dev1).

  2. Run the following commands:

    rm -rf dist build *.egg-info
    cp pyproject.dev.toml pyproject.toml
    python -m pip install --upgrade build twine
    python -m build
    export TWINE_USERNAME=__token__
    twine upload dist/*
    git checkout -- pyproject.toml   # Restore the original pyproject.toml after publishing (undo the cp above)
    

Metadata

Release files for kandc-dev 0.0.12.dev0

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

Source distribution (sdist)

Source distribution for kandc-dev 0.0.12.dev0
File Size Uploaded Provenance Actions
kandc_dev-0.0.12.dev0.tar.gz 39.0 kB Without provenance Details for kandc_dev-0.0.12.dev0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kandc-dev 0.0.12.dev0
File Interpreter ABI Platform Actions
kandc_dev-0.0.12.dev0-py3-none-any.whl Python 3 none any Details for kandc_dev-0.0.12.dev0-py3-none-any.whl

Total release size: 78.3 kB

Release files / kandc_dev-0.0.12.dev0.tar.gz

Download URL kandc_dev-0.0.12.dev0.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b26843f8a735c6598de9e650502e52159b0457f9be6cfce6e5882704b513747
BLAKE2b-256 checksum
How to use checksums
26195b3d7f2bd2176291e0e3aca962180098b61f6dbe7e3babb7992b00a4b77c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / kandc_dev-0.0.12.dev0-py3-none-any.whl

Download URL kandc_dev-0.0.12.dev0-py3-none-any.whl
Size 39.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0ac872201a73b25b7cf1ce16b156010a978e6ce599b08edbfe7b641fc6f27ab
BLAKE2b-256 checksum
How to use checksums
c8685e2fad91eb677561f1ee57f25bd405d5d32705d802f440f1a00dac6b9260
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Security for kandc-dev 0.0.12.dev0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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