1. Install
Shell
pip install resontechPython 3.11+. Your machine needs only httpx and boto3; PyTorch runs on the workers.
2. Get your keys
3. Connect and check
setup.py
from resontech import ResonTech, ResonTechConfig
sdk = ResonTech(ResonTechConfig(
base_url="https://api.beta.reson.tech",
s3_endpoint="https://s3.beta.reson.tech",
platform_api_key="rsk_live_...", # or set RESON_API_KEY
s3_access_key_id="...",
s3_secret_access_key="...",
))
print(sdk.worker_stats()) # lists workers: you're connectedThere is no login(): each request carries the platform key as a bearer token. A bad, revoked or expired key raises ResonAuthError. Every config field: SDK client config.
If something’s off
Next
- Submit training via SDK
- Submit inference via SDK
- A runnable starting point: job_training_sdk (a small CNN on MNIST)