@@ -1228,22 +1228,22 @@ def test_import_model_with_input_tags(
1228
1228
"model" : "oracle/oracle-1it" ,
1229
1229
"inference_container" : "odsc-vllm-serving" ,
1230
1230
},
1231
- "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache True --inference_container odsc-vllm-serving" ,
1231
+ "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache False --inference_container odsc-vllm-serving" ,
1232
1232
),
1233
1233
(
1234
1234
{
1235
1235
"os_path" : "oci://aqua-bkt@aqua-ns/path" ,
1236
1236
"model" : "ocid1.datasciencemodel.oc1.iad.<OCID>" ,
1237
1237
},
1238
- "ads aqua model register --model ocid1.datasciencemodel.oc1.iad.<OCID> --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache True " ,
1238
+ "ads aqua model register --model ocid1.datasciencemodel.oc1.iad.<OCID> --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache False " ,
1239
1239
),
1240
1240
(
1241
1241
{
1242
1242
"os_path" : "oci://aqua-bkt@aqua-ns/path" ,
1243
1243
"model" : "oracle/oracle-1it" ,
1244
1244
"download_from_hf" : False ,
1245
1245
},
1246
- "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf False --cleanup_model_cache True " ,
1246
+ "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf False --cleanup_model_cache False " ,
1247
1247
),
1248
1248
(
1249
1249
{
@@ -1252,7 +1252,7 @@ def test_import_model_with_input_tags(
1252
1252
"download_from_hf" : True ,
1253
1253
"model_file" : "test_model_file" ,
1254
1254
},
1255
- "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache True --model_file test_model_file" ,
1255
+ "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache False --model_file test_model_file" ,
1256
1256
),
1257
1257
(
1258
1258
{
@@ -1261,7 +1261,7 @@ def test_import_model_with_input_tags(
1261
1261
"inference_container" : "odsc-tei-serving" ,
1262
1262
"inference_container_uri" : "<region>.ocir.io/<your_tenancy>/<your_image>" ,
1263
1263
},
1264
- "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache True --inference_container odsc-tei-serving --inference_container_uri <region>.ocir.io/<your_tenancy>/<your_image>" ,
1264
+ "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache False --inference_container odsc-tei-serving --inference_container_uri <region>.ocir.io/<your_tenancy>/<your_image>" ,
1265
1265
),
1266
1266
(
1267
1267
{
@@ -1272,7 +1272,7 @@ def test_import_model_with_input_tags(
1272
1272
"defined_tags" : {"dtag1" : "dvalue1" , "dtag2" : "dvalue2" },
1273
1273
},
1274
1274
"ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path "
1275
- "--download_from_hf True --cleanup_model_cache True --inference_container odsc-vllm-serving --freeform_tags "
1275
+ "--download_from_hf True --cleanup_model_cache False --inference_container odsc-vllm-serving --freeform_tags "
1276
1276
'{"ftag1": "fvalue1", "ftag2": "fvalue2"} --defined_tags {"dtag1": "dvalue1", "dtag2": "dvalue2"}' ,
1277
1277
),
1278
1278
(
@@ -1281,6 +1281,7 @@ def test_import_model_with_input_tags(
1281
1281
"model" : "oracle/oracle-1it" ,
1282
1282
"inference_container" : "odsc-vllm-serving" ,
1283
1283
"ignore_model_artifact_check" : True ,
1284
+ "cleanup_model_cache" : True ,
1284
1285
},
1285
1286
"ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf True --cleanup_model_cache True --inference_container odsc-vllm-serving --ignore_model_artifact_check True" ,
1286
1287
),
0 commit comments