Skip to content

Commit cb58451

Browse files
authored
Merge pull request GoogleCloudPlatform#168 from GoogleCloudPlatform/ajayhemnani-patch-4
Update runner.py
2 parents e810c33 + 401a558 commit cb58451

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

workshops/tfx-caip-tf23/lab-04-tfx-metadata/labs/lab-04.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"Update the below constants with the settings reflecting your lab environment.\n",
148148
"\n",
149149
"- `GCP_REGION` - the compute region for AI Platform Training and Prediction\n",
150-
"- `ARTIFACT_STORE` - the GCS bucket created during installation of AI Platform Pipelines. The bucket name starts with the `kubeflowpipelines-` prefix. Alternatively, you can specify create a new storage bucket to write pipeline artifacts to."
150+
"- `ARTIFACT_STORE` - the GCS bucket created during installation of AI Platform Pipelines. The bucket name starts with the `kubeflowpipelines-` prefix. Alternatively, you can specify create a new storage bucket to write pipeline artifacts to. When specifying the bucket, do not use the trailing slash (/) at the end of the bucket name."
151151
]
152152
},
153153
{

workshops/tfx-caip-tf23/lab-04-tfx-metadata/labs/pipeline/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
beam_tmp_folder = '{}/beam/tmp'.format(Config.ARTIFACT_STORE_URI)
4949
beam_pipeline_args = [
50-
'--runner=DataflowRunner',
50+
'--runner=DirectRunner',
5151
'--experiments=shuffle_mode=auto',
5252
'--project=' + Config.PROJECT_ID,
5353
'--temp_location=' + beam_tmp_folder,

workshops/tfx-caip-tf23/lab-04-tfx-metadata/solutions/lab-04.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"Update the below constants with the settings reflecting your lab environment.\n",
148148
"\n",
149149
"- `GCP_REGION` - the compute region for AI Platform Training and Prediction\n",
150-
"- `ARTIFACT_STORE` - the GCS bucket created during installation of AI Platform Pipelines. The bucket name starts with the `kubeflowpipelines-` prefix. Alternatively, you can specify create a new storage bucket to write pipeline artifacts to."
150+
"- `ARTIFACT_STORE` - the GCS bucket created during installation of AI Platform Pipelines. The bucket name starts with the `kubeflowpipelines-` prefix. Alternatively, you can specify create a new storage bucket to write pipeline artifacts to. When specifying the bucket, do not use the trailing slash (/) at the end of the bucket name."
151151
]
152152
},
153153
{

workshops/tfx-caip-tf23/lab-04-tfx-metadata/solutions/pipeline/runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
beam_tmp_folder = '{}/beam/tmp'.format(Config.ARTIFACT_STORE_URI)
4949
beam_pipeline_args = [
50-
'--runner=DataflowRunner',
50+
'--runner=DirectRunner',
5151
'--experiments=shuffle_mode=auto',
5252
'--project=' + Config.PROJECT_ID,
5353
'--temp_location=' + beam_tmp_folder,

0 commit comments

Comments
 (0)