import_model
- import_model(
model_name: string,
registry_name: string,
container: string,
run_function: string,
model_type: string,
options?: Record<string, string>,
callback?: GPUdbCallback,
): Promise<ImportModelResponse>Parameters
- model_name: string
- registry_name: string
Name of the registry that has the container.
- container: string
Name of the container that has the model.
- run_function: string
The absolute path to the run_function.
- model_type: string
Type of the deployment.
Optionaloptions: Record<string, string>Optional parameters.
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<ImportModelResponse>
Promise<Types.ImportModelResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:11261
import_model_request
- import_model_request(
request: ImportModelRequest,
callback?: GPUdbCallback,
): Promise<ImportModelResponse>Parameters
- request: ImportModelRequest
Request object containing the parameters for the operation
Optionalcallback: GPUdbCallbackOptional callback function
Returns Promise<ImportModelResponse>
Promise<Types.ImportModelResponse> - Promise resolving to the response
- Defined in src/GPUdb.ts:11232
- request: ImportModelRequest
Name of the model to be imported.