flyteplugins-ray 2.0.0b24__py3-none-any.whl → 2.0.0b25__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flyteplugins-ray might be problematic. Click here for more details.
- flyteplugins/ray/task.py +2 -1
- {flyteplugins_ray-2.0.0b24.dist-info → flyteplugins_ray-2.0.0b25.dist-info}/METADATA +1 -1
- flyteplugins_ray-2.0.0b25.dist-info/RECORD +6 -0
- flyteplugins_ray-2.0.0b24.dist-info/RECORD +0 -6
- {flyteplugins_ray-2.0.0b24.dist-info → flyteplugins_ray-2.0.0b25.dist-info}/WHEEL +0 -0
- {flyteplugins_ray-2.0.0b24.dist-info → flyteplugins_ray-2.0.0b25.dist-info}/top_level.txt +0 -0
flyteplugins/ray/task.py
CHANGED
|
@@ -10,7 +10,7 @@ import yaml
|
|
|
10
10
|
from flyte import PodTemplate, Resources
|
|
11
11
|
from flyte.extend import AsyncFunctionTaskTemplate, TaskPluginRegistry, pod_spec_from_resources
|
|
12
12
|
from flyte.models import SerializationContext
|
|
13
|
-
from
|
|
13
|
+
from flyteidl2.plugins.ray_pb2 import HeadGroupSpec, RayCluster, RayJob, WorkerGroupSpec
|
|
14
14
|
from google.protobuf.json_format import MessageToDict
|
|
15
15
|
|
|
16
16
|
import ray
|
|
@@ -62,6 +62,7 @@ class RayFunctionTask(AsyncFunctionTaskTemplate):
|
|
|
62
62
|
|
|
63
63
|
task_type: str = "ray"
|
|
64
64
|
plugin_config: RayJobConfig
|
|
65
|
+
debuggable: bool = True
|
|
65
66
|
|
|
66
67
|
async def pre(self, *args, **kwargs) -> Dict[str, Any]:
|
|
67
68
|
init_params = {"address": self.plugin_config.address}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
flyteplugins/ray/__init__.py,sha256=6FlHBUczAg13S-Lkd1DhwmjMzznpM_wYLemyOEkH1IE,147
|
|
2
|
+
flyteplugins/ray/task.py,sha256=SijShR7VrApXwlH8CgfD9pBlgS72xZ5noYXyCO7QDTs,5151
|
|
3
|
+
flyteplugins_ray-2.0.0b25.dist-info/METADATA,sha256=5I8qKwwPtzmbCwCwdM0vNVr6jKEcfDxruODkivRyeIo,740
|
|
4
|
+
flyteplugins_ray-2.0.0b25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
+
flyteplugins_ray-2.0.0b25.dist-info/top_level.txt,sha256=cgd779rPu9EsvdtuYgUxNHHgElaQvPn74KhB5XSeMBE,13
|
|
6
|
+
flyteplugins_ray-2.0.0b25.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
flyteplugins/ray/__init__.py,sha256=6FlHBUczAg13S-Lkd1DhwmjMzznpM_wYLemyOEkH1IE,147
|
|
2
|
-
flyteplugins/ray/task.py,sha256=dFT2RVsMK2KtOrI6cr1fxQ5wWfx3VF5Rg6m1BDiw8IE,5122
|
|
3
|
-
flyteplugins_ray-2.0.0b24.dist-info/METADATA,sha256=loTaHnFMkUmmg_vslGRXNuUYGkJA4v4osR0bR61Of80,740
|
|
4
|
-
flyteplugins_ray-2.0.0b24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
-
flyteplugins_ray-2.0.0b24.dist-info/top_level.txt,sha256=cgd779rPu9EsvdtuYgUxNHHgElaQvPn74KhB5XSeMBE,13
|
|
6
|
-
flyteplugins_ray-2.0.0b24.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|