dyff-schema 0.22.0__py3-none-any.whl → 0.23.0__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 dyff-schema might be problematic. Click here for more details.

@@ -1226,6 +1226,7 @@ class InferenceServiceRunner(DyffSchemaBaseModel):
1226
1226
 
1227
1227
  nodes: int = pydantic.Field(
1228
1228
  default=1,
1229
+ ge=1,
1229
1230
  description="Number of nodes. The resource specs apply to *each node*.",
1230
1231
  )
1231
1232
 
@@ -1258,6 +1259,7 @@ class InferenceServiceBase(DyffSchemaBaseModel):
1258
1259
  description="Configuration of the Builder used to build the service.",
1259
1260
  )
1260
1261
 
1262
+ # FIXME: (DYFF-261) .runner should be required
1261
1263
  runner: Optional[InferenceServiceRunner] = pydantic.Field(
1262
1264
  default=None, description="Configuration of the Runner used to run the service."
1263
1265
  )
@@ -1316,12 +1318,6 @@ class InferenceSessionBase(DyffSchemaBaseModel):
1316
1318
  " Note that some accelerator types may not be available in non-spot pods.",
1317
1319
  )
1318
1320
 
1319
- nodes: int = pydantic.Field(
1320
- default=1,
1321
- ge=1,
1322
- description="Number of nodes. The resource specs apply to *each node*.",
1323
- )
1324
-
1325
1321
 
1326
1322
  class InferenceSessionSpec(InferenceSessionBase):
1327
1323
  inferenceService: ForeignInferenceService = pydantic.Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: dyff-schema
3
- Version: 0.22.0
3
+ Version: 0.23.0
4
4
  Summary: Data models for the Dyff AI auditing platform.
5
5
  Author-email: Digital Safety Research Institute <contact@dsri.org>
6
6
  License: Apache-2.0
@@ -24,7 +24,7 @@ dyff/schema/v0/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
24
24
  dyff/schema/v0/r1/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
25
25
  dyff/schema/v0/r1/adapters.py,sha256=2t2oxsnGfSEDKKDIEYw4qqLXMH7qlFIwPVuLyUmbsHs,23552
26
26
  dyff/schema/v0/r1/base.py,sha256=IpvlYDr6JjYo6tn8XW4C1Fpgd_uqzZGZsG_cuEn_gQs,19441
27
- dyff/schema/v0/r1/platform.py,sha256=Wkg5bZayE-qQbtXQ2BscLvyybCnZChU9isAAHuPINHs,76069
27
+ dyff/schema/v0/r1/platform.py,sha256=xaJohO5SB_Nh6kIRmbAe1gc-xV_vGoM3R7UgMJcbByM,75980
28
28
  dyff/schema/v0/r1/requests.py,sha256=4TM1IKG9IP4MyprIy9E9XA_JqvkuwKAuY1ao1BbVLI0,15676
29
29
  dyff/schema/v0/r1/test.py,sha256=X6dUyVd5svcPCI-PBMOAqEfK9jv3bRDvkQTJzwS96c0,10720
30
30
  dyff/schema/v0/r1/version.py,sha256=isKAGuGxsdru8vDaYmI4YiZdJOu_wNxXK7u6QzD6FE4,392
@@ -37,9 +37,9 @@ dyff/schema/v0/r1/dataset/text.py,sha256=nLIn91Zlt0tNdXUklSgjJ-kEDxoPX32ISLkiv2D
37
37
  dyff/schema/v0/r1/dataset/vision.py,sha256=aIe0fbfM_g3DsrDTdg2K803YKLjZBpurM_VJcJFuZLc,369
38
38
  dyff/schema/v0/r1/io/__init__.py,sha256=L5y8UhRnojerPYHumsxQJRcHCNz8Hj9NM8b47mewMNs,92
39
39
  dyff/schema/v0/r1/io/vllm.py,sha256=CUE9y8KthtUI7sD49S875rDmPvKotSXVIRaBS79aBZs,5320
40
- dyff_schema-0.22.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
- dyff_schema-0.22.0.dist-info/METADATA,sha256=f7UjVkyIOQDA7i_posc7jWTkHon-zLOrbeT6SKANcxw,3482
42
- dyff_schema-0.22.0.dist-info/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
43
- dyff_schema-0.22.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
44
- dyff_schema-0.22.0.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
45
- dyff_schema-0.22.0.dist-info/RECORD,,
40
+ dyff_schema-0.23.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
41
+ dyff_schema-0.23.0.dist-info/METADATA,sha256=D_F0_u21Cwr_Wh1n8KGZtOOKlQCYk52gkL-Z6EqbC5o,3482
42
+ dyff_schema-0.23.0.dist-info/NOTICE,sha256=YONACu0s_Ui6jNi-wtEsVQbTU1JIkh8wvLH6d1-Ni_w,43
43
+ dyff_schema-0.23.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
44
+ dyff_schema-0.23.0.dist-info/top_level.txt,sha256=9e3VVdeX73t_sUJOPQPCcGtYO1JhoErhHIi3WoWGcFI,5
45
+ dyff_schema-0.23.0.dist-info/RECORD,,