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

Set appropriate initial form values for resource allocation #3125

Open
nowgnuesLee opened this issue Feb 10, 2025 — with Lablup-Issue-Syncer · 0 comments
Open

Set appropriate initial form values for resource allocation #3125

nowgnuesLee opened this issue Feb 10, 2025 — with Lablup-Issue-Syncer · 0 comments
Assignees

Comments

@nowgnuesLee
Copy link
Contributor

nowgnuesLee commented Feb 10, 2025

Description

export const AUTOMATIC_DEFAULT_SHMEM = '64m';
export const RESOURCE_ALLOCATION_INITIAL_FORM_VALUES: DeepPartial<ResourceAllocationFormValue> =
  {
    resource: {
      cpu: 0,
      mem: '0g',
      shmem: '0g',
      accelerator: 0,
    },

The currently set initial values are bound to fail validation. Let’s set appropriate initial values to eliminate cases where validation always fails.

@nowgnuesLee nowgnuesLee self-assigned this Feb 10, 2025
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

No branches or pull requests

1 participant