Skip to main content

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


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.1.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file deepsweep-0.0.1.tar.gz.

File metadata

  • Download URL: deepsweep-0.0.1.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

Hashes for deepsweep-0.0.1.tar.gz
Algorithm Hash digest
SHA256 734d45d2f8687dd14e1d458e3c608a0ab8f7a475f4edf62c81a8347c69feabad
MD5 0b8605dfd37a50b4547115adf52d916d
BLAKE2b-256 4dc6f63eb4ef56a86b49b60c6abb489ec68d8b8766cfdd1f562b0e8d5704d88f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page