@@ -1224,22 +1224,22 @@ def test_import_model_with_input_tags(
12241224 "model" : "oracle/oracle-1it" ,
12251225 "inference_container" : "odsc-vllm-serving" ,
12261226 },
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" ,
12281228 ),
12291229 (
12301230 {
12311231 "os_path" : "oci://aqua-bkt@aqua-ns/path" ,
12321232 "model" : "ocid1.datasciencemodel.oc1.iad.<OCID>" ,
12331233 },
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 " ,
12351235 ),
12361236 (
12371237 {
12381238 "os_path" : "oci://aqua-bkt@aqua-ns/path" ,
12391239 "model" : "oracle/oracle-1it" ,
12401240 "download_from_hf" : False ,
12411241 },
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 " ,
12431243 ),
12441244 (
12451245 {
@@ -1248,7 +1248,7 @@ def test_import_model_with_input_tags(
12481248 "download_from_hf" : True ,
12491249 "model_file" : "test_model_file" ,
12501250 },
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" ,
12521252 ),
12531253 (
12541254 {
@@ -1257,7 +1257,7 @@ def test_import_model_with_input_tags(
12571257 "inference_container" : "odsc-tei-serving" ,
12581258 "inference_container_uri" : "<region>.ocir.io/<your_tenancy>/<your_image>" ,
12591259 },
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>" ,
12611261 ),
12621262 (
12631263 {
@@ -1268,7 +1268,7 @@ def test_import_model_with_input_tags(
12681268 "defined_tags" : {"dtag1" : "dvalue1" , "dtag2" : "dvalue2" },
12691269 },
12701270 "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 "
12721272 '{"ftag1": "fvalue1", "ftag2": "fvalue2"} --defined_tags {"dtag1": "dvalue1", "dtag2": "dvalue2"}' ,
12731273 ),
12741274 (
@@ -1277,6 +1277,7 @@ def test_import_model_with_input_tags(
12771277 "model" : "oracle/oracle-1it" ,
12781278 "inference_container" : "odsc-vllm-serving" ,
12791279 "ignore_model_artifact_check" : True ,
1280+ "cleanup_model_cache" : True ,
12801281 },
12811282 "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" ,
12821283 ),
0 commit comments