Skip to content

Commit

Permalink
Remove resource limit
Browse files Browse the repository at this point in the history
Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia committed Oct 26, 2021
1 parent 1b50d41 commit 08c8dc4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/flytekit-kf-mpi/flytekitplugins/kfmpi/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ class MPIJob(object):
slots: int
num_launcher_replicas: int = 1
num_workers: int = 1
per_replica_requests: Optional[_task_model.Resources] = None
per_replica_limits: Optional[_task_model.Resources] = None


class MPIFunctionTask(PythonFunctionTask[MPIJob]):
Expand Down Expand Up @@ -119,7 +117,7 @@ def __init__(self, task_config: MPIJob, task_function: Callable, **kwargs):
task_config=task_config,
task_function=task_function,
task_type=self._MPI_JOB_TASK_TYPE,
**{**kwargs, "requests": task_config.per_replica_requests, "limits": task_config.per_replica_limits},
**kwargs,
)

def get_command(self, settings: SerializationSettings) -> List[str]:
Expand Down

0 comments on commit 08c8dc4

Please sign in to comment.