Skip to main content

hugpy-fleet

Hugpy Fleet is the terminal and headless client for Hugpy Core. It discovers a Core endpoint and uses it to inspect workers, browse models and operate worker-specific controls.

Installation

Use Python 3.11 or later and a reachable Hugpy Core service.

python -m pip install hugpy-fleet

Quick start

Inspect the selected endpoint. This reads local configuration and returns a JSON object containing the role and URL.

hugpy-fleet endpoint

Open Compute directly, or read the same worker and model data as JSON. Replace NAME with a worker name from hugpy-fleet workers. An explicit --base selects Core for one invocation.

hugpy-fleet compute --tui
hugpy-fleet compute --base http://127.0.0.1:7002
hugpy-fleet compute --worker NAME --query gguf

Compute reads the worker feed and serving catalog used by the web console. Connected workers appear as tabs. Saved connections include disconnected workers. Each model variation has its own identity, routing state and load state. Set HUGPY_FLEET_API_KEY when a remote Core requires a bearer key. Web Compute panel

Worker GPU usage, memory and model placement in the web Compute panel

Worker controls

Use the full model_key returned by Compute, including the variation after ::. The following commands inspect placement options, the worker’s storage configuration and its test-fire history.

hugpy-fleet compute options --worker NAME --model 'org/model::variation'
hugpy-fleet compute settings --worker NAME --component storage
hugpy-fleet compute test-history --worker NAME

compute assign gives a worker a routing allocation. compute pin protects that allocation. compute load and compute unload change residency on the worker. For example, hugpy-fleet compute assign --worker NAME --model 'org/model::variation' adds one allocation. Use compute --help for block, wildcard, static residency, context and test-fire operations. A context edit that returns pending: true is queued for the worker.

hugpy-fleet tui opens the terminal workspace. Enter /compute there to inspect GPUs, RAM, swap, CPU, storage, activity and models. hugpy-fleet chat opens chat, and hugpy-fleet sessions and hugpy-fleet serve use the shared named-session runtime. Fleet journals default to .hugpy_fleet/chat.

Python client

from hugpy_fleet import Fleet

fleet = Fleet()
print(fleet.workers())

For direct control of one Wrapper, use hugpy-harness.

Metadata

Release files for hugpy-fleet 0.2.17

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

Source distribution (sdist)

Source distribution for hugpy-fleet 0.2.17
File Size Uploaded Provenance Actions
hugpy_fleet-0.2.17.tar.gz 4.0 kB Without provenance Details for hugpy_fleet-0.2.17.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hugpy-fleet 0.2.17
File Interpreter ABI Platform Actions
hugpy_fleet-0.2.17-py3-none-any.whl Python 3 none any Details for hugpy_fleet-0.2.17-py3-none-any.whl

Total release size: 8.7 kB

Release files / hugpy_fleet-0.2.17.tar.gz

Download URL hugpy_fleet-0.2.17.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dc565dbd1f5acdc9443754f7c403a6023ae3bc5e6eafa2f4820652ad67115f7e
BLAKE2b-256 checksum
How to use checksums
24cadbf289260908bc6a4e184b7f36e4741e39c55a7c0bb20d7443145ed9fde0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / hugpy_fleet-0.2.17-py3-none-any.whl

Download URL hugpy_fleet-0.2.17-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33e39bc0ea6233394d3a3738c5c506c2c2c19d491e711624449f2608fe9db009
BLAKE2b-256 checksum
How to use checksums
2155d462059fab6f534f22d3820ab44b2a7505e202a751c0a72f58b79ee7ed85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for hugpy-fleet 0.2.17

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