Minimal REST server for ML experiment orchestration.
Project description
Create Job
cat <<EOF > tasks.ndjson
{"seed": 0}
{"seed": 1}
{"seed": 2}
EOF
curl -X POST --data-binary @tasks.ndjson http://localhost:13338/jobs/cartpole_sweep
From pipe:
cat tasks.ndjson | curl -X POST --data-binary @- http://localhost:13338/jobs/cartpole_sweep
Take Task
curl -X POST http://localhost:13338/jobs/cartpole_sweep/tasks
Submit Result
curl -X POST -H 'Content-Type: application/json' --data '{"reward": 495.0}' http://localhost:13338/jobs/cartpole_sweep/tasks/1
Reset In-Progress
curl -X POST http://localhost:13338/jobs/cartpole_sweep/reset
Run on Server (behind VPN)
docker run -itd --restart unless-stopped --rm --name sweep -p 10.8.0.1:13338:13338 rltools/sweep
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
deepsweep-0.0.3.tar.gz
(6.5 kB
view details)
File details
Details for the file deepsweep-0.0.3.tar.gz.
File metadata
- Download URL: deepsweep-0.0.3.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67fc15d4d984d07c6fe00730114f868a09fab23e41d1a66f1f201593881edacf
|
|
| MD5 |
56cbb1dc90a4a9d93b3c4831c06cdbf3
|
|
| BLAKE2b-256 |
3533c87c30ab197d47dd85a89b5b93dd19e0c0de70ff088e1564c1a2d2e969ed
|