Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scaleway-async/scaleway_async/inference/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ async def create_deployment(
The terms of the EULA can be retrieved using the `GetModelEula` API call.
:param tags: List of tags to apply to the deployment.
:param min_size: Defines the minimum size of the pool.
:param max_size: Defines the maximum size of the pool.
:param max_size: Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
:param quantization: Quantization settings to apply to this deployment.
:return: :class:`Deployment <Deployment>`

Expand Down Expand Up @@ -322,7 +322,7 @@ async def update_deployment(
:param name: Name of the deployment.
:param tags: List of tags to apply to the deployment.
:param min_size: Defines the new minimum size of the pool.
:param max_size: Defines the new maximum size of the pool.
:param max_size: Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
:param model_id: Id of the model to set to the deployment.
:param quantization: Quantization to use to the deployment.
:return: :class:`Deployment <Deployment>`
Expand Down
6 changes: 3 additions & 3 deletions scaleway-async/scaleway_async/inference/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Deployment:

max_size: int
"""
Defines the maximum size of the pool.
Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
"""

model_id: str
Expand Down Expand Up @@ -445,7 +445,7 @@ class CreateDeploymentRequest:

max_size: Optional[int] = 0
"""
Defines the maximum size of the pool.
Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
"""

quantization: Optional[DeploymentQuantization] = None
Expand Down Expand Up @@ -750,7 +750,7 @@ class UpdateDeploymentRequest:

max_size: Optional[int] = 0
"""
Defines the new maximum size of the pool.
Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
"""

model_id: Optional[str] = None
Expand Down
4 changes: 2 additions & 2 deletions scaleway/scaleway/inference/v1/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def create_deployment(
The terms of the EULA can be retrieved using the `GetModelEula` API call.
:param tags: List of tags to apply to the deployment.
:param min_size: Defines the minimum size of the pool.
:param max_size: Defines the maximum size of the pool.
:param max_size: Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
:param quantization: Quantization settings to apply to this deployment.
:return: :class:`Deployment <Deployment>`

Expand Down Expand Up @@ -320,7 +320,7 @@ def update_deployment(
:param name: Name of the deployment.
:param tags: List of tags to apply to the deployment.
:param min_size: Defines the new minimum size of the pool.
:param max_size: Defines the new maximum size of the pool.
:param max_size: Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
:param model_id: Id of the model to set to the deployment.
:param quantization: Quantization to use to the deployment.
:return: :class:`Deployment <Deployment>`
Expand Down
6 changes: 3 additions & 3 deletions scaleway/scaleway/inference/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Deployment:

max_size: int
"""
Defines the maximum size of the pool.
Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
"""

model_id: str
Expand Down Expand Up @@ -445,7 +445,7 @@ class CreateDeploymentRequest:

max_size: Optional[int] = 0
"""
Defines the maximum size of the pool.
Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
"""

quantization: Optional[DeploymentQuantization] = None
Expand Down Expand Up @@ -750,7 +750,7 @@ class UpdateDeploymentRequest:

max_size: Optional[int] = 0
"""
Defines the new maximum size of the pool.
Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`.
"""

model_id: Optional[str] = None
Expand Down
Loading