@@ -1224,22 +1224,22 @@ def test_import_model_with_input_tags(
1224
1224
"model" : "oracle/oracle-1it" ,
1225
1225
"inference_container" : "odsc-vllm-serving" ,
1226
1226
},
1227
- "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" ,
1227
+ "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" ,
1228
1228
),
1229
1229
(
1230
1230
{
1231
1231
"os_path" : "oci://aqua-bkt@aqua-ns/path" ,
1232
1232
"model" : "ocid1.datasciencemodel.oc1.iad.<OCID>" ,
1233
1233
},
1234
- "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 " ,
1234
+ "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 " ,
1235
1235
),
1236
1236
(
1237
1237
{
1238
1238
"os_path" : "oci://aqua-bkt@aqua-ns/path" ,
1239
1239
"model" : "oracle/oracle-1it" ,
1240
1240
"download_from_hf" : False ,
1241
1241
},
1242
- "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf False --cleanup_model_cache True " ,
1242
+ "ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path --download_from_hf False --cleanup_model_cache False " ,
1243
1243
),
1244
1244
(
1245
1245
{
@@ -1248,7 +1248,7 @@ def test_import_model_with_input_tags(
1248
1248
"download_from_hf" : True ,
1249
1249
"model_file" : "test_model_file" ,
1250
1250
},
1251
- "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" ,
1251
+ "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" ,
1252
1252
),
1253
1253
(
1254
1254
{
@@ -1257,7 +1257,7 @@ def test_import_model_with_input_tags(
1257
1257
"inference_container" : "odsc-tei-serving" ,
1258
1258
"inference_container_uri" : "<region>.ocir.io/<your_tenancy>/<your_image>" ,
1259
1259
},
1260
- "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>" ,
1260
+ "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>" ,
1261
1261
),
1262
1262
(
1263
1263
{
@@ -1268,7 +1268,7 @@ def test_import_model_with_input_tags(
1268
1268
"defined_tags" : {"dtag1" : "dvalue1" , "dtag2" : "dvalue2" },
1269
1269
},
1270
1270
"ads aqua model register --model oracle/oracle-1it --os_path oci://aqua-bkt@aqua-ns/path "
1271
- "--download_from_hf True --cleanup_model_cache True --inference_container odsc-vllm-serving --freeform_tags "
1271
+ "--download_from_hf True --cleanup_model_cache False --inference_container odsc-vllm-serving --freeform_tags "
1272
1272
'{"ftag1": "fvalue1", "ftag2": "fvalue2"} --defined_tags {"dtag1": "dvalue1", "dtag2": "dvalue2"}' ,
1273
1273
),
1274
1274
(
@@ -1277,6 +1277,7 @@ def test_import_model_with_input_tags(
1277
1277
"model" : "oracle/oracle-1it" ,
1278
1278
"inference_container" : "odsc-vllm-serving" ,
1279
1279
"ignore_model_artifact_check" : True ,
1280
+ "cleanup_model_cache" : True ,
1280
1281
},
1281
1282
"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" ,
1282
1283
),
0 commit comments