Skip to content

How to use GPU for trainings with ML Agents #6055

@Dragon-in-Boots

Description

@Dragon-in-Boots

image

Just finished installing everything to get the ML Agents running, using Anaconda with Python 3.10.12 and PyTorch 2.2.0 and everything seems to be working, except the PyTorch seems to be using cpu for the trainings.

As you can see i ran mlagents-learn --torch-device cuda and it didn't seem to work for me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    requestIssue contains a feature request.staleIssues that have been idle for a while. Automatically closed by a bot if idle for too long.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions