Hugpy Core: the coordinator of the wrappers of many hosts
Actively maintained. Last release 2 days ago. A safe choice.
pip install hugpy-corehugpy-core
Hugpy Core connects workers into a fleet. Clients send an inference request to one address. Core finds a Wrapper offering the requested model, relays the request and streams its answer. Operators use the web console to inspect workers, models, calls and grading results.
Installation
Use a Python 3.11 or later environment on the coordinating host. A local GPU is optional. Core stores fleet state in SQLite.
python -m pip install 'hugpy-core>=0.5,<0.6'
Quick start
Start Core in one terminal.
hugpy-core serve
Open http://127.0.0.1:7002/console. If this host also has a system-installed Wrapper, run the following in another terminal.
hugpy-core connect local
hugpy-core wrappers
hugpy-core models
For a remote worker, use hugpy-core connect URL --key KEY with the Wrapper address and its key. A worker behind a router can initiate the connection with hugpy-wrapper system register --core URL --core-key KEY --link.
Compute
hugpy-core compute shows connected workers, their memory and their serving model variations. Select a worker by name to inspect its routing, residency and hardware. Add --json to include the complete worker report and per-model measurements. The same controls are available in the web Compute panel.
hugpy-core compute
hugpy-core compute --worker NAME --query gguf --json
hugpy-core compute options --worker NAME --model 'org/model::variation'
hugpy-core compute test-history --worker NAME
Use a full model_key from the worker report for model operations. compute assign adds a routing allocation, compute pin protects it, and compute load asks the worker to load the variation. hugpy-core compute --help lists the available controls and options.
Inference and discovery
GET /v1/models lists models across connected workers. Model entries describe supported endpoints. Send the request to the advertised path, such as POST /v1/chat/completions. The responding worker owns queueing, memory placement and execution. GET /v1/requests/{request_id} reports progress, and GET /v1/artifacts/{id} retrieves files produced by a call.
GET /api/schema describes Core routes and inspects standalone services registered under . Use it to discover the routes available on a particular installation.
