dyff-schema 0.21.0__tar.gz → 0.22.0__tar.gz
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.
- {dyff_schema-0.21.0/dyff_schema.egg-info → dyff_schema-0.22.0}/PKG-INFO +2 -2
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/platform.py +18 -4
- {dyff_schema-0.21.0 → dyff_schema-0.22.0/dyff_schema.egg-info}/PKG-INFO +2 -2
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/.gitignore +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/.gitlab-ci.yml +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/.licenserc.yaml +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/.pre-commit-config.yaml +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/.prettierignore +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/.secrets.baseline +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/CODE_OF_CONDUCT.md +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/LICENSE +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/NOTICE +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/README.md +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/__init__.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/adapters.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/annotations.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/base.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/copydoc.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/dataset/__init__.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/dataset/arrow.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/dataset/binary.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/dataset/classification.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/dataset/embedding.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/dataset/text.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/dataset/vision.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/errors.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/ids.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/io/__init__.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/io/vllm.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/platform.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/py.typed +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/quantity.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/requests.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/test.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/__init__.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/__init__.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/adapters.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/base.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/dataset/__init__.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/dataset/arrow.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/dataset/binary.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/dataset/classification.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/dataset/embedding.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/dataset/text.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/dataset/vision.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/io/__init__.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/io/vllm.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/requests.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/test.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/v0/r1/version.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff/schema/version.py +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff_schema.egg-info/SOURCES.txt +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff_schema.egg-info/dependency_links.txt +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff_schema.egg-info/requires.txt +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/dyff_schema.egg-info/top_level.txt +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/makefile +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/pyproject.toml +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/setup.cfg +0 -0
- {dyff_schema-0.21.0 → dyff_schema-0.22.0}/tests/test_import.py +0 -0
|
@@ -1064,6 +1064,7 @@ class ModelStorageMedium(str, enum.Enum):
|
|
|
1064
1064
|
Mock = "Mock"
|
|
1065
1065
|
ObjectStorage = "ObjectStorage"
|
|
1066
1066
|
PersistentVolume = "PersistentVolume"
|
|
1067
|
+
FUSEVolume = "FUSEVolume"
|
|
1067
1068
|
|
|
1068
1069
|
|
|
1069
1070
|
class ModelArtifactKind(str, enum.Enum):
|
|
@@ -1216,11 +1217,16 @@ class InferenceServiceRunner(DyffSchemaBaseModel):
|
|
|
1216
1217
|
)
|
|
1217
1218
|
|
|
1218
1219
|
accelerator: Optional[Accelerator] = pydantic.Field(
|
|
1219
|
-
default=None, description="Optional accelerator hardware to use"
|
|
1220
|
+
default=None, description="Optional accelerator hardware to use, per node."
|
|
1220
1221
|
)
|
|
1221
1222
|
|
|
1222
1223
|
resources: ModelResources = pydantic.Field(
|
|
1223
|
-
description="Resource requirements to run the service."
|
|
1224
|
+
description="Resource requirements to run the service, per node."
|
|
1225
|
+
)
|
|
1226
|
+
|
|
1227
|
+
nodes: int = pydantic.Field(
|
|
1228
|
+
default=1,
|
|
1229
|
+
description="Number of nodes. The resource specs apply to *each node*.",
|
|
1224
1230
|
)
|
|
1225
1231
|
|
|
1226
1232
|
|
|
@@ -1301,11 +1307,19 @@ class InferenceSessionBase(DyffSchemaBaseModel):
|
|
|
1301
1307
|
replicas: int = pydantic.Field(default=1, description="Number of model replicas")
|
|
1302
1308
|
|
|
1303
1309
|
accelerator: Optional[Accelerator] = pydantic.Field(
|
|
1304
|
-
default=None, description="Accelerator hardware to use."
|
|
1310
|
+
default=None, description="Accelerator hardware to use, per node."
|
|
1305
1311
|
)
|
|
1306
1312
|
|
|
1307
1313
|
useSpotPods: bool = pydantic.Field(
|
|
1308
|
-
default=True,
|
|
1314
|
+
default=True,
|
|
1315
|
+
description="Use preemptible 'spot pods' for cheaper computation."
|
|
1316
|
+
" Note that some accelerator types may not be available in non-spot pods.",
|
|
1317
|
+
)
|
|
1318
|
+
|
|
1319
|
+
nodes: int = pydantic.Field(
|
|
1320
|
+
default=1,
|
|
1321
|
+
ge=1,
|
|
1322
|
+
description="Number of nodes. The resource specs apply to *each node*.",
|
|
1309
1323
|
)
|
|
1310
1324
|
|
|
1311
1325
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|