torchx-nightly 2024.11.25__py3-none-any.whl → 2024.11.29__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 +2 -0
- torchx/specs/named_resources_aws.py +82 -0
- {torchx_nightly-2024.11.25.dist-info → torchx_nightly-2024.11.29.dist-info}/METADATA +1 -1
- {torchx_nightly-2024.11.25.dist-info → torchx_nightly-2024.11.29.dist-info}/RECORD +8 -8
- {torchx_nightly-2024.11.25.dist-info → torchx_nightly-2024.11.29.dist-info}/LICENSE +0 -0
- {torchx_nightly-2024.11.25.dist-info → torchx_nightly-2024.11.29.dist-info}/WHEEL +0 -0
- {torchx_nightly-2024.11.25.dist-info → torchx_nightly-2024.11.29.dist-info}/entry_points.txt +0 -0
- {torchx_nightly-2024.11.25.dist-info → torchx_nightly-2024.11.29.dist-info}/top_level.txt +0 -0
torchx/runner/api.py
CHANGED
|
@@ -39,6 +39,7 @@ from torchx.tracker.api import (
|
|
|
39
39
|
ENV_TORCHX_TRACKERS,
|
|
40
40
|
tracker_config_env_var_name,
|
|
41
41
|
)
|
|
42
|
+
from torchx.util.session import get_session_id_or_create_new, TORCHX_INTERNAL_SESSION_ID
|
|
42
43
|
|
|
43
44
|
from torchx.util.types import none_throws
|
|
44
45
|
from torchx.workspace.api import PkgInfo, WorkspaceBuilder, WorkspaceMixin
|
|
@@ -390,6 +391,7 @@ class Runner:
|
|
|
390
391
|
role.env[ENV_TORCHX_JOB_ID] = make_app_handle(
|
|
391
392
|
scheduler, self._name, macros.app_id
|
|
392
393
|
)
|
|
394
|
+
role.env[TORCHX_INTERNAL_SESSION_ID] = get_session_id_or_create_new()
|
|
393
395
|
|
|
394
396
|
if parent_run_id:
|
|
395
397
|
role.env[ENV_TORCHX_PARENT_RUN_ID] = parent_run_id
|
|
@@ -254,6 +254,80 @@ def aws_g5_48xlarge() -> Resource:
|
|
|
254
254
|
)
|
|
255
255
|
|
|
256
256
|
|
|
257
|
+
def aws_g6e_xlarge() -> Resource:
|
|
258
|
+
return Resource(
|
|
259
|
+
cpu=4,
|
|
260
|
+
gpu=1,
|
|
261
|
+
memMB=32 * GiB,
|
|
262
|
+
capabilities={K8S_ITYPE: "g6e.xlarge"},
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
def aws_g6e_2xlarge() -> Resource:
|
|
267
|
+
return Resource(
|
|
268
|
+
cpu=8,
|
|
269
|
+
gpu=1,
|
|
270
|
+
memMB=64 * GiB,
|
|
271
|
+
capabilities={K8S_ITYPE: "g6e.2xlarge"},
|
|
272
|
+
)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
def aws_g6e_4xlarge() -> Resource:
|
|
276
|
+
return Resource(
|
|
277
|
+
cpu=16,
|
|
278
|
+
gpu=1,
|
|
279
|
+
memMB=128 * GiB,
|
|
280
|
+
capabilities={K8S_ITYPE: "g6e.4xlarge"},
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
def aws_g6e_8xlarge() -> Resource:
|
|
285
|
+
return Resource(
|
|
286
|
+
cpu=32,
|
|
287
|
+
gpu=1,
|
|
288
|
+
memMB=256 * GiB,
|
|
289
|
+
capabilities={K8S_ITYPE: "g6e.8xlarge"},
|
|
290
|
+
)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
def aws_g6e_16xlarge() -> Resource:
|
|
294
|
+
return Resource(
|
|
295
|
+
cpu=64,
|
|
296
|
+
gpu=1,
|
|
297
|
+
memMB=512 * GiB,
|
|
298
|
+
capabilities={K8S_ITYPE: "g6e.16xlarge"},
|
|
299
|
+
)
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
def aws_g6e_12xlarge() -> Resource:
|
|
303
|
+
return Resource(
|
|
304
|
+
cpu=48,
|
|
305
|
+
gpu=4,
|
|
306
|
+
memMB=384 * GiB,
|
|
307
|
+
capabilities={K8S_ITYPE: "g6e.12xlarge"},
|
|
308
|
+
)
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
def aws_g6e_24xlarge() -> Resource:
|
|
312
|
+
return Resource(
|
|
313
|
+
cpu=96,
|
|
314
|
+
gpu=4,
|
|
315
|
+
memMB=768 * GiB,
|
|
316
|
+
capabilities={K8S_ITYPE: "g6e.24xlarge"},
|
|
317
|
+
devices={EFA_DEVICE: 2},
|
|
318
|
+
)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
def aws_g6e_48xlarge() -> Resource:
|
|
322
|
+
return Resource(
|
|
323
|
+
cpu=192,
|
|
324
|
+
gpu=8,
|
|
325
|
+
memMB=1536 * GiB,
|
|
326
|
+
capabilities={K8S_ITYPE: "g6e.48xlarge"},
|
|
327
|
+
devices={EFA_DEVICE: 4},
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
|
|
257
331
|
def aws_trn1_2xlarge() -> Resource:
|
|
258
332
|
return Resource(
|
|
259
333
|
cpu=8,
|
|
@@ -299,6 +373,14 @@ NAMED_RESOURCES: Mapping[str, Callable[[], Resource]] = {
|
|
|
299
373
|
"aws_g5.12xlarge": aws_g5_12xlarge,
|
|
300
374
|
"aws_g5.24xlarge": aws_g5_24xlarge,
|
|
301
375
|
"aws_g5.48xlarge": aws_g5_48xlarge,
|
|
376
|
+
"aws_g6e.xlarge": aws_g6e_xlarge,
|
|
377
|
+
"aws_g6e.2xlarge": aws_g6e_2xlarge,
|
|
378
|
+
"aws_g6e.4xlarge": aws_g6e_4xlarge,
|
|
379
|
+
"aws_g6e.8xlarge": aws_g6e_8xlarge,
|
|
380
|
+
"aws_g6e.16xlarge": aws_g6e_16xlarge,
|
|
381
|
+
"aws_g6e.12xlarge": aws_g6e_12xlarge,
|
|
382
|
+
"aws_g6e.24xlarge": aws_g6e_24xlarge,
|
|
383
|
+
"aws_g6e.48xlarge": aws_g6e_48xlarge,
|
|
302
384
|
"aws_trn1.2xlarge": aws_trn1_2xlarge,
|
|
303
385
|
"aws_trn1.32xlarge": aws_trn1_32xlarge,
|
|
304
386
|
}
|
|
@@ -56,7 +56,7 @@ torchx/pipelines/kfp/__init__.py,sha256=8iJ8lql_fxwuk9VCYSxXnX6tPL228fB5mDZpOs-k
|
|
|
56
56
|
torchx/pipelines/kfp/adapter.py,sha256=V96Rg2ypas0ZpNNn4ojplJMmC5vcBfcuxAITaY8PV_M,8969
|
|
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=vssTNIDB0O28QchZOowIvEcBE9GK1EDcmFu0pBu5vTU,29324
|
|
60
60
|
torchx/runner/config.py,sha256=fTdCcf-MKlBg6MzXopF4W0hYyDDoPAuvZs2v2bKzwG0,17849
|
|
61
61
|
torchx/runner/events/__init__.py,sha256=1_y0bojXl3FL0zlAj7BI4Dg5cXKXUmaa2jZbVH0EDUA,5268
|
|
62
62
|
torchx/runner/events/api.py,sha256=pPLfowWTXtN_XcrEDNI45pE6Ijvdc_Gdxq76RduqgGE,2664
|
|
@@ -87,7 +87,7 @@ torchx/specs/api.py,sha256=EI1tXPfDrz8dAyjJsuNK9mL4femS44lUuJFJUCW_oSc,37540
|
|
|
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
|
|
90
|
-
torchx/specs/named_resources_aws.py,sha256=
|
|
90
|
+
torchx/specs/named_resources_aws.py,sha256=ngLtZS1wkAvFVcJLaBJHywV9-sktGhQg9mecRlYudh0,9862
|
|
91
91
|
torchx/specs/named_resources_generic.py,sha256=Sg4tAdqiiWDrDz2Lj_pnfsjzGIXKTou73wPseh6j55w,2646
|
|
92
92
|
torchx/specs/test/components/__init__.py,sha256=J8qjUOysmcMAek2KFN13mViOXZxTYc5vCrF02t3VuFU,223
|
|
93
93
|
torchx/specs/test/components/a/__init__.py,sha256=kdxEgnI8QBSBiuTjaB4qDD7JX84hWowyPWU4B2Cqe9A,561
|
|
@@ -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-2024.11.
|
|
119
|
-
torchx_nightly-2024.11.
|
|
120
|
-
torchx_nightly-2024.11.
|
|
121
|
-
torchx_nightly-2024.11.
|
|
122
|
-
torchx_nightly-2024.11.
|
|
123
|
-
torchx_nightly-2024.11.
|
|
118
|
+
torchx_nightly-2024.11.29.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
|
|
119
|
+
torchx_nightly-2024.11.29.dist-info/METADATA,sha256=vgmT0rRJ3HNVPhoBmNNFF-l3mt_Fwdfa1KKmXO01Gi0,6170
|
|
120
|
+
torchx_nightly-2024.11.29.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
121
|
+
torchx_nightly-2024.11.29.dist-info/entry_points.txt,sha256=T328AMXeKI3JZnnxfkEew2ZcMN1oQDtkXjMz7lkV-P4,169
|
|
122
|
+
torchx_nightly-2024.11.29.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
|
|
123
|
+
torchx_nightly-2024.11.29.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{torchx_nightly-2024.11.25.dist-info → torchx_nightly-2024.11.29.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|