torchx-nightly 2024.8.25__py3-none-any.whl → 2024.8.31__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 CHANGED
@@ -237,17 +237,12 @@ class RetryPolicy(str, Enum):
237
237
  application to deal with failed replica departures and
238
238
  replacement replica admittance.
239
239
  2. APPLICATION: Restarts the entire application.
240
- 3. HOT_SPARE: Restarts the replicas for a role as long as quorum (min_replicas)
241
- is not violated using extra hosts as spares. It does not really support
242
- elasticity and just uses the delta between num_replicas and min_replicas
243
- as spares (EXPERIMENTAL).
244
- 4. ROLE: Restarts the role when any error occurs in that role. This does not
240
+ 3. ROLE: Restarts the role when any error occurs in that role. This does not
245
241
  restart the whole job.
246
242
  """
247
243
 
248
244
  REPLICA = "REPLICA"
249
245
  APPLICATION = "APPLICATION"
250
- HOT_SPARE = "HOT_SPARE"
251
246
  ROLE = "ROLE"
252
247
 
253
248
 
@@ -347,8 +342,6 @@ class Role:
347
342
  and num_replicas depending on the cluster resources and
348
343
  policies. If the scheduler doesn't support auto scaling this
349
344
  field is ignored and the job size will be num_replicas.
350
- EXPERIMENTAL: For HOT_SPARE restart policy this field is used to
351
- indicate the quorum required for the job to run.
352
345
  max_retries: max number of retries before giving up
353
346
  retry_policy: retry behavior upon replica failures
354
347
  resource: Resource requirement for the role. The role should be scheduled
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: torchx-nightly
3
- Version: 2024.8.25
3
+ Version: 2024.8.31
4
4
  Summary: TorchX SDK and Components
5
5
  Home-page: https://github.com/pytorch/torchx
6
6
  Author: TorchX Devs
@@ -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=Wl-1jldL8veVKzmYDEeR2va3JSlAjZpFE1h8HWE9YVE,12286
85
85
  torchx/specs/__init__.py,sha256=T8xUCz7iVE6OsUL5P4Pzy2B8ZY_YinCVDwUer5Q-XPc,6179
86
- torchx/specs/api.py,sha256=4nJh2Fi5umbG5w-oJ3LQu--sCD7rkYckciBCYJyf9Z0,36879
86
+ torchx/specs/api.py,sha256=nRUDB_JGmUYYrQOtTBeGplzDGXgF5Raa1Yeje1Fw6RI,36402
87
87
  torchx/specs/builders.py,sha256=QDcQrnCO4bdSaiP0216XbCgTsnLutO_1_FW5jDiEIWI,9939
88
88
  torchx/specs/file_linter.py,sha256=IeiomB1BgHUlT-ZsvGxar3llY63NOupfLBrOrD_---A,11860
89
89
  torchx/specs/finder.py,sha256=MnwxG_UC4a-3X2wQ37ANEQR6D1TvriCLyuVYBh_-wuI,16249
@@ -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.8.25.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
117
- torchx_nightly-2024.8.25.dist-info/METADATA,sha256=f6pPDoPcNnVxJFH5rusurMOMB7eAELVZ9ZQdDh59cJg,6132
118
- torchx_nightly-2024.8.25.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
119
- torchx_nightly-2024.8.25.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
120
- torchx_nightly-2024.8.25.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
121
- torchx_nightly-2024.8.25.dist-info/RECORD,,
116
+ torchx_nightly-2024.8.31.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
117
+ torchx_nightly-2024.8.31.dist-info/METADATA,sha256=Cj7XZuHftuiS4a4mXg3t6Fexmxn_5RGPL47X2LbRlrc,6132
118
+ torchx_nightly-2024.8.31.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
119
+ torchx_nightly-2024.8.31.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
120
+ torchx_nightly-2024.8.31.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
121
+ torchx_nightly-2024.8.31.dist-info/RECORD,,