Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
16.59k stars 4.09k forks source link

add support for mac m1/m2 chips mps gpu #6094

Open decazuk opened 3 months ago

decazuk commented 3 months ago

need upgrade onnx and protobuf, add setup default device for torch, so user can use command params "--torch-device mps:0" to launch gpu training on mac

Proposed change(s)

add support for mac m1/m2 chips mps gpu user can use command params "--torch-device mps:0" to launch gpu training on mac

CLAassistant commented 3 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


左云龙 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.