You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -141,18 +128,6 @@ class ModelDeploymentNetworkAccess:
141
128
access_tokens: list[AccessToken]
142
129
143
130
144
-
@strawberry.type(description="Added in 25.13.0")
145
-
classResourceConfig:
146
-
resource_group: ResourceGroup
147
-
resource_slots: JSONString=strawberry.field(
148
-
description='Resource Slots are a JSON string that describes the resources allocated for the deployment. Example: "resourceSlots": "{\\"cpu\\": \\"1\\", \\"mem\\": \\"1073741824\\", \\"cuda.device\\": \\"0\\"}"'
description='Resource Options are a JSON string that describes additional options for the resources. This is especially used for shared memory configurations. Example: "resourceOpts": "{\\"shmem\\": \\"64m\\"}"',
152
-
default=None,
153
-
)
154
-
155
-
156
131
# Main ModelDeployment Type
157
132
@strawberry.type(description="Added in 25.13.0")
158
133
classModelDeployment(Node):
@@ -168,8 +143,6 @@ class ModelDeployment(Node):
168
143
169
144
deployment_strategy: DeploymentStrategy
170
145
171
-
cluster_config: ClusterConfig
172
-
resource_config: ResourceConfig
173
146
created_user: User
174
147
175
148
@@ -253,29 +226,6 @@ class ReplicaStatusChangedPayload:
253
226
254
227
255
228
# Input Types
256
-
@strawberry.input(description="Added in 25.13.0")
257
-
classClusterConfigInput:
258
-
mode: ClusterMode
259
-
size: int
260
-
261
-
262
-
@strawberry.input(description="Added in 25.13.0")
263
-
classResourceGroupInput:
264
-
name: str
265
-
266
-
267
-
@strawberry.input(description="Added in 25.13.0")
268
-
classResourceConfigInput:
269
-
resource_group: ResourceGroupInput
270
-
resource_slots: JSONString=strawberry.field(
271
-
description='Resources allocated for the deployment. Example: "resourceSlots": "{\\"cpu\\": \\"1\\", \\"mem\\": \\"1073741824\\", \\"cuda.device\\": \\"0\\"}"'
description='Additional options for the resources. This is especially used for shared memory configurations. Example: "resourceOpts": "{\\"shmem\\": \\"64m\\"}"',
275
-
default=None,
276
-
)
277
-
278
-
279
229
@strawberry.input(description="Added in 25.13.0")
280
230
classModelDeploymentMetadataInput:
281
231
name: str
@@ -297,8 +247,6 @@ class DeploymentStrategyInput:
0 commit comments