You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A while ago (early 2020) to be precise I compiled a DRL project using SB. Since that time, I've moved on to other things. Recently I purchased an ARM-architecture (i.e. M1) Mac and transferred my files over; however, Stable Baselines doesn't function. When I run the project, the kernel keeps restarting with no error message being displayed; I've followed the installation instructions and even matched the version numbers of TF etc. from my old Intel-based machine (on which the code still appears to run fine).
I also tried experimenting with SB-3, for which the Cartpole training example using PPO from the website ([https://stable-baselines3.readthedocs.io/en/master/guide/examples.html]) does appear to run; however, it is extremely slow.
I'd really appreciate if someone could answer the following questions:
Is there a special procedure for installing Stable Baselines and associated components (e.g. TensorFlow) on M1-based Macs?
Is there a performance penalty of running code on these machines?
Cheers!
The text was updated successfully, but these errors were encountered:
Hey! As you already pointed out, SB3 is an option, and I think it might be the best one.
As for your questions:
I do not have exact answers, but Tensorflow is definitely the achilles heel. I am not sure if there is M1 support for tensorflow (you have look online for this). However if you are able to install this, installing stable-baselines should then work.
I imagine so, as M1 is not generally that performant of a chip (but very power efficient!), and especially on Rosetta. I would imagine you experience the same as you did with SB3.
Hi everyone,
A while ago (early 2020) to be precise I compiled a DRL project using SB. Since that time, I've moved on to other things. Recently I purchased an ARM-architecture (i.e. M1) Mac and transferred my files over; however, Stable Baselines doesn't function. When I run the project, the kernel keeps restarting with no error message being displayed; I've followed the installation instructions and even matched the version numbers of TF etc. from my old Intel-based machine (on which the code still appears to run fine).
I also tried experimenting with SB-3, for which the Cartpole training example using PPO from the website ([https://stable-baselines3.readthedocs.io/en/master/guide/examples.html]) does appear to run; however, it is extremely slow.
I'd really appreciate if someone could answer the following questions:
Cheers!
The text was updated successfully, but these errors were encountered: