[RLlib] Fix apex breakout release test performance. (#26867)

This commit is contained in:
Avnish Narayan 2022-07-23 04:53:03 -07:00 committed by GitHub
parent 96e8027c7e
commit 2cfd6c2e97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 5 deletions

View file

@ -2689,7 +2689,7 @@
cluster:
cluster_env: app_config.yaml
cluster_compute: 2gpus_32cpus.yaml
cluster_compute: 1gpus_24cpus.yaml
run:
timeout: 18000

View file

@ -0,0 +1,21 @@
cloud_id: {{env["ANYSCALE_CLOUD_ID"]}}
region: us-west-2
max_workers: 0
head_node_type:
name: head_node
instance_type: g3.4xlarge
worker_node_types:
- name: worker_node
instance_type: m5.2xlarge
min_workers: 1
max_workers: 1
use_spot: false
aws:
BlockDeviceMappings:
- DeviceName: /dev/sda1
Ebs:
VolumeSize: 500

View file

@ -4,8 +4,7 @@ apex-breakoutnoframeskip-v4:
# Minimum reward and total ts (in given time_total_s) to pass this test.
pass_criteria:
episode_reward_mean: 100.0
timesteps_total: 7000000
stop:
timesteps_total: 12000000
time_total_s: 7200
config:
double_q: false
@ -13,7 +12,8 @@ apex-breakoutnoframeskip-v4:
num_atoms: 1
noisy: false
n_step: 3
lr: .0001
lr: 0.001
grad_clip: 40.0
adam_epsilon: .00015
hiddens: [512]
replay_buffer_config:
@ -23,7 +23,7 @@ apex-breakoutnoframeskip-v4:
epsilon_timesteps: 200000
final_epsilon: 0.01
num_gpus: 1
num_workers: 8
num_workers: 16
num_envs_per_worker: 8
rollout_fragment_length: 20
train_batch_size: 512