-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathddpg.sh
More file actions
executable file
·22 lines (21 loc) · 973 Bytes
/
ddpg.sh
File metadata and controls
executable file
·22 lines (21 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
uv pip install ".[mujoco]"
python -m cleanrl_utils.benchmark \
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \
--command "uv run python cleanrl/ddpg_continuous_action.py --track" \
--num-seeds 3 \
--workers 18 \
--slurm-gpus-per-task 1 \
--slurm-ntasks 1 \
--slurm-total-cpus 10 \
--slurm-template-path benchmark/cleanrl_1gpu.slurm_template
uv pip install ".[mujoco, jax]"
uv pip install --upgrade "jax[cuda11_cudnn82]==0.4.8" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
uv run python -m cleanrl_utils.benchmark \
--env-ids HalfCheetah-v4 Walker2d-v4 Hopper-v4 InvertedPendulum-v4 Humanoid-v4 Pusher-v4 \
--command "uv run python cleanrl/ddpg_continuous_action_jax.py --track" \
--num-seeds 3 \
--workers 18 \
--slurm-gpus-per-task 1 \
--slurm-ntasks 1 \
--slurm-total-cpus 10 \
--slurm-template-path benchmark/cleanrl_1gpu.slurm_template