Skip to content

Cuda cannot be disabled #106

@jackmiller2003

Description

@jackmiller2003

Hey very quick little issue.

In the current version of main, cuda cannot be disabled for run_ppo.py. If one looks at utils.py we have:

parser.add_argument(
        "--cuda",
        action="store_true",
        default=True,
        help="if toggled, cuda will be enabled by default",
    )

Which is always true no matter how one uses it.

Here's the link: https://github.com/jbloomAus/DecisionTransformerInterpretability/blob/main/src/ppo/utils.py#L42C5-L47C6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions