Skip to content

Commit

Permalink
fix link error to tf-laucher
Browse files Browse the repository at this point in the history
  • Loading branch information
hougangliu committed Jan 30, 2019
1 parent 9d28907 commit f361365
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
6 changes: 5 additions & 1 deletion .cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,12 @@ steps:
id: 'buildDeployer'
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/kubeflow/launcher && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
args: ['-c', 'cd /workspace/components/kubeflow/tf-launcher && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildLauncher'
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/kubeflow/katib-launcher && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA']
id: 'buildKatibLauncher'
- name: 'gcr.io/cloud-builders/docker'
entrypoint: '/bin/bash'
args: ['-c', 'cd /workspace/components/kubeflow/dnntrainer && ./build_image.sh -p $PROJECT_ID -t $COMMIT_SHA -l ml-pipeline-kubeflow-tf-trainer-gpu -b 1.6.0-gpu']
Expand Down
5 changes: 2 additions & 3 deletions components/kubeflow/tf-launcher/test/test_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@


import launcher
from launcher import train
import os
import shutil
import subprocess
Expand All @@ -36,7 +35,7 @@ def test_yaml_generation_basic(self):
pss = 1
args_list = []
args_list.append('--learning-rate=0.1')
generated_yaml = train._generate_train_yaml(train_template_file, tfjob_ns, worker, pss, args_list)
generated_yaml = _generate_train_yaml(train_template_file, tfjob_ns, worker, pss, args_list)
with open(os.path.join(test_data_dir, 'train_basic.yaml'), 'r') as f:
golden = yaml.load(f)
self.assertEqual(golden, generated_yaml)
Expand All @@ -51,7 +50,7 @@ def test_yaml_generation_advanced(self):
args_list = []
tfjob_ns = 'kubeflow'
args_list.append('--learning-rate=0.1')
generated_yaml = train._generate_train_yaml(train_template_file, tfjob_ns, worker, pss, args_list)
generated_yaml = _generate_train_yaml(train_template_file, tfjob_ns, worker, pss, args_list)
with open(os.path.join(test_data_dir, 'train_zero_worker.yaml'), 'r') as f:
golden = yaml.load(f)
self.assertEqual(golden, generated_yaml)
Expand Down
4 changes: 2 additions & 2 deletions samples/kubeflow-tf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ Preprocessing:
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/tft)

Training:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/launcher/src),
[container](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/launcher)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/tf-launcher/src),
[container](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/tf-launcher)

Prediction:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/predict/src),
Expand Down
4 changes: 2 additions & 2 deletions samples/tfx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Preprocessing:
[container](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/tft)

Training:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/launcher/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/launcher)
[source code](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/tf-launcher/src)
[container](https://github.com/kubeflow/pipelines/tree/master/components/kubeflow/tf-launcher)

Analysis:
[source code](https://github.com/kubeflow/pipelines/tree/master/components/dataflow/tfma/src)
Expand Down

0 comments on commit f361365

Please sign in to comment.