Skip to content

Conversation

@tecnobrat
Copy link

If you try to configure a GpuDevicePlugin resource with sharedDevNum=1 and PreferredAllocationPolicy unset, you get a misleading error:

"PreferredAllocationPolicy is valid only when setting sharedDevNum > 1"

I didn't have the field defined at all, so it was especially confusing.

This message should make it much clearer to the user.

If you try to configure a GpuDevicePlugin resource with sharedDevNum=1 and PreferredAllocationPolicy unset, you get a misleading error:

"PreferredAllocationPolicy is valid only when setting sharedDevNum > 1"

I didn't have the field defined at all, so it was especially confusing.

This message should make it much clearer to the user.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant