Skip to content

Commit

Permalink
Default to multiprocessing vec
Browse files Browse the repository at this point in the history
  • Loading branch information
thatguy11325 committed Oct 15, 2024
1 parent 5e3f084 commit 94bbe51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pokemonred_puffer/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ def train(
vec = pufferlib.vector.Multiprocessing
elif vec == Vectorization.ray:
vec = pufferlib.vector.Ray
else:
vec = pufferlib.vector.Multiprocessing

# TODO: Remove the +1 once the driver env doesn't permanently increase the env id
env_send_queues = [Queue() for _ in range(2 * config.train.num_envs + 1)]
Expand Down

0 comments on commit 94bbe51

Please sign in to comment.