Skip to content

Commit

Permalink
Remove post-execute hook for ray task
Browse files Browse the repository at this point in the history
  • Loading branch information
yundai424 committed Mar 28, 2024
1 parent 8ab9a3c commit f1a11b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions plugins/flytekit-ray/flytekitplugins/ray/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ def pre_execute(self, user_params: ExecutionParameters) -> ExecutionParameters:
ray.init(address=self._task_config.address)
return user_params

def post_execute(self, user_params: ExecutionParameters, rval: Any) -> Any:
ray.shutdown()
return rval

def get_custom(self, settings: SerializationSettings) -> Optional[Dict[str, Any]]:
cfg = self._task_config

Expand Down

0 comments on commit f1a11b8

Please sign in to comment.