Skip to content

Commit 0ce0985

Browse files
Hot fix for config load issue (#882)
2 parents 48fa593 + 476b589 commit 0ce0985

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

ads/aqua/app.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,15 @@ def get_config(self, model_id: str, config_file_name: str) -> Dict:
303303
config_file_name=config_file_name,
304304
)
305305
except:
306-
pass
306+
# todo: temp fix for issue related to config load for byom models, update logic to choose the right path
307+
try:
308+
config_path = f"{artifact_path.rstrip('/')}/config/"
309+
config = load_config(
310+
config_path,
311+
config_file_name=config_file_name,
312+
)
313+
except:
314+
pass
307315

308316
if not config:
309317
logger.error(

docs/source/release_notes.rst

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
Release Notes
33
=============
44

5+
2.11.12
6+
------
7+
Release date: June 13, 2024
8+
9+
* Fixed bugs and introduced enhancements following our recent release.
10+
11+
512
2.11.11
613
------
714
Release date: June 11, 2024

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build-backend = "flit_core.buildapi"
2121

2222
# Required
2323
name = "oracle_ads" # the install (PyPI) name; name for local build in [tool.flit.module] section below
24-
version = "2.11.11"
24+
version = "2.11.12"
2525

2626
# Optional
2727
description = "Oracle Accelerated Data Science SDK"

0 commit comments

Comments
 (0)