Skip to content

Commit 6f27a1d

Browse files
committed
Merge branch 'main' of https://github.com/oracle/accelerated-data-science into forecast_series_failure_bugfixes
2 parents f086d2a + ae91e02 commit 6f27a1d

File tree

9 files changed

+17
-9
lines changed

9 files changed

+17
-9
lines changed

.github/workflows/run-operators-unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
python-version: ["3.8", "3.10.8"]
34+
python-version: ["3.8"]
3535

3636
steps:
3737
- uses: actions/checkout@v4

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @darenr @mayoor @mrDzurb @VipulMascarenhas @qiuosier

ads/common/serializer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def from_dict(
464464
)
465465

466466
obj = cls(
467-
**{key: obj_dict.get(key) for key in allowed_fields if key in obj_dict}
467+
**{key: obj_dict.get(key) for key in allowed_fields}
468468
)
469469

470470
for key, value in obj_dict.items():

ads/opctl/operator/lowcode/anomaly/model/automlx.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ class AutoMLXOperatorModel(AnomalyOperatorBaseModel):
2626
)
2727
def _build_model(self) -> pd.DataFrame:
2828
from automlx import init
29+
import logging
2930
try:
30-
init(engine="ray", engine_opts={"ray_setup": {"_temp_dir": "/tmp/ray-temp"}})
31+
init(engine="ray", engine_opts={"ray_setup": {"_temp_dir": "/tmp/ray-temp"}}, loglevel=logging.CRITICAL)
3132
except Exception as e:
3233
logger.info("Ray already initialized")
3334
date_column = self.spec.datetime_column.name

ads/opctl/operator/lowcode/forecast/environment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ dependencies:
1818
- optuna==3.1.0
1919
- oracle-automlx==23.4.1
2020
- oracle-automlx[forecasting]==23.4.1
21+
- fire

ads/opctl/operator/lowcode/forecast/model/automlx.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,15 @@ def preprocess(self, data, series_id=None): # TODO: re-use self.le for explanat
7676
)
7777
def _build_model(self) -> pd.DataFrame:
7878
from automlx import init
79-
from sktime.forecasting.model_selection import temporal_train_test_split
79+
import logging
8080
try:
81-
init(engine="ray", engine_opts={"ray_setup": {"_temp_dir": "/tmp/ray-temp"}})
81+
init(engine="ray", engine_opts={"ray_setup": {"_temp_dir": "/tmp/ray-temp"}}, loglevel=logging.CRITICAL)
8282
except Exception as e:
8383
logger.info("Ray already initialized")
8484

85-
8685
full_data_dict = self.datasets.get_data_by_series()
8786

8887
self.models = dict()
89-
date_column = self.spec.datetime_column.name
9088
horizon = self.spec.horizon
9189
self.spec.confidence_interval_width = self.spec.confidence_interval_width or 0.8
9290
self.forecast_output = ForecastOutput(

docs/source/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ Oracle Accelerated Data Science (ADS)
7979

8080
modules
8181

82+
.. admonition:: Introducing AI Quick Actions
83+
:class: note
84+
85+
Deploy, Fine Tune and Evaluate Large language models such as `Mistral-7B-Instruct-v0.2 <https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2>`__, `CodeLlama-13b-Instruct-hf <https://huggingface.co/codellama/CodeLlama-13b-Instruct-hf>`__, etc with just a couple of clicks.
86+
87+
Visit `AI Quick Actions documentation <https://github.com/oracle-samples/oci-data-science-ai-samples/tree/main/ai-quick-actions>`__ for the latest information
88+
8289
.. admonition:: Oracle Accelerated Data Science (ADS)
8390
:class: note
8491

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ pii = [
179179
"spacy-transformers==1.2.5",
180180
"spacy==3.6.1",
181181
]
182-
llm = ["langchain>=0.1.10", "evaluate>=0.4.0"]
182+
llm = ["langchain-community<0.0.32", "langchain>=0.1.10,<0.1.14", "evaluate>=0.4.0"]
183183
aqua = ["jupyter_server"]
184184

185185
# To reduce backtracking (decrese deps install time) during test/dev env setup reducing number of versions pip is

test-requirements-operators.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-r test-requirements.txt
22
-e ".[forecast]"
33
-e ".[feature-store-marketplace]"
4-
darts
4+
darts>=0.28
55
plotly

0 commit comments

Comments
 (0)