-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add creation of kueue resources in e2e tests #616
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
e026e3b
to
b557a6c
Compare
Name: corev1.ResourceMemory, | ||
NominalQuota: resource.MustParse("12Gi"), | ||
}, | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be removed if numberOfGpus
is 0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC specifying the resource name is mandatory even if nominalquota is 0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The cleanest solution could be to move creation of ResourceFlavor and ClusterQueue (in the end also RayCluster) into Test<something>Gpu/Cpu
functions. Each test function would then set properties relevant just to the test function.
That way we would get rid of conditions in test, reducing its reading complexity. Though that would mean a large rewrite.
I am ok with current solution too, just thinking out loud.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC specifying the resource name is mandatory even if nominalquota is 0
I think it is (was?) mandatory in RHOAI due to SDK passing GPU values. Not sure if it is still needed.
Anyway in real use cases for finetuning users need GPU.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I'm thinking the same, it's an issue at the SDK level right? It should not request 0 GPU?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Created a jira issue for SDK to address this - https://issues.redhat.com/browse/RHOAIENG-13618
@astefanutti @sutaakar
b557a6c
to
bb4dbd6
Compare
c6448ba
to
06e64ce
Compare
06e64ce
to
0e5a0b0
Compare
0e5a0b0
to
508bfca
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Issue link
RHOAIENG-11047
What changes have been made
Since we are adjusting e2e tests to run with AMD gpu, thus
Verification steps
Run test manually
go test -timeout 30m -v ./test/e2e -run TestMnistPyTorchAppWrapperCpu
Checks