Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The pods that successfully apply for gpu resources lack gpu card allocation information #3777

Open
2 of 3 tasks
wangyang0616 opened this issue Oct 16, 2024 · 1 comment
Open
2 of 3 tasks
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@wangyang0616
Copy link
Member

wangyang0616 commented Oct 16, 2024

Description

When Volcano schedules heterogeneous resources such as GPU, it first filters the node through the predicate, and then allocates GPU resources through the callback function AllocateFunc registered by the GPU and other plug-ins.

AllocateFunc has no return value or other structure to synchronize the execution result, that is, it does not judge and process whether the GPU allocation is successful. When the GPU allocation fails, the annotation information of the GPU card allocation will not be updated on the pod. The outer layer allocate does not currently perceive the exception. Continuing to execute subsequent bind actions will cause the pod to be scheduled to the node, but it will fail to run due to the lack of corresponding GPU resources.

Steps to reproduce the issue

No response

Describe the results you received and expected

When calling the callback function AllocateFunc to allocate heterogeneous resources, the caller can perceive its execution result and process it, which is mainly divided into the following steps:

  • Task1: AllocateFunc supports carrying the execution result of the callback function.
  • Task2: External actions such as allocate/preempt/backfill support the processing of AllocateFunc execution exceptions.
  • Task3: The gpu plug-in supports synchronizing its internal exception processing information through allocateFunc.

What version of Volcano are you using?

master

Any other relevant information

No response

@wangyang0616 wangyang0616 added the kind/bug Categorizes issue or PR as related to a bug. label Oct 16, 2024
@wangyang0616
Copy link
Member Author

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant