Skip to content

[QST] Setting Exclusive_Mode on GPUs making it unavailable for ML workloads #3694

Description

@Niharikadutta

What is your question?
I am running Spark on YARN without isolation and hence following the instructions in this doc by setting each GPU to EXCLUSIVE_MODE.
While this works for ETL workloads, this setting makes other ML (tensorflow, pytorch) workloads fail by giving the following error:

all CUDA-capable devices are busy or unavailable

Interestingly, this happens even if there is no active Spark job running on the cluster, which should ideally mean the GPUs are available to be used by other processes?
What is the recommended way to run ETL + ML workloads on the same YARN cluster such that GPUs can be shared?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions