hanabi-learning-environment icon indicating copy to clipboard operation
hanabi-learning-environment copied to clipboard

Feature: parallel environment

Open braintimeException opened this issue 5 years ago • 3 comments

Hi!

I have implemented a new feature. It is an environment which handles many instances of HanabiState running in parallel for one instance of HanabiGame.

The main benefits of this approach is that it

  • avoids the overhead of having several games
  • is easily parallelized on the level of individual states
  • the vectorized observations, scores, etc. are efficiently exposed using numpy arrays.

As an example, I am developing a hanabi multi-agent framework based on this implementation.

I thought it might be useful for other people as well, so I decided to open this PR.

Cheers, Anton

braintimeException avatar Jun 08 '20 22:06 braintimeException

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

googlebot avatar Jun 08 '20 22:06 googlebot

@googlebot I signed it!

braintimeException avatar Jun 08 '20 22:06 braintimeException

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

googlebot avatar Jun 08 '20 22:06 googlebot