Models DownloadModel RPC

0.7.4

Requests the download of an existing model from the model repository.

rpc DownloadModel(ModelsDownloadModelRequest) returns (stream ModelsDownloadModelResponse);

Messages

  • ModelsDownloadModelRequest
  • ModelsDownloadModelResponse
Copy
Copied!
            

message ModelsModelsDownloadModelRequestDeleteModelRequest { RequestHeader header = 1; Identifier model_id = 2; }


Properties

type: message

Standard RPC request header.

See RequestHeader for details.

model_id

type: message

Unique identifier of the model to delete.

Required. If the identifier value is omitted from the request or does not match any known model identifier, Clara Deploy SDK will be unable to fulfill the request.

See Identifier for details.


ModelsDownloadModelResponse

Copy
Copied!
            

message ModelsDownloadModelResponse { ResponseHeader header = 1; ModelDetails details = 2; bytes data = 4; }


Clara Deploy SDK Models service will respond to any delete request with a ModelsDownloadModelResponse message. Requestors can use the response header to determine the result of their request.

Properties

header

type: message

Standard RPC response header.

See ResponseHeader for details.

details

type: message

Details about the inference model download from the model repository.

See ModelDetails for details.

data

type: bytes

Raw binary data of the zip compressed inference model. Includes multi-part file and folder data.

Use a utility like unzip to inflate the downloaded data.

© Copyright 2018-2020, NVIDIA Corporation. All rights reserved. Last updated on Feb 1, 2023.