Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: MacOs Support #74

Merged
merged 3 commits into from
Feb 27, 2023

Conversation

visuallization
Copy link
Collaborator

Hey @edbeeching

I added macos support for stable baseline 3 wrapper:
python examples/stable_baselines3_example.py --env_path=./examples/JumperHard/bin/JumperHard.app --speedup=8

I haven't had time yet to look into ray, sf and clean rl yet.

@visuallization
Copy link
Collaborator Author

Okay I got this working for:

  • stablebaselines 3 python examples/stable_baselines3_example.py --env_path=./examples/JumperHard/bin/JumperHard.app --speedup=8
  • clearn rl python examples/clean_rl_example.py --env_path=./examples/JumperHard/bin/JumperHard.app --speedup=8

It does not yet work properly for:

  • rllib gdrl --trainer=rllib --env=gdrl --env_path=./examples/JumperHard/bin/JumperHard.app --num_workers=10 --experiment=JumperHard --viz --speedup=8 --batched_sampling=True
  • samplefactory gdrl --trainer=sf --env=gdrl --env_path=./examples/JumperHard/bin/JumperHard.app --num_workers=10 --experiment=JumperHard --viz --speedup=8 --batched_sampling=True

as rllib and sf do not support apple m1 gpu acceleration yet.
Also see:

However it is quite likely that this will already work on older intel macs, but I can't confirm because I only have a m1.

@edbeeching
Copy link
Owner

This is great! Thank you

@edbeeching
Copy link
Owner

Feel free to merge if you are happy with it

@edbeeching edbeeching merged commit a5ddb3f into edbeeching:main Feb 27, 2023
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