Skip to main content

Transparent remote GPU execution. Run `python train.py` on cloud GPUs.

Project description

specter-host

Remote GPUs, locally. Run python train.py on cloud GPUs as if they were local.

Install

# Recommended (isolated install)
pipx install specter-host

# Or with pip
pip install specter-host

Quick Start

# Create and activate a virtual environment
python -m venv .venv && source .venv/bin/activate

# Authenticate via browser
specter login

# Provision a GPU — patches your active venv
specter install h100

# Run Python as usual — it transparently executes on the remote GPU
python train.py

# pip install works locally AND syncs to the remote automatically
pip install transformers

# When done, tear down the pod and restore your venv
specter uninstall

How It Works

  1. specter install h100 provisions a cloud GPU pod via the Specter broker
  2. Your active venv is patched — bin/python becomes a transparent proxy
    • The original binary is backed up as python.specter-original
    • pip, pytest, and other entry points continue to run locally
  3. When you run python train.py, Specter:
    • Rsyncs your workspace to the remote machine
    • Executes the command via SSH
    • Streams stdout/stderr back in real-time
    • Returns the remote exit code
  4. Dependencies stay in sync automatically:
    • At install time: pip freeze → remote pip install
    • After every pip install: auto-synced to the remote pod
  5. specter uninstall restores your venv to its original state

License

MIT

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

specter_host-0.2.1.tar.gz (86.9 kB view details)

Uploaded Source

Built Distribution

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

specter_host-0.2.1-py3-none-any.whl (40.2 kB view details)

Uploaded Python 3

File details

Details for the file specter_host-0.2.1.tar.gz.

File metadata

  • Download URL: specter_host-0.2.1.tar.gz
  • Upload date:
  • Size: 86.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for specter_host-0.2.1.tar.gz
Algorithm Hash digest
SHA256 42e76f9782da57ede8fb1387e0d1c571ce668f378cfd71493fc50b40a31e5c69
MD5 d8f89aaf2fc9a5d5feb00d53830d1693
BLAKE2b-256 352d00e85f976dd401cf1d9866a29c33c3c5f2e8c69f74673cee9e874ec741b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for specter_host-0.2.1.tar.gz:

Publisher: publish.yml on specter-host/specter-cli

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

File details

Details for the file specter_host-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: specter_host-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 40.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for specter_host-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9008dac692bfb274ea1ce9f4688daf44156854eb66fa0b6f705a32d9a505b897
MD5 2089f6b017ced5d12429d72c611bdcb4
BLAKE2b-256 8cd5c5ef6db33f6c432d945c3b894ed5d0227d469b1ac4525b49d8e065d108d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for specter_host-0.2.1-py3-none-any.whl:

Publisher: publish.yml on specter-host/specter-cli

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

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