NVIDIA Clara Deploy SDK User Guide
1.0

Models UploadModel RPC

Requests the uploads of a new model to model repository.

rpc UploadModel(stream ModelsUploadModelRequest) returns (ModelsUploadModelResponse);

Messages

  • ModelsUploadModelRequest
  • ModelsUploadModelResponse
Copy
Copied!
            

message ModelsUploadModelRequest { RequestHeader header = 1; ModelDetails details = 2; bytes data = 4; }


Properties

type: message

Standard RPC request header.

See RequestHeader for details.

details

type: message

Description of the model.

See (ModelDetails)[model-details.md] for additional details.

data

type: bytes

Contents of Model as a compressed zip stream.


ModelsUploadModelResponse

Copy
Copied!
            

message ModelsUploadModelResponse { ResponseHeader header = 1; ModelDetails details = 2; }


Clara Deploy SDK Models service will respond to any delete request with a ModelsListModelsResponse 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 of the uploaded model.

See (ModelDetails)[model-details.md] for additional details.

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