chore(sdk): Remove redundant check in set_gpu_limit (#6866)
* remove redundant check in set_gpu_limit * release note
This commit is contained in:
parent
60233f2a1d
commit
3bbe81a463
|
@ -18,6 +18,7 @@
|
|||
|
||||
* Fix importer ignoring reimport setting, and switch to Protobuf.Value for import uri [\#6827](https://github.com/kubeflow/pipelines/pull/6827)
|
||||
* Fix display name support for groups [\#6832](https://github.com/kubeflow/pipelines/pull/6832)
|
||||
* Remove redundant check in set_gpu_limit [\#6866](https://github.com/kubeflow/pipelines/pull/6866)
|
||||
|
||||
## Documentation Updates
|
||||
|
||||
|
|
|
@ -411,8 +411,7 @@ class Container(V1Container):
|
|||
ignored in v2.
|
||||
"""
|
||||
|
||||
if not isinstance(gpu, _pipeline_param.PipelineParam) or not isinstance(
|
||||
gpu, _pipeline_param.PipelineParam):
|
||||
if not isinstance(gpu, _pipeline_param.PipelineParam):
|
||||
self._validate_positive_number(gpu, 'gpu')
|
||||
|
||||
if self._container_spec:
|
||||
|
|
Loading…
Reference in New Issue