Skip to main content

deployment_gpu_specs

Creates, updates, deletes, gets or lists a deployment_gpu_specs resource.

Overview​

Namedeployment_gpu_specs
TypeResource
Idnvidia.nvcf_deployments.deployment_gpu_specs

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdatedeployment_id, gpu_spec_id Updates the GPU specification of the specified function version's deployment. It's important to note that GPU type and backend configurations cannot be modified through this endpoint. If the specified function is public, then Account Admin cannot perform this operation. Access to this endpoint mandates a bearer token with 'deploy_function' scope in the HTTP Authorization header.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
deployment_idstring (uuid)Deployment id
gpu_spec_idstring (uuid)GPU Specification id

UPDATE examples​

Updates the GPU specification of the specified function version's deployment. It's important to note that GPU type and backend configurations cannot be modified through this endpoint. If the specified function is public, then Account Admin cannot perform this operation. Access to this endpoint mandates a bearer token with 'deploy_function' scope in the HTTP Authorization header.

UPDATE nvidia.nvcf_deployments.deployment_gpu_specs
SET
autoscaling_configuration = '{{ autoscaling_configuration }}',
autoscaling_configuration_policy = '{{ autoscaling_configuration_policy }}',
max_instances = {{ max_instances }},
min_instances = {{ min_instances }}
WHERE
deployment_id = '{{ deployment_id }}' --required
AND gpu_spec_id = '{{ gpu_spec_id }}' --required
RETURNING
gpu_specification;