Skip to content

Conversation

@d4l3k
Copy link
Member

@d4l3k d4l3k commented May 25, 2021

This makes the kfp adapter handle resources correctly. For GPUs we use the standard KFP settings which is nvidia specific. https://github.com/kubeflow/pipelines/blob/master/sdk/python/kfp/dsl/_container_op.py#L357

If for some reason you need to set something other than nvidia.com/gpu resource limit you'd have to manually update the resource spec as par of the pipeline.

Test plan:

python setup.py test -s torchx.pipelines.kfp
pyre

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 25, 2021
@facebook-github-bot
Copy link
Contributor

@d4l3k has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@d4l3k merged this pull request in 9c9a689.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants