skypilot-org / skypilot

SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 12+ clouds). Get unified execution, cost savings, and high GPU availability via a simple interface.
https://skypilot.readthedocs.io
Apache License 2.0
6.82k stars 513 forks source link

[Admin Policy] Apply policy in CLI #4271

Closed Michaelvll closed 1 week ago

Michaelvll commented 2 weeks ago

Previously, the admin policy is only applied in the backend, which will cause wrong output of the optimizer table in the CLI. We now apply the policy to dag in CLI as well.

Tested (run the relevant ones):