Skip to content

Commit acb082d

Browse files
committed
fixed example: update tensorflow pack used in example
1 parent d9791a5 commit acb082d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ads/jobs/ads_job.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Job(Builder):
4949
.with_runtime(
5050
ScriptRuntime()
5151
.with_source("oci://bucket_name@namespace/path/to/script.py")
52-
.with_service_conda("tensorflow26_p37_cpu_v2")
52+
.with_service_conda("tensorflow28_p38_cpu_v1")
5353
.with_environment_variable(ENV="value")
5454
.with_argument("argument", key="value")
5555
.with_freeform_tag(tag_name="tag_value")
@@ -79,7 +79,7 @@ class Job(Builder):
7979
.with_runtime(
8080
NotebookRuntime()
8181
.with_notebook("path/to/notebook.ipynb")
82-
.with_service_conda(tensorflow26_p37_cpu_v2")
82+
.with_service_conda("tensorflow28_p38_cpu_v1")
8383
# Saves the notebook with outputs to OCI object storage.
8484
.with_output("oci://bucket_name@namespace/path/to/dir")
8585
)

docs/source/user_guide/jobs/data_science_job.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ All of these runtime options allow you to configure a `Data Science Conda Enviro
9999
runtime = (
100100
ScriptRuntime()
101101
.with_source("oci://bucket_name@namespace/path/to/script.py")
102-
.with_service_conda("tensorflow26_p37_cpu_v2")
102+
.with_service_conda("tensorflow28_p38_cpu_v1")
103103
)
104104
105105
You can store your source code in a local file path or location supported by `fsspec <https://filesystem-spec.readthedocs.io/en/latest/>`__, including OCI Object Storage.
@@ -123,7 +123,7 @@ You can also configure the environment variables, command line arguments, and fr
123123
runtime = (
124124
ScriptRuntime()
125125
.with_source("oci://bucket_name@namespace/path/to/script.py")
126-
.with_service_conda("tensorflow26_p37_cpu_v2")
126+
.with_service_conda("tensorflow28_p38_cpu_v1")
127127
.with_environment_variable(ENV="value")
128128
.with_argument("argument", key="value")
129129
.with_freeform_tag(tag_name="tag_value")
@@ -249,7 +249,7 @@ Here is an example of a YAML file representing the job defined in the preceding
249249
type: script
250250
spec:
251251
conda:
252-
slug: tensorflow26_p37_cpu_v2
252+
slug: tensorflow28_p38_cpu_v1
253253
type: service
254254
scriptPathURI: oci://bucket_name@namespace/path/to/script.py
255255

docs/source/user_guide/jobs/run_notebook.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Python
3434
path="https://raw.githubusercontent.com/tensorflow/docs/master/site/en/tutorials/customization/basics.ipynb",
3535
encoding='utf-8'
3636
)
37-
.with_service_conda(tensorflow26_p37_cpu_v2")
37+
.with_service_conda("tensorflow28_p38_cpu_v1")
3838
.with_environment_variable(GREETINGS="Welcome to OCI Data Science")
3939
.with_output("oci://bucket_name@namespace/path/to/dir")
4040
)
@@ -84,7 +84,7 @@ You could use the following YAML to create the job:
8484
spec:
8585
notebookPathURI: /path/to/notebook
8686
conda:
87-
slug: tensorflow26_p37_cpu_v1
87+
slug: tensorflow28_p38_cpu_v1
8888
type: service
8989
9090
**NotebookRuntime Schema**

0 commit comments

Comments
 (0)