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.2.tar.gz
(3.9 kB
view details)
File details
Details for the file deepsweep-0.0.2.tar.gz.
File metadata
- Download URL: deepsweep-0.0.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e7f768866a94d100608c62205e03f5b236f7e53b2e28b47f84a610023c2120b
|
|
| MD5 |
31613c30c30cff85d3094423fdd38546
|
|
| BLAKE2b-256 |
45c7e04096ab7a31d5c95ced7827f98d723feeb79753a96a17a06c63a8f9e356
|