Skip to content

Allow number of GPUs to be selected#582

Merged
cjh1 merged 1 commit into
mainfrom
gpus
May 12, 2026
Merged

Allow number of GPUs to be selected#582
cjh1 merged 1 commit into
mainfrom
gpus

Conversation

@cjh1

@cjh1 cjh1 commented May 12, 2026

Copy link
Copy Markdown
Collaborator

This ensures that the agent run by srun can access the GPUs.

@cjh1 cjh1 requested a review from swelborn May 12, 2026 20:11

@swelborn swelborn left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :)

formState: { errors },
} = useForm<AgentCreateEvent>({
resolver: zodResolver(zAgentCreateEvent),
shouldUnregister: true,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this bad boy do?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It removes gpus_per_node from payload if the user selects cpu

@cjh1 cjh1 merged commit 23c40b9 into main May 12, 2026
9 checks passed
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.

2 participants