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

RUN-20245 Support NodePool GPU Topology #86

Merged
merged 8 commits into from
Jul 16, 2024

Conversation

gshaibi
Copy link
Contributor

@gshaibi gshaibi commented Jul 15, 2024

  • private
  • BaseTopology -> ClusterTopology

@gshaibi gshaibi changed the title shaibi/RUN 20245 support gpu topology by node selector RUN-20245 Support NodePool GPU Topology Jul 16, 2024
gpuMemory: 11441
nodePoolLabelKey: run.ai/simulated-gpu-node-pool
mig-strategy: mixed

Choose a reason for hiding this comment

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

why is it mig-strategy vs migStrategy?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh thanks, my mistake

// labelNode labels the node with required labels for the fake-gpu-operator to function.
func (p *NodeHandler) labelNode(node *v1.Node) error {
err := p.patchNodeLabels(node, map[string]interface{}{
"nvidia.com/gpu.deploy.dcgm-exporter": "true",

Choose a reason for hiding this comment

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

Would it be helpful to make the labels consts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, absolutely

@gshaibi gshaibi merged commit bf6abc2 into main Jul 16, 2024
2 of 3 checks passed
@gshaibi gshaibi deleted the shaibi/RUN-20245-support-gpu-topology-by-node-selector branch July 16, 2024 09:05
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.

3 participants