-
Notifications
You must be signed in to change notification settings - Fork 639
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
100 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
poetry install -E "mujoco_py" | ||
python -c "import mujoco_py" | ||
xvfb-run -a python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v2 Walker2d-v2 Hopper-v2 InvertedPendulum-v2 Humanoid-v2 Pusher-v2 \ | ||
--command "poetry run python cleanrl/ddpg_continuous_action.py --track --capture_video" \ | ||
poetry install -E "mujoco" | ||
python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--command "poetry run python cleanrl/ddpg_continuous_action.py --track" \ | ||
--num-seeds 3 \ | ||
--workers 1 | ||
--workers 18 \ | ||
--slurm-gpus-per-task 1 \ | ||
--slurm-ntasks 1 \ | ||
--slurm-total-cpus 10 \ | ||
--slurm-template-path benchmark/cleanrl_1gpu.slurm_template | ||
|
||
poetry install -E "mujoco_py jax" | ||
poetry run pip install --upgrade "jax[cuda]==0.3.17" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
poetry run python -c "import mujoco_py" | ||
xvfb-run -a poetry run python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v2 Walker2d-v2 Hopper-v2 \ | ||
--command "poetry run python cleanrl/ddpg_continuous_action_jax.py --track --capture_video" \ | ||
poetry install -E "mujoco jax" | ||
poetry run pip install --upgrade "jax[cuda11_cudnn82]==0.4.8" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
poetry run python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--command "poetry run python cleanrl/ddpg_continuous_action_jax.py --track" \ | ||
--num-seeds 3 \ | ||
--workers 1 | ||
--workers 18 \ | ||
--slurm-gpus-per-task 1 \ | ||
--slurm-ntasks 1 \ | ||
--slurm-total-cpus 10 \ | ||
--slurm-template-path benchmark/cleanrl_1gpu.slurm_template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
python -m openrlbenchmark.rlops \ | ||
--filters '?we=openrlbenchmark&wpn=cleanrl&ceik=env_id&cen=exp_name&metric=charts/episodic_return' \ | ||
'ddpg_continuous_action?tag=pr-424' \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--no-check-empty-runs \ | ||
--pc.ncols 3 \ | ||
--pc.ncols-legend 2 \ | ||
--output-filename benchmark/cleanrl/ddpg \ | ||
--scan-history | ||
|
||
python -m openrlbenchmark.rlops \ | ||
--filters '?we=openrlbenchmark&wpn=cleanrl&ceik=env_id&cen=exp_name&metric=charts/episodic_return' \ | ||
'ddpg_continuous_action?tag=pr-424' \ | ||
'ddpg_continuous_action_jax?tag=pr-424' \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--no-check-empty-runs \ | ||
--pc.ncols 3 \ | ||
--pc.ncols-legend 2 \ | ||
--output-filename benchmark/cleanrl/ddpg_jax \ | ||
--scan-history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
poetry install -E mujoco_py | ||
python -c "import mujoco_py" | ||
OMP_NUM_THREADS=1 xvfb-run -a python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v2 Walker2d-v2 Hopper-v2 InvertedPendulum-v2 Humanoid-v2 Pusher-v2 \ | ||
--command "poetry run python cleanrl/td3_continuous_action.py --track --capture_video" \ | ||
poetry install -E "mujoco" | ||
python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--command "poetry run python cleanrl/td3_continuous_action.py --track" \ | ||
--num-seeds 3 \ | ||
--workers 1 | ||
--workers 18 \ | ||
--slurm-gpus-per-task 1 \ | ||
--slurm-ntasks 1 \ | ||
--slurm-total-cpus 10 \ | ||
--slurm-template-path benchmark/cleanrl_1gpu.slurm_template | ||
|
||
poetry install -E "mujoco_py jax" | ||
poetry run pip install --upgrade "jax[cuda]==0.3.17" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
poetry run python -c "import mujoco_py" | ||
xvfb-run -a poetry run python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v2 Walker2d-v2 Hopper-v2 \ | ||
--command "poetry run python cleanrl/td3_continuous_action_jax.py --track --capture_video" \ | ||
poetry install -E "mujoco jax" | ||
poetry run pip install --upgrade "jax[cuda11_cudnn82]==0.4.8" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html | ||
poetry run python -m cleanrl_utils.benchmark \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--command "poetry run python cleanrl/td3_continuous_action_jax.py --track" \ | ||
--num-seeds 3 \ | ||
--workers 1 | ||
--workers 18 \ | ||
--slurm-gpus-per-task 1 \ | ||
--slurm-ntasks 1 \ | ||
--slurm-total-cpus 10 \ | ||
--slurm-template-path benchmark/cleanrl_1gpu.slurm_template |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
python -m openrlbenchmark.rlops \ | ||
--filters '?we=openrlbenchmark&wpn=cleanrl&ceik=env_id&cen=exp_name&metric=charts/episodic_return' \ | ||
'td3_continuous_action?tag=pr-424' \ | ||
'td3_continuous_action_jax?tag=pr-424' \ | ||
--filters '?we=openrlbenchmark&wpn=cleanrl&ceik=env_id&cen=exp_name&metric=charts/episodic_return' \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--no-check-empty-runs \ | ||
--pc.ncols 3 \ | ||
--pc.ncols-legend 2 \ | ||
--output-filename benchmark/cleanrl/td3 \ | ||
--scan-history | ||
|
||
python -m openrlbenchmark.rlops \ | ||
--filters '?we=openrlbenchmark&wpn=cleanrl&ceik=env_id&cen=exp_name&metric=charts/episodic_return' \ | ||
'sac_continuous_action?tag=pr-424' \ | ||
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \ | ||
--no-check-empty-runs \ | ||
--pc.ncols 3 \ | ||
--pc.ncols-legend 2 \ | ||
--output-filename benchmark/cleanrl/sac \ | ||
--scan-history |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters