Studio workflow job workers
Project description
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+.
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.)
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.
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 studio_workers-1.5.0.tar.gz.
File metadata
- Download URL: studio_workers-1.5.0.tar.gz
- Upload date:
- Size: 19.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94c9115ec8deda5147a8e3894197642484e329d152fff6672b02adf506f53ee6
|
|
| MD5 |
c5a0ed2d1251c8351c23ba70f9adb721
|
|
| BLAKE2b-256 |
8a7725c04ab19b4fb827de57bdb90068826dcedd1f2365f636a950748345e813
|
Provenance
The following attestation bundles were made for studio_workers-1.5.0.tar.gz:
Publisher:
publish-workers-pypi.yml on selfhosthub/studio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
studio_workers-1.5.0.tar.gz -
Subject digest:
94c9115ec8deda5147a8e3894197642484e329d152fff6672b02adf506f53ee6 - Sigstore transparency entry: 2298516849
- Sigstore integration time:
-
Permalink:
selfhosthub/studio@7a42c2f54778e94016eee1157c80e0bab70b35e6 -
Branch / Tag:
refs/tags/v1.2.9 - Owner: https://github.com/selfhosthub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-workers-pypi.yml@7a42c2f54778e94016eee1157c80e0bab70b35e6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file studio_workers-1.5.0-py3-none-any.whl.
File metadata
- Download URL: studio_workers-1.5.0-py3-none-any.whl
- Upload date:
- Size: 19.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
052b56df69596f0be8a72acef8273e18bc94d349eb026ad0a15c4a829faa19d7
|
|
| MD5 |
d6839a30d898383f9c53e22cf8443850
|
|
| BLAKE2b-256 |
219a7609f5616058b54d297857d0df13af41d79c43ce7c10eea53f3bd9f6aeb3
|
Provenance
The following attestation bundles were made for studio_workers-1.5.0-py3-none-any.whl:
Publisher:
publish-workers-pypi.yml on selfhosthub/studio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
studio_workers-1.5.0-py3-none-any.whl -
Subject digest:
052b56df69596f0be8a72acef8273e18bc94d349eb026ad0a15c4a829faa19d7 - Sigstore transparency entry: 2298516872
- Sigstore integration time:
-
Permalink:
selfhosthub/studio@7a42c2f54778e94016eee1157c80e0bab70b35e6 -
Branch / Tag:
refs/tags/v1.2.9 - Owner: https://github.com/selfhosthub
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-workers-pypi.yml@7a42c2f54778e94016eee1157c80e0bab70b35e6 -
Trigger Event:
push
-
Statement type: