Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions docs/Training-ML-Agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,15 +565,15 @@ be installed, and PyTorch must be enabled for your trainer.

#### Installing PyTorch

If you've already installed ML-Agents, installing PyTorch can be
done by running `pip3 install torch` after activating your virtual
environment.

If you're installing or upgrading ML-Agents, run `pip3 install mlagents[torch]`
instead of `pip3 install mlagents` during [installation](Installation.md).

We support versions 1.6.0 and later.
See the [official install instructions](https://pytorch.org/) for more info.
If you've already installed ML-Agents, follow the
[official PyTorch install instructions](https://pytorch.org/get-started/locally/) for
your platform and configuration. Note that on Windows, you may also need Microsoft's
[Visual C++ Redistributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads) if you don't have it already.

If you're installing or upgrading ML-Agents on Linux or Mac, you can also run
`pip3 install mlagents[torch]` instead of `pip3 install mlagents`
during [installation](Installation.md). On Windows, install ML-Agents first and then
separately install PyTorch.

#### Enabling PyTorch

Expand Down