torchx-nightly 2024.7.5__py3-none-any.whl → 2024.7.7__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 torchx-nightly might be problematic. Click here for more details.
- torchx/specs/__init__.py +47 -8
- {torchx_nightly-2024.7.5.dist-info → torchx_nightly-2024.7.7.dist-info}/METADATA +1 -1
- {torchx_nightly-2024.7.5.dist-info → torchx_nightly-2024.7.7.dist-info}/RECORD +7 -7
- {torchx_nightly-2024.7.5.dist-info → torchx_nightly-2024.7.7.dist-info}/LICENSE +0 -0
- {torchx_nightly-2024.7.5.dist-info → torchx_nightly-2024.7.7.dist-info}/WHEEL +0 -0
- {torchx_nightly-2024.7.5.dist-info → torchx_nightly-2024.7.7.dist-info}/entry_points.txt +0 -0
- {torchx_nightly-2024.7.5.dist-info → torchx_nightly-2024.7.7.dist-info}/top_level.txt +0 -0
torchx/specs/__init__.py
CHANGED
|
@@ -15,13 +15,7 @@ scheduler or pipeline adapter.
|
|
|
15
15
|
import difflib
|
|
16
16
|
from typing import Callable, Dict, Optional
|
|
17
17
|
|
|
18
|
-
from torchx.specs.
|
|
19
|
-
from torchx.specs.named_resources_generic import (
|
|
20
|
-
NAMED_RESOURCES as GENERIC_NAMED_RESOURCES,
|
|
21
|
-
)
|
|
22
|
-
from torchx.util.entrypoints import load_group
|
|
23
|
-
|
|
24
|
-
from .api import ( # noqa: F401 F403
|
|
18
|
+
from torchx.specs.api import (
|
|
25
19
|
ALL,
|
|
26
20
|
AppDef,
|
|
27
21
|
AppDryRunInfo,
|
|
@@ -52,7 +46,13 @@ from .api import ( # noqa: F401 F403
|
|
|
52
46
|
UnknownSchedulerException,
|
|
53
47
|
VolumeMount,
|
|
54
48
|
)
|
|
55
|
-
from .builders import make_app_handle, materialize_appdef, parse_mounts
|
|
49
|
+
from torchx.specs.builders import make_app_handle, materialize_appdef, parse_mounts
|
|
50
|
+
|
|
51
|
+
from torchx.specs.named_resources_aws import NAMED_RESOURCES as AWS_NAMED_RESOURCES
|
|
52
|
+
from torchx.specs.named_resources_generic import (
|
|
53
|
+
NAMED_RESOURCES as GENERIC_NAMED_RESOURCES,
|
|
54
|
+
)
|
|
55
|
+
from torchx.util.entrypoints import load_group
|
|
56
56
|
|
|
57
57
|
GiB: int = 1024
|
|
58
58
|
|
|
@@ -183,3 +183,42 @@ def get_named_resources(res: str) -> Resource:
|
|
|
183
183
|
|
|
184
184
|
"""
|
|
185
185
|
return named_resources[res]
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
__all__ = [
|
|
189
|
+
"AppDef",
|
|
190
|
+
"AppDryRunInfo",
|
|
191
|
+
"AppHandle",
|
|
192
|
+
"AppState",
|
|
193
|
+
"AppStatus",
|
|
194
|
+
"BindMount",
|
|
195
|
+
"CfgVal",
|
|
196
|
+
"DeviceMount",
|
|
197
|
+
"get_type_name",
|
|
198
|
+
"is_terminal",
|
|
199
|
+
"macros",
|
|
200
|
+
"MISSING",
|
|
201
|
+
"NONE",
|
|
202
|
+
"NULL_RESOURCE",
|
|
203
|
+
"parse_app_handle",
|
|
204
|
+
"ReplicaState",
|
|
205
|
+
"ReplicaStatus",
|
|
206
|
+
"Resource",
|
|
207
|
+
"RetryPolicy",
|
|
208
|
+
"Role",
|
|
209
|
+
"RoleStatus",
|
|
210
|
+
"runopt",
|
|
211
|
+
"runopts",
|
|
212
|
+
"UnknownAppException",
|
|
213
|
+
"UnknownSchedulerException",
|
|
214
|
+
"InvalidRunConfigException",
|
|
215
|
+
"MalformedAppHandleException",
|
|
216
|
+
"VolumeMount",
|
|
217
|
+
"resource",
|
|
218
|
+
"get_named_resources",
|
|
219
|
+
"named_resources",
|
|
220
|
+
"make_app_handle",
|
|
221
|
+
"materialize_appdef",
|
|
222
|
+
"parse_mounts",
|
|
223
|
+
"ALL",
|
|
224
|
+
]
|
|
@@ -82,7 +82,7 @@ torchx/schedulers/streams.py,sha256=8_SLezgnWgfv_zXUsJCUM34-h2dtv25NmZuxEwkzmxw,
|
|
|
82
82
|
torchx/schedulers/ray/__init__.py,sha256=fE0IHi1JJpxsNVBNzWNee2thrNXFFRhY94c80RxNSIE,231
|
|
83
83
|
torchx/schedulers/ray/ray_common.py,sha256=pyNYFvTKVwdjDAeCBNbPwAWwVNmlLOJWExfn90XY8u8,610
|
|
84
84
|
torchx/schedulers/ray/ray_driver.py,sha256=Wl-1jldL8veVKzmYDEeR2va3JSlAjZpFE1h8HWE9YVE,12286
|
|
85
|
-
torchx/specs/__init__.py,sha256=
|
|
85
|
+
torchx/specs/__init__.py,sha256=T8xUCz7iVE6OsUL5P4Pzy2B8ZY_YinCVDwUer5Q-XPc,6179
|
|
86
86
|
torchx/specs/api.py,sha256=Y5uT7a-qZ4pP4kSfS6yYP1jUzQWLPI4qLQeyuBv5uDQ,36085
|
|
87
87
|
torchx/specs/builders.py,sha256=QDcQrnCO4bdSaiP0216XbCgTsnLutO_1_FW5jDiEIWI,9939
|
|
88
88
|
torchx/specs/file_linter.py,sha256=IeiomB1BgHUlT-ZsvGxar3llY63NOupfLBrOrD_---A,11860
|
|
@@ -113,9 +113,9 @@ torchx/workspace/__init__.py,sha256=FqN8AN4VhR1C_SBY10MggQvNZmyanbbuPuE-JCjkyUY,
|
|
|
113
113
|
torchx/workspace/api.py,sha256=1heBmPgB-W5Zf9gwViM7NrqvHpZlVYeMN7jpY8Qkytc,5479
|
|
114
114
|
torchx/workspace/dir_workspace.py,sha256=npNW_IjUZm_yS5r-8hrRkH46ndDd9a_eApT64m1S1T4,2268
|
|
115
115
|
torchx/workspace/docker_workspace.py,sha256=PFu2KQNVC-0p2aKJ-W_BKA9ZOmXdCY2ABEkCExp3udQ,10269
|
|
116
|
-
torchx_nightly-2024.7.
|
|
117
|
-
torchx_nightly-2024.7.
|
|
118
|
-
torchx_nightly-2024.7.
|
|
119
|
-
torchx_nightly-2024.7.
|
|
120
|
-
torchx_nightly-2024.7.
|
|
121
|
-
torchx_nightly-2024.7.
|
|
116
|
+
torchx_nightly-2024.7.7.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
|
|
117
|
+
torchx_nightly-2024.7.7.dist-info/METADATA,sha256=ThVPvCrvDHjJ-CNDtPRRo1mLHkHWz-5Dn3N4N0_F7T8,6215
|
|
118
|
+
torchx_nightly-2024.7.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
119
|
+
torchx_nightly-2024.7.7.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
|
|
120
|
+
torchx_nightly-2024.7.7.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
|
|
121
|
+
torchx_nightly-2024.7.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|