torchx-nightly 2023.10.18__py3-none-any.whl → 2023.10.20__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/aws_batch_scheduler.py +1 -0
- torchx/specs/named_resources_aws.py +17 -3
- torchx/version.py +1 -1
- {torchx_nightly-2023.10.18.dist-info → torchx_nightly-2023.10.20.dist-info}/METADATA +1 -1
- {torchx_nightly-2023.10.18.dist-info → torchx_nightly-2023.10.20.dist-info}/RECORD +9 -9
- {torchx_nightly-2023.10.18.dist-info → torchx_nightly-2023.10.20.dist-info}/LICENSE +0 -0
- {torchx_nightly-2023.10.18.dist-info → torchx_nightly-2023.10.20.dist-info}/WHEEL +0 -0
- {torchx_nightly-2023.10.18.dist-info → torchx_nightly-2023.10.20.dist-info}/entry_points.txt +0 -0
- {torchx_nightly-2023.10.18.dist-info → torchx_nightly-2023.10.20.dist-info}/top_level.txt +0 -0
|
@@ -516,6 +516,7 @@ class AWSBatchScheduler(DockerWorkspaceMixin, Scheduler[AWSBatchOpts]):
|
|
|
516
516
|
TAG_TORCHX_VER: torchx.__version__,
|
|
517
517
|
TAG_TORCHX_APPNAME: app.name,
|
|
518
518
|
TAG_TORCHX_USER: cfg.get("user"),
|
|
519
|
+
**app.metadata,
|
|
519
520
|
},
|
|
520
521
|
},
|
|
521
522
|
**({"schedulingPriority": priority} if share_id is not None else {}),
|
|
@@ -33,6 +33,8 @@ from typing import Callable, Mapping
|
|
|
33
33
|
|
|
34
34
|
from torchx.specs.api import Resource
|
|
35
35
|
|
|
36
|
+
EFA_DEVICE = "vpc.amazonaws.com/efa"
|
|
37
|
+
|
|
36
38
|
# ecs and ec2 have memtax and currently AWS Batch uses hard memory limits
|
|
37
39
|
# so we have to account for mem tax when registering these resources for AWS
|
|
38
40
|
# otherwise the job will be stuck in the jobqueue forever
|
|
@@ -63,20 +65,32 @@ def aws_p3_16xlarge() -> Resource:
|
|
|
63
65
|
|
|
64
66
|
def aws_p3dn_24xlarge() -> Resource:
|
|
65
67
|
return Resource(
|
|
66
|
-
cpu=96,
|
|
68
|
+
cpu=96,
|
|
69
|
+
gpu=8,
|
|
70
|
+
memMB=768 * GiB,
|
|
71
|
+
capabilities={K8S_ITYPE: "p3dn.24xlarge"},
|
|
72
|
+
devices={EFA_DEVICE: 1},
|
|
67
73
|
)
|
|
68
74
|
|
|
69
75
|
|
|
70
76
|
def aws_p4d_24xlarge() -> Resource:
|
|
71
77
|
return Resource(
|
|
72
|
-
cpu=96,
|
|
78
|
+
cpu=96,
|
|
79
|
+
gpu=8,
|
|
80
|
+
memMB=1152 * GiB,
|
|
81
|
+
capabilities={K8S_ITYPE: "p4d.24xlarge"},
|
|
82
|
+
devices={EFA_DEVICE: 4},
|
|
73
83
|
)
|
|
74
84
|
|
|
75
85
|
|
|
76
86
|
def aws_p4de_24xlarge() -> Resource:
|
|
77
87
|
# p4de has same cpu, gpu, memMB as p4d but gpu memory is 2x (32GB vs 64GB per GPU)
|
|
78
88
|
return Resource(
|
|
79
|
-
cpu=96,
|
|
89
|
+
cpu=96,
|
|
90
|
+
gpu=8,
|
|
91
|
+
memMB=1152 * GiB,
|
|
92
|
+
capabilities={K8S_ITYPE: "p4de.24xlarge"},
|
|
93
|
+
devices={EFA_DEVICE: 4},
|
|
80
94
|
)
|
|
81
95
|
|
|
82
96
|
|
torchx/version.py
CHANGED
|
@@ -16,7 +16,7 @@ from torchx.util.entrypoints import load
|
|
|
16
16
|
# 0.1.0bN # Beta release
|
|
17
17
|
# 0.1.0rcN # Release Candidate
|
|
18
18
|
# 0.1.0 # Final release
|
|
19
|
-
__version__ = "0.
|
|
19
|
+
__version__ = "0.7.0dev0"
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
# Use the github container registry images corresponding to the current package
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
torchx/__init__.py,sha256=ff7M2dxFLin47E152U1gSdfLog0UFD-dIlB1lX033es,340
|
|
2
2
|
torchx/notebook.py,sha256=6x9VlBjiOpwB9aCnRiGz40Nmd_Kxj2wxQp9t0HW-Zg4,993
|
|
3
|
-
torchx/version.py,sha256
|
|
3
|
+
torchx/version.py,sha256=WO5RhvE1bK2IFm0GNA_bk6jrfdTRotCt1WZmOKqNkIY,936
|
|
4
4
|
torchx/apps/__init__.py,sha256=fE0IHi1JJpxsNVBNzWNee2thrNXFFRhY94c80RxNSIE,231
|
|
5
5
|
torchx/apps/serve/__init__.py,sha256=Md3cCHD7Ano9kV15PqGbicgUO-RMdh4aVy1yKiDt_xE,208
|
|
6
6
|
torchx/apps/serve/serve.py,sha256=2LxjeE_d1qCM2bxltDwYXjKbgcizm2YaIc_qPC2akvo,4371
|
|
@@ -65,7 +65,7 @@ torchx/runtime/tracking/__init__.py,sha256=uHbJ1NqsxFWGYz2aV0_p4OCMhW467zDJu_86B
|
|
|
65
65
|
torchx/runtime/tracking/api.py,sha256=9mlsCnnKP8hfvypNcEX2_57OYMW4AuTMM-nvsIgOzK4,5457
|
|
66
66
|
torchx/schedulers/__init__.py,sha256=cCansxGU45SV_lxhgzyw2on7AJyIvhprAFo6Di1x9xQ,2157
|
|
67
67
|
torchx/schedulers/api.py,sha256=XlYrD6ZjV71HotJxdVZxA_Zc8DuxhM4KKCnkibqZflU,14140
|
|
68
|
-
torchx/schedulers/aws_batch_scheduler.py,sha256=
|
|
68
|
+
torchx/schedulers/aws_batch_scheduler.py,sha256=1gHJw5ufNybOUmvOleWZCx0eZ7qDMamnsGZpIp_qRcU,26851
|
|
69
69
|
torchx/schedulers/devices.py,sha256=PNbcpf8fEM18Ag1RgK9Q30zPBalEcPdsFWctdbLxuv8,1352
|
|
70
70
|
torchx/schedulers/docker_scheduler.py,sha256=I-kZN-dXoQyokLPe9ZKjfhkVX5lHx_C5jvLLc2JmXQQ,15456
|
|
71
71
|
torchx/schedulers/gcp_batch_scheduler.py,sha256=pgPnlx5tzogPw6FuOkoaxBY-rVjEh3mWFP-yX5izGZ8,16206
|
|
@@ -85,7 +85,7 @@ torchx/specs/api.py,sha256=7qpCGO_ccP6VpuH1dp-_gSaXG-t9rTVR-7sMUPTUxVs,34053
|
|
|
85
85
|
torchx/specs/builders.py,sha256=MJKci3zUKEC3WHh13MqZpmhdib39Bj6BK3aUvWQ-a2w,8526
|
|
86
86
|
torchx/specs/file_linter.py,sha256=LREWELpHJyE7YN3rc5ixf2ZydWFU9dlcSy5gGqdB5rA,11714
|
|
87
87
|
torchx/specs/finder.py,sha256=RJI0PkG69esuVzhCp4w6Lotu2tSzIRh6PhWemCSQR7I,16234
|
|
88
|
-
torchx/specs/named_resources_aws.py,sha256=
|
|
88
|
+
torchx/specs/named_resources_aws.py,sha256=98XPgZLuT6a8Ou4cbdT9eL8iyOUm6Hz-kKX43q3-rIQ,6573
|
|
89
89
|
torchx/specs/named_resources_generic.py,sha256=_xz0cRjy3fz-CVtX9G_MY7f3NX6n3AkP3xzAkuDevwk,2631
|
|
90
90
|
torchx/specs/test/components/__init__.py,sha256=Md3cCHD7Ano9kV15PqGbicgUO-RMdh4aVy1yKiDt_xE,208
|
|
91
91
|
torchx/specs/test/components/a/__init__.py,sha256=T7exlQ47Fak5ajCEGPg6_yOfChJCWpIMhWBmSVUnlrQ,546
|
|
@@ -110,9 +110,9 @@ torchx/workspace/__init__.py,sha256=KbGEzJqqXaIxALm_EQO64aw-fE7MeDMFXcpU1mY650I,
|
|
|
110
110
|
torchx/workspace/api.py,sha256=Ej6DR__mNWaVyZgoVNAAOloDy1kTD5X1jz7pRtoVf80,5464
|
|
111
111
|
torchx/workspace/dir_workspace.py,sha256=Fz-hKIx0KN8iJf2BsthNj0NvTkWlxP6WFsElPs_BaT0,2253
|
|
112
112
|
torchx/workspace/docker_workspace.py,sha256=Yd8ut26bNfjyJQnmH8ANOrflfr-4VKcnOrIjbi_XIUY,9208
|
|
113
|
-
torchx_nightly-2023.10.
|
|
114
|
-
torchx_nightly-2023.10.
|
|
115
|
-
torchx_nightly-2023.10.
|
|
116
|
-
torchx_nightly-2023.10.
|
|
117
|
-
torchx_nightly-2023.10.
|
|
118
|
-
torchx_nightly-2023.10.
|
|
113
|
+
torchx_nightly-2023.10.20.dist-info/LICENSE,sha256=WVHfXhFC0Ia8LTKt_nJVYobdqTJVg_4J3Crrfm2A8KQ,1721
|
|
114
|
+
torchx_nightly-2023.10.20.dist-info/METADATA,sha256=qbCNjGL13EaftPHKhPy-XDWPQw40qanrWKsl5gqrQY8,5558
|
|
115
|
+
torchx_nightly-2023.10.20.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
116
|
+
torchx_nightly-2023.10.20.dist-info/entry_points.txt,sha256=3JYZFlX9aWzR-Gs_qsx1zq7mlqbFz6Mi9rQUULW8caI,170
|
|
117
|
+
torchx_nightly-2023.10.20.dist-info/top_level.txt,sha256=pxew3bc2gsiViS0zADs0jb6kC5v8o_Yy_85fhHj_J1A,7
|
|
118
|
+
torchx_nightly-2023.10.20.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{torchx_nightly-2023.10.18.dist-info → torchx_nightly-2023.10.20.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|