Skip to content

How to train the model on multiple GPUs #6

@hyxie2023

Description

@hyxie2023

Hello, when training the model, despite specifying multiple GPUs, it seems that the model is only training on a single GPU. Is there a way to train the model in parallel across multiple GPUs?

I've noticed the "local_rank" parameter, and I'm not sure if modifying this parameter can enable parallel training. Could you provide further guidance on how to use this parameter? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions