Skip to content

[tune] wait_for_gpu #13486

@Emilon1928

Description

@Emilon1928

What is the problem?

Ray version: master

There are two errors in the wait_for_gpu function in tune.utils.util:

  1. the ratio of occupied gpu memory (eg. 0.1) to total memory (eg. 10 000MiB) is compared - line 459
  2. the object is returned before the for loop which results in a constant value of the occupied gpu memory - line 457

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issue, but not time-criticalbugSomething that is supposed to be working; but isn'ttuneTune-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions