Skip to content

Commit

Permalink
fix tests and lints
Browse files Browse the repository at this point in the history
Signed-off-by: Yubo Wang <[email protected]>
  • Loading branch information
Yubo Wang committed May 13, 2023
1 parent 699279b commit b27d74b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .restart_policy import RestartPolicy
from .chief import Chief
from .ps import PS
from .worker import Worker
from .restart_policy import RestartPolicy
from .run_policy import CleanPodPolicy, RunPolicy
from .tensorflow_job import TensorFlowJob
from .worker import Worker
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ class CleanPodPolicy(Enum):

class RunPolicy(common.FlyteIdlEntity):
"""
Configuration for a dask worker group
:param replicas: Number of workers in the group, minimum is 1
:param image: Optional image to use for the pods of the worker group
:param resources: Optional resources to use for the pods of the worker group
RunPolicy encapsulates various runtime policies of the distributed training job,
for example how to clean up resources and how long the job can stay active.
"""

def __init__(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
install_requires=[
"googleapis-common-protos>=1.57",
"flyteidl>=1.3.16,<1.4.0",
"flyteidl>=1.5.2",
"wheel>=0.30.0,<1.0.0",
"pandas>=1.0.0,<2.0.0",
"pyarrow>=4.0.0,<11.0.0",
Expand Down

0 comments on commit b27d74b

Please sign in to comment.