@@ -274,13 +274,13 @@ func deployONNXContainer(api *spec.API, awsClient *aws.Client) error {
274
274
_defaultPortStr + "/tcp" : struct {}{},
275
275
},
276
276
Labels : map [string ]string {
277
- "cortex" : "true" ,
278
- "type" : _apiContainerName ,
279
- "apiID" : api .ID ,
280
- "specID" : api .SpecID ,
281
- "predictorID" : api .PredictorID ,
282
- "apiName" : api .Name ,
283
- "modelIDs" : ModelCaches (api .LocalModelCaches ).IDs (),
277
+ "cortex" : "true" ,
278
+ "type" : _apiContainerName ,
279
+ "apiID" : api .ID ,
280
+ "specID" : api .SpecID ,
281
+ "predictorID" : api .PredictorID ,
282
+ "apiName" : api .Name ,
283
+ "localModelIDs" : ModelCaches (api .LocalModelCaches ).IDs (),
284
284
},
285
285
}
286
286
containerInfo , err := docker .MustDockerClient ().ContainerCreate (context .Background (), containerConfig , hostConfig , nil , "" )
@@ -383,13 +383,13 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
383
383
_tfServingPortStr + "/tcp" : struct {}{},
384
384
},
385
385
Labels : map [string ]string {
386
- "cortex" : "true" ,
387
- "type" : _tfServingContainerName ,
388
- "apiID" : api .ID ,
389
- "specID" : api .SpecID ,
390
- "predictorID" : api .PredictorID ,
391
- "apiName" : api .Name ,
392
- "modelIDs" : ModelCaches (api .LocalModelCaches ).IDs (),
386
+ "cortex" : "true" ,
387
+ "type" : _tfServingContainerName ,
388
+ "apiID" : api .ID ,
389
+ "specID" : api .SpecID ,
390
+ "predictorID" : api .PredictorID ,
391
+ "apiName" : api .Name ,
392
+ "localModelIDs" : ModelCaches (api .LocalModelCaches ).IDs (),
393
393
},
394
394
}
395
395
@@ -454,13 +454,13 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
454
454
_defaultPortStr + "/tcp" : struct {}{},
455
455
},
456
456
Labels : map [string ]string {
457
- "cortex" : "true" ,
458
- "type" : _apiContainerName ,
459
- "apiID" : api .ID ,
460
- "specID" : api .SpecID ,
461
- "predictorID" : api .PredictorID ,
462
- "apiName" : api .Name ,
463
- "modelIDs" : ModelCaches (api .LocalModelCaches ).IDs (),
457
+ "cortex" : "true" ,
458
+ "type" : _apiContainerName ,
459
+ "apiID" : api .ID ,
460
+ "specID" : api .SpecID ,
461
+ "predictorID" : api .PredictorID ,
462
+ "apiName" : api .Name ,
463
+ "localModelIDs" : ModelCaches (api .LocalModelCaches ).IDs (),
464
464
},
465
465
}
466
466
containerCreateRequest , err = docker .MustDockerClient ().ContainerCreate (context .Background (), apiContainerConfig , apiHostConfig , nil , "" )
0 commit comments