-
- Downloads
Spare envs for faster reset (#1424)
* running spare env code for slow env resets, still need to figure out why reset takes 2+ seconds. * fix pack_sequence_as(ts_spec) with ts_spec_with_env_info * fix env_id in returned timesteps, with test * Allow early reset even when num_spare_envs = 0, with test case.
Showing
- alf/environments/parallel_environment.py 118 additions, 13 deletionsalf/environments/parallel_environment.py
- alf/environments/parallel_environment_test.py 117 additions, 2 deletionsalf/environments/parallel_environment_test.py
- alf/environments/process_environment.py 6 additions, 0 deletionsalf/environments/process_environment.py
- alf/environments/random_alf_environment.py 4 additions, 1 deletionalf/environments/random_alf_environment.py
- alf/environments/utils.py 21 additions, 2 deletionsalf/environments/utils.py
Loading
Please register or sign in to comment