trd-worker
Community GPU worker for the TRD Compute Network. Plug in your idle GPU, run TRD's website-builder agents in the background, and earn credits redeemable on TRD subscriptions.
Phase 2 — alpha. Inference is currently STUBBED (workers sleep + return canned responses). Real inference ships in Phase 3 once we wire in llama.cpp / vllm.
Install
pip install git+https://github.com/TRDnetwork/trd-worker.git
Or for development (clone + editable install):
git clone https://github.com/TRDnetwork/trd-worker.git
cd trd-worker
pip install -e .
Requires Python 3.9+.
Quickstart
# 1. Sign up at https://compute.trdn.io (waitlist gates registration)
# 2. Register this machine
trd-worker login --email you@example.com
# 3. Start the worker
trd-worker start
Commands
| Command | Description |
|---|---|
trd-worker login |
Detect GPU, register with backend, save token |
trd-worker start |
Run daemon (heartbeat + poll + execute jobs) |
trd-worker status |
Show config + login state |
trd-worker logout |
Wipe local config |
trd-worker version |
Print version |
Config location
~/.trd-worker/config.json (chmod 600). Holds your worker ID, auth token, and email.
Environment overrides
TRD_CN_API— override backend URL (for local backend testing)
Earning rates (rounded)
| GPU | cr/hr |
|---|---|
| H100 80GB | 500 |
| A100 80GB | 300 |
| A100 40GB | 220 |
| RTX 4090 24GB | 150 |
| RTX 3090 24GB | 100 |
| AMD MI250 / 7900 XTX | 120 |
| Apple M3 Max/Ultra | 80 |
| Apple M2/M3 Pro | 50 |
1 credit ≈ $0.008 (pegged to AWS-equivalent compute, updated monthly).
License
MIT
Metadata
Release files for trd-worker 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trd_worker-0.3.1.tar.gz | 28.3 kB | Without provenance | Details for trd_worker-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trd_worker-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for trd_worker-0.3.1-py3-none-any.whl |
Total release size: 60.4 kB
Release files / trd_worker-0.3.1.tar.gz
| Download URL | trd_worker-0.3.1.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e40bdc9f8b265f80043b13f52f0ec9048336a323e1e967c01a9802cb5c806c34
|
|
BLAKE2b-256 checksum How to use checksums |
f43b69ec7a1df2dcab1d172e0f2544eabee11577bc5fa952ae41a2179877958d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / trd_worker-0.3.1-py3-none-any.whl
| Download URL | trd_worker-0.3.1-py3-none-any.whl |
|---|---|
| Size | 32.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
afb3187e6ca3e6c8b3b5a164a5950c8e8fdb32d049c731dcbc1f936fcff83773
|
|
BLAKE2b-256 checksum How to use checksums |
b9c32eb6c0f4f8d016faad350b8fe15079f2c67d57870d24e88078f1e5ac485e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for trd-worker 0.3.1
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.