torchx-nightly 2025.5.9__py3-none-any.whl → 2025.5.11__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/runner/api.py +1 -1
- torchx/schedulers/api.py +2 -1
- torchx/specs/api.py +5 -1
- {torchx_nightly-2025.5.9.dist-info → torchx_nightly-2025.5.11.dist-info}/METADATA +1 -1
- {torchx_nightly-2025.5.9.dist-info → torchx_nightly-2025.5.11.dist-info}/RECORD +9 -9
- {torchx_nightly-2025.5.9.dist-info → torchx_nightly-2025.5.11.dist-info}/LICENSE +0 -0
- {torchx_nightly-2025.5.9.dist-info → torchx_nightly-2025.5.11.dist-info}/WHEEL +0 -0
- {torchx_nightly-2025.5.9.dist-info → torchx_nightly-2025.5.11.dist-info}/entry_points.txt +0 -0
- {torchx_nightly-2025.5.9.dist-info → torchx_nightly-2025.5.11.dist-info}/top_level.txt +0 -0
torchx/runner/api.py
CHANGED
torchx/schedulers/api.py
CHANGED
|
@@ -43,7 +43,7 @@ class DescribeAppResponse:
|
|
|
43
43
|
the status and description of the application as known by the scheduler.
|
|
44
44
|
For some schedulers implementations this response object has necessary
|
|
45
45
|
and sufficient information to recreate an ``AppDef`` object. For these types
|
|
46
|
-
of schedulers, the user can re-``run()`` the
|
|
46
|
+
of schedulers, the user can re-``run()`` the recreated application. Otherwise
|
|
47
47
|
the user can only call non-creating methods (e.g. ``wait()``, ``status()``,
|
|
48
48
|
etc).
|
|
49
49
|
|
|
@@ -61,6 +61,7 @@ class DescribeAppResponse:
|
|
|
61
61
|
msg: str = NONE
|
|
62
62
|
structured_error_msg: str = NONE
|
|
63
63
|
ui_url: Optional[str] = None
|
|
64
|
+
metadata: dict[str, str] = field(default_factory=dict)
|
|
64
65
|
|
|
65
66
|
roles_statuses: List[RoleStatus] = field(default_factory=list)
|
|
66
67
|
roles: List[Role] = field(default_factory=list)
|
torchx/specs/api.py
CHANGED
|
@@ -224,11 +224,15 @@ class macros:
|
|
|
224
224
|
v[i] = self.substitute(v[i])
|
|
225
225
|
return d
|
|
226
226
|
|
|
227
|
+
# Overrides the asdict method to generate a dictionary of macro values to be substituted.
|
|
228
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
229
|
+
return asdict(self)
|
|
230
|
+
|
|
227
231
|
def substitute(self, arg: str) -> str:
|
|
228
232
|
"""
|
|
229
233
|
substitute applies the values to the template arg.
|
|
230
234
|
"""
|
|
231
|
-
return Template(arg).safe_substitute(**
|
|
235
|
+
return Template(arg).safe_substitute(**self.to_dict())
|
|
232
236
|
|
|
233
237
|
|
|
234
238
|
class RetryPolicy(str, Enum):
|
|
@@ -56,7 +56,7 @@ torchx/pipelines/kfp/__init__.py,sha256=8iJ8lql_fxwuk9VCYSxXnX6tPL228fB5mDZpOs-k
|
|
|
56
56
|
torchx/pipelines/kfp/adapter.py,sha256=5GeHULjb1kxG6wJtYVLpNkgdzUi4iYEaR42VFOwT6fY,9045
|
|
57
57
|
torchx/pipelines/kfp/version.py,sha256=mYBxd6bm4MeR34D--xo-JLQ9wHeAl_ZQLwbItCf9tr0,539
|
|
58
58
|
torchx/runner/__init__.py,sha256=x8Sz7s_tLxPgJgvWIhK4ju9BNZU61uBFywGwDY6CqJs,315
|
|
59
|
-
torchx/runner/api.py,sha256=
|
|
59
|
+
torchx/runner/api.py,sha256=LHuHConw5JXcwYqZ79Ytwvz0yH9cdstRK24grxG0ARw,29969
|
|
60
60
|
torchx/runner/config.py,sha256=qpq_RfUSUykquAsEKOhDT3xBsa-m3wc6F6O8oP2QJ7k,18303
|
|
61
61
|
torchx/runner/events/__init__.py,sha256=1_y0bojXl3FL0zlAj7BI4Dg5cXKXUmaa2jZbVH0EDUA,5268
|
|
62
62
|
torchx/runner/events/api.py,sha256=pPLfowWTXtN_XcrEDNI45pE6Ijvdc_Gdxq76RduqgGE,2664
|
|
@@ -65,7 +65,7 @@ torchx/runtime/__init__.py,sha256=Wxje2BryzeQneFu5r6P9JJiEKG-_C9W1CcZ_JNrKT6g,59
|
|
|
65
65
|
torchx/runtime/tracking/__init__.py,sha256=dYnAPnrXYREfPXkpHhdOFkcYIODWEbA13PdD-wLQYBo,3055
|
|
66
66
|
torchx/runtime/tracking/api.py,sha256=SmUQyUKZqG3KlAhT7CJOGqRz1O274E4m63wQeOVq3CU,5472
|
|
67
67
|
torchx/schedulers/__init__.py,sha256=gwy1opmKOPzQ_Lqh2GY0chYycLmdissLfd4846mPEMY,2334
|
|
68
|
-
torchx/schedulers/api.py,sha256=
|
|
68
|
+
torchx/schedulers/api.py,sha256=glgViY2QvhnYbj9J0XtzpjY5XrG_UCzPcHU9CwFR98I,14598
|
|
69
69
|
torchx/schedulers/aws_batch_scheduler.py,sha256=h95d3OBhxkB7QJlJaDY3s1H7EG0eLXnCXxAPU8Ume3w,28130
|
|
70
70
|
torchx/schedulers/aws_sagemaker_scheduler.py,sha256=spmcTEZ_o05pdTzpXr5gmOA-a9W0xH-YX6AioqX78l8,20950
|
|
71
71
|
torchx/schedulers/devices.py,sha256=RjVcu22ZRl_9OKtOtmA1A3vNXgu2qD6A9ST0L0Hsg4I,1734
|
|
@@ -83,7 +83,7 @@ torchx/schedulers/ray/__init__.py,sha256=fE0IHi1JJpxsNVBNzWNee2thrNXFFRhY94c80Rx
|
|
|
83
83
|
torchx/schedulers/ray/ray_common.py,sha256=pyNYFvTKVwdjDAeCBNbPwAWwVNmlLOJWExfn90XY8u8,610
|
|
84
84
|
torchx/schedulers/ray/ray_driver.py,sha256=RdaCLfth16ky-5PDVOWRe_RuheWJu9xufWux2F9T7iw,12302
|
|
85
85
|
torchx/specs/__init__.py,sha256=c2ALDbqHIhNBhrYxwXXURRwu1Rg5jcwukWF8emEO1Bk,6347
|
|
86
|
-
torchx/specs/api.py,sha256=
|
|
86
|
+
torchx/specs/api.py,sha256=0y1NL43dJHEmEIPP2upseZTrXD3Kiu5EEA2SozRsht4,39703
|
|
87
87
|
torchx/specs/builders.py,sha256=f5Yy8KoL2OgPUiqJRkZ4E6lboq5Srkh5mD17F0EBdeg,10506
|
|
88
88
|
torchx/specs/file_linter.py,sha256=QCwob5STTBuy8RsxaevTI-Dk6R8siDJn81LyaOwazes,12333
|
|
89
89
|
torchx/specs/finder.py,sha256=GseAruZBuTdQHWhnxqjE0SsyfCDxzg00qK73k-b47NA,17447
|
|
@@ -115,9 +115,9 @@ torchx/workspace/__init__.py,sha256=FqN8AN4VhR1C_SBY10MggQvNZmyanbbuPuE-JCjkyUY,
|
|
|
115
115
|
torchx/workspace/api.py,sha256=PtDkGTC5lX03pRoYpuMz2KCmM1ZOycRP1UknqvNb97Y,6341
|
|
116
116
|
torchx/workspace/dir_workspace.py,sha256=npNW_IjUZm_yS5r-8hrRkH46ndDd9a_eApT64m1S1T4,2268
|
|
117
117
|
torchx/workspace/docker_workspace.py,sha256=PFu2KQNVC-0p2aKJ-W_BKA9ZOmXdCY2ABEkCExp3udQ,10269
|
|
118
|
-
torchx_nightly-2025.5.
|
|
119
|
-
torchx_nightly-2025.5.
|
|
120
|
-
torchx_nightly-2025.5.
|
|
121
|
-
torchx_nightly-2025.5.
|
|
122
|
-
torchx_nightly-2025.5.
|
|
123
|
-
torchx_nightly-2025.5.
|
|
118
|
+
torchx_nightly-2025.5.11.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
|
|
119
|
+
torchx_nightly-2025.5.11.dist-info/METADATA,sha256=m1025oU33nafU1zsW70lQOH9XRCsjWN9faotyJW5O2o,6120
|
|
120
|
+
torchx_nightly-2025.5.11.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
121
|
+
torchx_nightly-2025.5.11.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
|
|
122
|
+
torchx_nightly-2025.5.11.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
|
|
123
|
+
torchx_nightly-2025.5.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|