torchx-nightly 2024.4.10__py3-none-any.whl → 2024.4.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/schedulers/docker_scheduler.py +4 -2
- {torchx_nightly-2024.4.10.dist-info → torchx_nightly-2024.4.11.dist-info}/METADATA +1 -1
- {torchx_nightly-2024.4.10.dist-info → torchx_nightly-2024.4.11.dist-info}/RECORD +7 -7
- {torchx_nightly-2024.4.10.dist-info → torchx_nightly-2024.4.11.dist-info}/LICENSE +0 -0
- {torchx_nightly-2024.4.10.dist-info → torchx_nightly-2024.4.11.dist-info}/WHEEL +0 -0
- {torchx_nightly-2024.4.10.dist-info → torchx_nightly-2024.4.11.dist-info}/entry_points.txt +0 -0
- {torchx_nightly-2024.4.10.dist-info → torchx_nightly-2024.4.11.dist-info}/top_level.txt +0 -0
|
@@ -224,7 +224,8 @@ class DockerScheduler(DockerWorkspaceMixin, Scheduler[DockerOpts]):
|
|
|
224
224
|
|
|
225
225
|
app_id = make_unique(app.name)
|
|
226
226
|
req = DockerJob(app_id=app_id, containers=[])
|
|
227
|
-
|
|
227
|
+
# trim app_id and role name in case name is longer than 64 letters
|
|
228
|
+
rank0_name = f"{app_id[-30:]}-{app.roles[0].name[:30]}-0"
|
|
228
229
|
for role in app.roles:
|
|
229
230
|
mounts = []
|
|
230
231
|
devices = []
|
|
@@ -263,7 +264,8 @@ class DockerScheduler(DockerWorkspaceMixin, Scheduler[DockerOpts]):
|
|
|
263
264
|
rank0_env="TORCHX_RANK0_HOST",
|
|
264
265
|
)
|
|
265
266
|
replica_role = values.apply(role)
|
|
266
|
-
|
|
267
|
+
# trim app_id and role name in case name is longer than 64 letters. Assume replica_id is less than 10_000.
|
|
268
|
+
name = f"{app_id[-30:]}-{role.name[:30]}-{replica_id}"
|
|
267
269
|
|
|
268
270
|
env = default_env.copy()
|
|
269
271
|
if replica_role.env:
|
|
@@ -68,7 +68,7 @@ torchx/schedulers/api.py,sha256=s2hI87uAWtU2SHMNBKjAqelzQU_GKp_BjcxdtjVVDDk,1415
|
|
|
68
68
|
torchx/schedulers/aws_batch_scheduler.py,sha256=7qxy3UFRq0F731-kTjEi6VABWKD60o0req6CBMsTohU,27975
|
|
69
69
|
torchx/schedulers/aws_sagemaker_scheduler.py,sha256=dPah3yaKFUVm-ZZrzFbyM_abP-LCTd-AcAjZ6t2iycU,20699
|
|
70
70
|
torchx/schedulers/devices.py,sha256=BnjZnbXGTWiZKLmMKE3zPDOkb4Vao3jgPVa01aV6vyY,1367
|
|
71
|
-
torchx/schedulers/docker_scheduler.py,sha256=
|
|
71
|
+
torchx/schedulers/docker_scheduler.py,sha256=jQIa6Hxor3N3-lISpbIm1xae4oNyZeTOewEbukBd6nU,16193
|
|
72
72
|
torchx/schedulers/gcp_batch_scheduler.py,sha256=dlUfvjfMuQiRcSXQAdwxqdadwPhOf82L5u-ejRWtFgE,16226
|
|
73
73
|
torchx/schedulers/ids.py,sha256=3E-_vwVYC-8Tv8kjuY9-W7TbOe_-Laqd8a65uIN3hQY,1798
|
|
74
74
|
torchx/schedulers/kubernetes_mcad_scheduler.py,sha256=xAt-on3K8HwS2kzWasn0zXd2q4IDQzo2N5A5Ehh9NII,42885
|
|
@@ -112,9 +112,9 @@ torchx/workspace/__init__.py,sha256=FqN8AN4VhR1C_SBY10MggQvNZmyanbbuPuE-JCjkyUY,
|
|
|
112
112
|
torchx/workspace/api.py,sha256=1heBmPgB-W5Zf9gwViM7NrqvHpZlVYeMN7jpY8Qkytc,5479
|
|
113
113
|
torchx/workspace/dir_workspace.py,sha256=npNW_IjUZm_yS5r-8hrRkH46ndDd9a_eApT64m1S1T4,2268
|
|
114
114
|
torchx/workspace/docker_workspace.py,sha256=-utUxu1DFVJ5nAXTERDxz4Rr8CzdKO7Tkqfzap1HvHo,9425
|
|
115
|
-
torchx_nightly-2024.4.
|
|
116
|
-
torchx_nightly-2024.4.
|
|
117
|
-
torchx_nightly-2024.4.
|
|
118
|
-
torchx_nightly-2024.4.
|
|
119
|
-
torchx_nightly-2024.4.
|
|
120
|
-
torchx_nightly-2024.4.
|
|
115
|
+
torchx_nightly-2024.4.11.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
|
|
116
|
+
torchx_nightly-2024.4.11.dist-info/METADATA,sha256=FKvlFUTDFZvqLTi1kNR_qwj9wPsyxtBlEjTsd_FPD_Q,6053
|
|
117
|
+
torchx_nightly-2024.4.11.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
118
|
+
torchx_nightly-2024.4.11.dist-info/entry_points.txt,sha256=3JYZFlX9aWzR-Gs_qsx1zq7mlqbFz6Mi9rQUULW8caI,170
|
|
119
|
+
torchx_nightly-2024.4.11.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
|
|
120
|
+
torchx_nightly-2024.4.11.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|