Skip to content

Finer-grained GPU reservation #8

Description

@superbobry

Currently, tf-yarn is only able to reserve GPUs with node-level granularity, i.e. it assumes that a GPU node has a capacity of a single container, and then uses all of the GPUs on that node. It is possible to restrict tf-yarn container to a subset of GPUs:

  • augment TaskSpec with num_gpus field,
  • prior to running _dispatch_task discover which GPUs are not in use, and list them explicitly in CUDA_VISIBLE_DEVICES.

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