modal 0.72.42__py3-none-any.whl → 0.72.44__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.
- modal/_object.py +0 -1
- modal/client.pyi +2 -2
- modal/gpu.py +6 -8
- {modal-0.72.42.dist-info → modal-0.72.44.dist-info}/METADATA +1 -1
- {modal-0.72.42.dist-info → modal-0.72.44.dist-info}/RECORD +10 -10
- modal_version/_version_generated.py +1 -1
- {modal-0.72.42.dist-info → modal-0.72.44.dist-info}/LICENSE +0 -0
- {modal-0.72.42.dist-info → modal-0.72.44.dist-info}/WHEEL +0 -0
- {modal-0.72.42.dist-info → modal-0.72.44.dist-info}/entry_points.txt +0 -0
- {modal-0.72.42.dist-info → modal-0.72.44.dist-info}/top_level.txt +0 -0
modal/_object.py
CHANGED
@@ -246,7 +246,6 @@ class _Object:
|
|
246
246
|
"\n\nNote that it is rarely necessary to explicitly hydrate objects, as most methods"
|
247
247
|
" will lazily hydrate when needed.",
|
248
248
|
show_source=False, # synchronicity interferes with attributing source correctly
|
249
|
-
pending=True,
|
250
249
|
)
|
251
250
|
await self.hydrate(client)
|
252
251
|
|
modal/client.pyi
CHANGED
@@ -27,7 +27,7 @@ class _Client:
|
|
27
27
|
_snapshotted: bool
|
28
28
|
|
29
29
|
def __init__(
|
30
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.
|
30
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.44"
|
31
31
|
): ...
|
32
32
|
def is_closed(self) -> bool: ...
|
33
33
|
@property
|
@@ -85,7 +85,7 @@ class Client:
|
|
85
85
|
_snapshotted: bool
|
86
86
|
|
87
87
|
def __init__(
|
88
|
-
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.
|
88
|
+
self, server_url: str, client_type: int, credentials: typing.Optional[tuple[str, str]], version: str = "0.72.44"
|
89
89
|
): ...
|
90
90
|
def is_closed(self) -> bool: ...
|
91
91
|
@property
|
modal/gpu.py
CHANGED
@@ -28,7 +28,7 @@ class T4(_GPUConfig):
|
|
28
28
|
"""
|
29
29
|
[NVIDIA T4 Tensor Core](https://www.nvidia.com/en-us/data-center/tesla-t4/) GPU class.
|
30
30
|
|
31
|
-
A low-cost data center GPU based on the Turing architecture, providing
|
31
|
+
A low-cost data center GPU based on the Turing architecture, providing 16GB of GPU memory.
|
32
32
|
"""
|
33
33
|
|
34
34
|
def __init__(
|
@@ -45,7 +45,7 @@ class L4(_GPUConfig):
|
|
45
45
|
"""
|
46
46
|
[NVIDIA L4 Tensor Core](https://www.nvidia.com/en-us/data-center/l4/) GPU class.
|
47
47
|
|
48
|
-
A mid-tier data center GPU based on the Ada Lovelace architecture, providing
|
48
|
+
A mid-tier data center GPU based on the Ada Lovelace architecture, providing 24GB of GPU memory.
|
49
49
|
Includes RTX (ray tracing) support.
|
50
50
|
"""
|
51
51
|
|
@@ -63,23 +63,21 @@ class A100(_GPUConfig):
|
|
63
63
|
"""
|
64
64
|
[NVIDIA A100 Tensor Core](https://www.nvidia.com/en-us/data-center/a100/) GPU class.
|
65
65
|
|
66
|
-
The flagship data center GPU of the Ampere architecture. Available in
|
66
|
+
The flagship data center GPU of the Ampere architecture. Available in 40GB and 80GB GPU memory configurations.
|
67
67
|
"""
|
68
68
|
|
69
69
|
def __init__(
|
70
70
|
self,
|
71
71
|
*,
|
72
72
|
count: int = 1, # Number of GPUs per container. Defaults to 1.
|
73
|
-
size: Union[str, None] = None, # Select
|
73
|
+
size: Union[str, None] = None, # Select GB configuration of GPU device: "40GB" or "80GB". Defaults to "40GB".
|
74
74
|
):
|
75
75
|
if size == "40GB" or not size:
|
76
76
|
super().__init__(api_pb2.GPU_TYPE_A100, count, "A100-40GB", 40)
|
77
77
|
elif size == "80GB":
|
78
78
|
super().__init__(api_pb2.GPU_TYPE_A100_80GB, count, "A100-80GB", 80)
|
79
79
|
else:
|
80
|
-
raise ValueError(
|
81
|
-
f"size='{size}' is invalid. A100s can only have memory values of 40GB or 80GB."
|
82
|
-
)
|
80
|
+
raise ValueError(f"size='{size}' is invalid. A100s can only have memory values of 40GB or 80GB.")
|
83
81
|
|
84
82
|
def __repr__(self):
|
85
83
|
if self.memory == 80:
|
@@ -92,7 +90,7 @@ class A10G(_GPUConfig):
|
|
92
90
|
"""
|
93
91
|
[NVIDIA A10G Tensor Core](https://www.nvidia.com/en-us/data-center/products/a10-gpu/) GPU class.
|
94
92
|
|
95
|
-
A mid-tier data center GPU based on the Ampere architecture, providing 24
|
93
|
+
A mid-tier data center GPU based on the Ampere architecture, providing 24 GB of memory.
|
96
94
|
A10G GPUs deliver up to 3.3x better ML training performance, 3x better ML inference performance,
|
97
95
|
and 3x better graphics performance, in comparison to NVIDIA T4 GPUs.
|
98
96
|
"""
|
@@ -5,7 +5,7 @@ modal/_clustered_functions.pyi,sha256=vllkegc99A0jrUOWa8mdlSbdp6uz36TsHhGxysAOpa
|
|
5
5
|
modal/_container_entrypoint.py,sha256=iHSNqLCTK4uXzcmhF5ou5AqOYovk4hMfV3BZYYDrFKc,29554
|
6
6
|
modal/_ipython.py,sha256=TW1fkVOmZL3YYqdS2YlM1hqpf654Yf8ZyybHdBnlhSw,301
|
7
7
|
modal/_location.py,sha256=S3lSxIU3h9HkWpkJ3Pwo0pqjIOSB1fjeSgUsY3x7eec,1202
|
8
|
-
modal/_object.py,sha256=
|
8
|
+
modal/_object.py,sha256=ItQcsMNkz9Y3kdTsvfNarbW-paJ2qabDyQ7njaqY0XI,11359
|
9
9
|
modal/_output.py,sha256=0fWX_KQwhER--U81ys16CL-pA5A-LN20C0EZjElKGJQ,25410
|
10
10
|
modal/_proxy_tunnel.py,sha256=gnKyCfmVB7x2d1A6c-JDysNIP3kEFxmXzhcXhPrzPn0,1906
|
11
11
|
modal/_pty.py,sha256=JZfPDDpzqICZqtyPI_oMJf_9w-p_lLNuzHhwhodUXio,1329
|
@@ -20,7 +20,7 @@ modal/app.py,sha256=UOuqlCKlFAjOXCacXmoEMM90FnqFwPRXUhLh0Gi6xzg,45344
|
|
20
20
|
modal/app.pyi,sha256=aZJkeqsnsv72R7OTLXcifom0c-NBU6xgVhRc9yEt9nE,25760
|
21
21
|
modal/call_graph.py,sha256=1g2DGcMIJvRy-xKicuf63IVE98gJSnQsr8R_NVMptNc,2581
|
22
22
|
modal/client.py,sha256=8SQawr7P1PNUCq1UmJMUQXG2jIo4Nmdcs311XqrNLRE,15276
|
23
|
-
modal/client.pyi,sha256=
|
23
|
+
modal/client.pyi,sha256=oEUr7fESr6EZOja1FBYamr7cvQEretVMYZe_oDrms4I,7593
|
24
24
|
modal/cloud_bucket_mount.py,sha256=YOe9nnvSr4ZbeCn587d7_VhE9IioZYRvF9VYQTQux08,5914
|
25
25
|
modal/cloud_bucket_mount.pyi,sha256=30T3K1a89l6wzmEJ_J9iWv9SknoGqaZDx59Xs-ZQcmk,1607
|
26
26
|
modal/cls.py,sha256=xHgZZAmymplw0I2YZGAA8raBboixdNKKTrnsxQZI7G8,32159
|
@@ -40,7 +40,7 @@ modal/file_io.pyi,sha256=NTRft1tbPSWf9TlWVeZmTlgB5AZ_Zhu2srWIrWr7brk,9445
|
|
40
40
|
modal/file_pattern_matcher.py,sha256=dSo7BMQGZBAuoBFOX-e_72HxmF3FLzjQlEtnGtJiaD4,6506
|
41
41
|
modal/functions.py,sha256=dUzTocLsL-Huw5dwqs8HCksiOqvGHSTiwnZJOlAluAA,68601
|
42
42
|
modal/functions.pyi,sha256=lX3zZwIzbHXpmJA5QFki6ozaK3bdrdP-AM91_NFBimg,26301
|
43
|
-
modal/gpu.py,sha256=
|
43
|
+
modal/gpu.py,sha256=2qZMNnoMrjU-5Bu7fx68pANUAKTtZq0EWEEeBA9OUVQ,7426
|
44
44
|
modal/image.py,sha256=leeY7fLfFjS0IqTi3D4cRxIDOb80BPtb3jsQfqvVJ8c,90912
|
45
45
|
modal/image.pyi,sha256=QMKS6E3CsZr5DoyNqGpcJPBYJTJZSvtAQIsAhPVd_E4,26347
|
46
46
|
modal/io_streams.py,sha256=QkQiizKRzd5bnbKQsap31LJgBYlAnj4-XkV_50xPYX0,15079
|
@@ -167,10 +167,10 @@ modal_proto/options_pb2_grpc.pyi,sha256=CImmhxHsYnF09iENPoe8S4J-n93jtgUYD2JPAc0y
|
|
167
167
|
modal_proto/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
168
168
|
modal_version/__init__.py,sha256=kGya2ZlItX2zB7oHORs-wvP4PG8lg_mtbi1QIK3G6SQ,470
|
169
169
|
modal_version/__main__.py,sha256=2FO0yYQQwDTh6udt1h-cBnGd1c4ZyHnHSI4BksxzVac,105
|
170
|
-
modal_version/_version_generated.py,sha256=
|
171
|
-
modal-0.72.
|
172
|
-
modal-0.72.
|
173
|
-
modal-0.72.
|
174
|
-
modal-0.72.
|
175
|
-
modal-0.72.
|
176
|
-
modal-0.72.
|
170
|
+
modal_version/_version_generated.py,sha256=MMCvCHcq668rNXMeV1B29-hsCwFRgESfAsPDFi7WqkA,149
|
171
|
+
modal-0.72.44.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
172
|
+
modal-0.72.44.dist-info/METADATA,sha256=GagoHIWlIurRMkHcdIb0tMu-p57HtFwlC4-9PLOINLE,2329
|
173
|
+
modal-0.72.44.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
174
|
+
modal-0.72.44.dist-info/entry_points.txt,sha256=An-wYgeEUnm6xzrAP9_NTSTSciYvvEWsMZILtYrvpAI,46
|
175
|
+
modal-0.72.44.dist-info/top_level.txt,sha256=1nvYbOSIKcmU50fNrpnQnrrOpj269ei3LzgB6j9xGqg,64
|
176
|
+
modal-0.72.44.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|