A CLI tool to run steerable models on the Chapman cluster with SSH port forwarding
Project description
Chapman-Sip CLI
A pip-installable Python command-line utility to connect to the Chapman cluster (dgx0.chapman.edu), pull the steerable-model-runner repository, find an open port, launch the model server, and tunnel the port back to your local machine.
Features
- Automated Host Setup: Checks if the remote repository is cloned at
~/.steerable-modelson the cluster, cloning or pulling changes automatically. - Dynamic Port Hunting: Generates a random port and verifies it is not currently bound on the cluster before initiating.
- SSH Port Forwarding: Automatically forwards the selected remote port to
localhost:[PORT]locally. - Interactive Log Streaming: Streams stderr and stdout from the model serving script in real-time.
- Safe Shutdown: Automatically cleans up the remote process, closes the port-forwarding server, and closes SSH channels on Ctrl+C.
Installation
Install in editable mode for development or directly from the source directory:
pip install -e .
Usage
Simply run:
sip
You will be prompted for:
- SSH username
- SSH password
- Hugging Face API token (for model download)
- Hugging Face repository name (e.g., the model repository to run)
Once connected, the utility will output the endpoint URL, e.g.:
https://localhost:[PORT]/v1/
Keep the CLI running while you query the endpoint. Press Ctrl+C to terminate the model server and close the tunnel.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chapman_sip-0.1.1.tar.gz.
File metadata
- Download URL: chapman_sip-0.1.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc5cf25c3e7faf0fe9b91502c42830c6a3410c40ca460de353b4dfa7ba1f97d
|
|
| MD5 |
9cb8abf44c897a30849132e9ea35fd1a
|
|
| BLAKE2b-256 |
cd27d3dd8a0d0b5ebbe2917cac37699c5583c7a44e19a0cce096887614343cb0
|
Provenance
The following attestation bundles were made for chapman_sip-0.1.1.tar.gz:
Publisher:
publish.yml on Alignment-Faking-Chapman/sip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chapman_sip-0.1.1.tar.gz -
Subject digest:
ffc5cf25c3e7faf0fe9b91502c42830c6a3410c40ca460de353b4dfa7ba1f97d - Sigstore transparency entry: 1853912532
- Sigstore integration time:
-
Permalink:
Alignment-Faking-Chapman/sip@ba7f4f54b0eb315ce3a33c0e2961b833bf114b91 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Alignment-Faking-Chapman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba7f4f54b0eb315ce3a33c0e2961b833bf114b91 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file chapman_sip-0.1.1-py3-none-any.whl.
File metadata
- Download URL: chapman_sip-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
819b467a778bb75ac7338c0419e58a0292dfb37848921711ff67ff261449fb85
|
|
| MD5 |
80624136e6310677b5898fe99a34741d
|
|
| BLAKE2b-256 |
ed69d0366bd5b0cb3a96d75bcd3a875f1fecedeb7c347f063336877c76ebe53a
|
Provenance
The following attestation bundles were made for chapman_sip-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on Alignment-Faking-Chapman/sip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
chapman_sip-0.1.1-py3-none-any.whl -
Subject digest:
819b467a778bb75ac7338c0419e58a0292dfb37848921711ff67ff261449fb85 - Sigstore transparency entry: 1853912554
- Sigstore integration time:
-
Permalink:
Alignment-Faking-Chapman/sip@ba7f4f54b0eb315ce3a33c0e2961b833bf114b91 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Alignment-Faking-Chapman
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba7f4f54b0eb315ce3a33c0e2961b833bf114b91 -
Trigger Event:
workflow_dispatch
-
Statement type: