Skip to content

Commit b3ee8b6

Browse files
authored
Merge branch 'main' into jobs_auth
2 parents 19109b5 + ae91e02 commit b3ee8b6

File tree

7 files changed

+15
-8
lines changed

7 files changed

+15
-8
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

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
@@ -70,17 +70,15 @@ def preprocess(self, data, series_id=None):
7070
)
7171
def _build_model(self) -> pd.DataFrame:
7272
from automlx import init
73-
from sktime.forecasting.model_selection import temporal_train_test_split
73+
import logging
7474
try:
75-
init(engine="ray", engine_opts={"ray_setup": {"_temp_dir": "/tmp/ray-temp"}})
75+
init(engine="ray", engine_opts={"ray_setup": {"_temp_dir": "/tmp/ray-temp"}}, loglevel=logging.CRITICAL)
7676
except Exception as e:
7777
logger.info("Ray already initialized")
7878

79-
8079
full_data_dict = self.datasets.get_data_by_series()
8180

8281
self.models = dict()
83-
date_column = self.spec.datetime_column.name
8482
horizon = self.spec.horizon
8583
self.spec.confidence_interval_width = self.spec.confidence_interval_width or 0.8
8684
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

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)