Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docker and cloud integration #22

Merged
merged 13 commits into from
Nov 8, 2021
Merged

Add docker and cloud integration #22

merged 13 commits into from
Nov 8, 2021

Conversation

vwxyzjn
Copy link
Collaborator

@vwxyzjn vwxyzjn commented Nov 3, 2021

This PR adds the docker integration. Now you can do

poetry run python -m cleanrl_utils.submit_exp \
    --docker-tag vwxyzjn/gym-microrts-n:latest \
    --command "cd experiments; poetry run python ppo_gridnet.py --prod-mode" \
    --build --push

poetry run python -m cleanrl_utils.submit_exp \
    --docker-tag vwxyzjn/gym-microrts-n:latest \
    --command "cd experiments; poetry run python ppo_gridnet.py --prod-mode" \
    --job-queue g4dn-xlarge \
    --num-seed 1 \
    --num-vcpu 3 \
    --num-gpu 1 \
    --num-memory 15000 \
    --num-hours 48.0 \
    --provider aws


poetry run python -m cleanrl_utils.submit_exp \
    --docker-tag vwxyzjn/gym-microrts-n:latest \
    --command "cd experiments; poetry run python ppo_gridnet.py --prod-mode" \
    --job-queue g4dn-xlarge-spot \
    --num-seed 1 \
    --num-vcpu 3 \
    --num-gpu 1 \
    --num-memory 15000 \
    --num-hours 48.0 \
    --provider aws

See https://docs.cleanrl.dev/cloud/submit-experiments/ for docs

This PR results in the following report: https://wandb.ai/costa-huang/gym-microrts/reports/Shaped-Return-vs-Trueskill--VmlldzoxMTk3MzU2

@vwxyzjn vwxyzjn merged commit aca2e4c into master Nov 8, 2021
@vwxyzjn vwxyzjn deleted the docker branch November 8, 2021 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant