Skip to content

Commit

Permalink
fix a typo and remove a too restrictive limit (kubeflow#1382)
Browse files Browse the repository at this point in the history
  • Loading branch information
yixinshi authored and k8s-ci-robot committed Aug 17, 2018
1 parent 398e38d commit cf4e136
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kubeflow/examples/prototypes/tf-batch-predict.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ local tfBatchPredictBase = {

resources: {
limits: {
memory: "4Gi",
cpu: "4",
[if base.params.numGpus > 0 then "nvidia/com/gpu"]: base.params.numGpus,
[if base.params.numGpus > 0 then "nvidia.com/gpu"]: base.params.numGpus,
},
},

Expand Down

0 comments on commit cf4e136

Please sign in to comment.