Skip to content

[Autoscaler] Clarify override resources message #12031

@wuisawesome

Description

@wuisawesome

What is the problem?

Right now if a resource is provided in both the RAY_OVERRIDE_RESOURCES env var, and through another means, we print a message like

2020-11-15 10:53:44,191	INFO node.py:286 -- Autoscaler overriding resources: {'CPU': 32}.

Instead, we shouldn't print this message if the quantity is the same.

Ray version and other system information (Python version, TensorFlow version, OS):

Reproduction (REQUIRED)

Please provide a script that can be run to reproduce the issue. The script should have no external library dependencies (i.e., use fake or mock data / environments):

If we cannot run your script, we cannot fix your issue.

  • I have verified my script runs in a clean environment and reproduces the issue.
  • I have verified the issue also occurs with the latest wheels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Issue that should be fixed within a few weeksbugSomething that is supposed to be working; but isn'tfix-error-msgThis issue has a bad error message that should be improved.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions