Skip to content

Comments

Add MOAsyncVectorEnv wrapper#115

Merged
ffelten merged 4 commits intoFarama-Foundation:mainfrom
JaydenTeoh:add_async_vec
Jul 2, 2025
Merged

Add MOAsyncVectorEnv wrapper#115
ffelten merged 4 commits intoFarama-Foundation:mainfrom
JaydenTeoh:add_async_vec

Conversation

@JaydenTeoh
Copy link
Contributor

Useful helper for my paper, helps speed up training over multiple environments via multiprocessing. Not sure if it is useful for current MORL-Baselines experiments but I'll just leave it here. Tested via the examples in the comment.

Copy link
Collaborator

@ffelten ffelten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot 🚀

A simple feature that I'm sure will be very useful.

Overall, the implementation looks good to me :).

Could you please have a look at why pre-commit fails? Pro-tip: run pre-commit install in your terminal to trigger it locally for each commit.

Could you also implement a few tests so we're sure this thing runs? You can take inspiration from existing tests for MOSyncVectorEnv.

@ffelten ffelten merged commit 95615fc into Farama-Foundation:main Jul 2, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants