Skip to main content

studio-workers

Native (no-Docker) workers for SelfHostHub Studio. Run any Studio worker engine directly on the host, pointed at your Studio API. This is the supported path for GPU work on Apple Silicon, where Docker cannot reach the Mac GPU, and for installing workers on demand inside a single GPU pod.

Install

Pick the extra for the engine you want to run:

pip install "studio-workers[audio]"    # TTS (Chatterbox, torch)
pip install "studio-workers[video]"    # transcription and video (whisper)
pip install "studio-workers[comfyui]"  # ComfyUI bridge
pip install "studio-workers"           # general + transfer (CPU only)

The [audio] extra currently requires Python 3.12: its Chatterbox dependency chain does not yet resolve on 3.13 (the install fails with an llvmlite build error). The other extras run on 3.12+.

[video] prerequisite: ffmpeg with libass

The video engine shells out to ffmpeg and burns subtitles with the libass ass filter. Any ffmpeg build that has the filter works; check yours:

ffmpeg -filters | grep ass

If nothing prints, install a build that includes libass. On macOS the core Homebrew formula no longer includes it; use the homebrew-ffmpeg tap:

brew trust homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg

studio-workers doctor --engine video verifies both ffmpeg and the filter.

Version pinning

Install the studio-workers version that matches your Studio release; the release notes name it. The API checks the worker version at registration and refuses a mismatch.

Check the install

studio-workers doctor --engine audio

doctor fails loudly when a GPU host would silently run on CPU: it asserts torch sees MPS on Apple Silicon and CUDA when an NVIDIA driver is present.

Run

SHS_API_BASE_URL=https://your-studio-api \
SHS_PUBLIC_BASE_URL=https://your-studio \
SHS_WORKER_SHARED_SECRET=... \
SHS_WORKSPACE_ROOT=/path/to/workspace \
studio-workers run --type audio

(python -m studio_workers.worker with SHS_WORKER_TYPE set still works; run is the same loop.)

A worker outside the Studio deployment that starts with the shared secret waits for a super admin to approve it under Infrastructure -> Workers. Once approved it saves its own credential under .studio-worker/ in SHS_WORKSPACE_ROOT and uses it from then on. To skip the wait, ask the admin for a join token and run studio-workers enroll --join-token <token> first, then start with SHS_WORKER_CREDENTIAL instead of the shared secret.

The worker polls the API for jobs over HTTP; no inbound port is required. See your Studio instance's worker access documentation for the sanctioned connection paths.

Third-party software

Installing an engine extra pulls third-party packages (torch, Chatterbox TTS, whisper, ComfyUI dependencies) from their own upstreams under their own licenses; model weights download on first run.

Metadata

Release files for studio-workers 1.11.2

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

Source distribution (sdist)

Source distribution for studio-workers 1.11.2
File Size Uploaded Provenance Actions
studio_workers-1.11.2.tar.gz 19.2 MB With provenance Details for studio_workers-1.11.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for studio-workers 1.11.2
File Interpreter ABI Platform Actions
studio_workers-1.11.2-py3-none-any.whl Python 3 none any Details for studio_workers-1.11.2-py3-none-any.whl

Total release size: 38.5 MB

Release files / studio_workers-1.11.2.tar.gz

Download URL studio_workers-1.11.2.tar.gz
Size 19.2 MB
Tags Source
SHA-256 checksum
How to use checksums
74fc7e7e6267af7683f2dded668683eca10b545158254a623d498fb2255b7fe2
BLAKE2b-256 checksum
How to use checksums
bbee2c40176c86db88fb150b6c5b1e74fd4bc00f1625ef7fdd868b272a893a46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / studio_workers-1.11.2-py3-none-any.whl

Download URL studio_workers-1.11.2-py3-none-any.whl
Size 19.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
6dfd1abfc29b568d1f25cb769cbd32a9c7fe3bc8398c90421be59d191fb269d4
BLAKE2b-256 checksum
How to use checksums
ddf7b474104e3c967746b0fc6ae04b8f6f29b1d22087e47f1ac4739d5365755c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for studio-workers 1.11.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for studio_workers-1.11.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

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