Skip to content

Raise Error when user opts for DDP on a system without CUDA #200

@Neonkraft

Description

@Neonkraft

Currently, if the user sets use_data_parallel=True in ConfigurableTrainer on a machine without a GPU, the code simply crashes (as is expected). But the error message is misleading. Handle this with an assertion with a clear message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions