This repository was archived by the owner on Jun 6, 2024. It is now read-only.
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
V1.0.0/1 allocated job resource usage API #4695
Open
Description
Organization Name: Advantech
Short summary about the issue/question: V1.0.0/1 Job resource usage API
Brief what process you are following:
In OpenPAI v1.0.0/1, the smallest resource(GPU/CPU/MEM) are defined in hivescheduler yaml and the resource allocated on demand might be the same or multiple of the defined value invisible to the API user.
Therefore, API user is unable to know the exact resource usage through API each time when the job is submitted since the allocated resource is probably not exact the same as the requested resource.
Please share the API to know the real resource allocation upon job submission.
OpenPAI Environment: OpenStack VM
- OpenPAI version: v1.0.0/1