Skip to content

Commit 6fd9b03

Browse files
authored
Fixed generic model save() issue (#347)
2 parents f1c5390 + d72098c commit 6fd9b03

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ads/model/model_artifact_boilerplate/artifact_introspection_test/model_artifact_validate.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
HTML_PATH = os.path.join(_cwd, "resources", "template.html")
3131
CONFIG_PATH = os.path.join(_cwd, "resources", "config.yaml")
3232
PYTHON_VER_PATTERN = "^([3])(\.[6-9])(\.\d+)?$"
33-
PAR_URL = "https://objectstorage.us-ashburn-1.oraclecloud.com/p/Ri7zFc_h91sxMdgnza9Qnqw3Ina8hf8wzDvEpAnUXMDOnUR1U1fpsaBUjUfgPgIq/n/ociodscdev/b/service-conda-packs/o/service_pack/index.json"
33+
PAR_URL = "https://objectstorage.us-ashburn-1.oraclecloud.com/p/WyjtfVIG0uda-P3-2FmAfwaLlXYQZbvPZmfX1qg0-sbkwEQO6jpwabGr2hMDBmBp/n/ociodscdev/b/service-conda-packs/o/service_pack/index.json"
3434

3535
TESTS = {
3636
"score_py": {
@@ -195,7 +195,9 @@ def check_runtime_yml(file_path) -> Tuple[bool, str]:
195195
return False, TESTS["runtime_path_exist"]["error_msg"]
196196
else:
197197
TESTS["runtime_path_exist"]["success"] = False
198-
return False, TESTS["runtime_path_exist"]["error_msg"]
198+
TESTS["runtime_path_exist"][
199+
"error_msg"
200+
] = "WARNING: Unable to validate if INFERENCE_ENV_PATH exists. Please check if you have internet access."
199201
else:
200202
bucket_name = env_path.username
201203
namespace = env_path.hostname

0 commit comments

Comments
 (0)