torchx-nightly 2025.5.10__py3-none-any.whl → 2025.5.12__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/api.py +5 -1
- {torchx_nightly-2025.5.10.dist-info → torchx_nightly-2025.5.12.dist-info}/METADATA +1 -1
- {torchx_nightly-2025.5.10.dist-info → torchx_nightly-2025.5.12.dist-info}/RECORD +7 -7
- {torchx_nightly-2025.5.10.dist-info → torchx_nightly-2025.5.12.dist-info}/LICENSE +0 -0
- {torchx_nightly-2025.5.10.dist-info → torchx_nightly-2025.5.12.dist-info}/WHEEL +0 -0
- {torchx_nightly-2025.5.10.dist-info → torchx_nightly-2025.5.12.dist-info}/entry_points.txt +0 -0
- {torchx_nightly-2025.5.10.dist-info → torchx_nightly-2025.5.12.dist-info}/top_level.txt +0 -0
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):
|
|
@@ -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.12.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
|
|
119
|
+
torchx_nightly-2025.5.12.dist-info/METADATA,sha256=4ttPdATuHL9zmBLvMPlaVW-MrOh4v2BTGvR2cVYsBao,6120
|
|
120
|
+
torchx_nightly-2025.5.12.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
121
|
+
torchx_nightly-2025.5.12.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
|
|
122
|
+
torchx_nightly-2025.5.12.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
|
|
123
|
+
torchx_nightly-2025.5.12.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|