Skip to content

Non-Configurable GPU Count via Arguments #47

@willyfh

Description

@willyfh

In this code, https://github.com/microsoft/UniVL/blob/main/main_task_caption.py#L143-L145 , the value of n_gpu is determined by the actual number of GPUs present in the system. However, there are scenarios where utilizing only a single GPU, despite having multiple GPUs available, could be preferable. Rather than forcibly adjusting the args.n_gpu based solely on the detected number of GPUs, it could be beneficial to leave this decision to the user.

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