Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFjob v1 launcher #2677

Merged
merged 2 commits into from
Dec 10, 2019
Merged

TFjob v1 launcher #2677

merged 2 commits into from
Dec 10, 2019

Conversation

hougangliu
Copy link
Member

@hougangliu hougangliu commented Nov 28, 2019

This change is Reviewable


ENV TRAINER_IMAGE_NAME $TRAINER_IMAGE_NAME
RUN apt-get update -y && \
apt-get install --no-install-recommends -y -q ca-certificates python-dev python-setuptools wget && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably switch to python3 at some point.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so

args.namespace, args.name, expected_conditions,
timeout=datetime.timedelta(minutes=args.tfjobTimeoutMinutes))
if args.deleteAfterDone:
tfjob.delete(args.name, args.namespace)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be a good idea to keep the indent the same throughout the file. 4 spaces seems to be the Python's preferred style.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, updated

@Ark-kun
Copy link
Contributor

Ark-kun commented Dec 2, 2019

A general question (for a future PR): How hard would it be to install TFJob CR on-demand if it's missing?

Copy link
Member Author

@hougangliu hougangliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A general question (for a future PR): How hard would it be to install TFJob CR on-demand if it's missing?

I think the effort is little, after create TFJob CR, we only need watch it and once it is missing, recreate it. All APIs are ready.

@hougangliu
Copy link
Member Author

/retest

tfjobTimeoutMinutes=60,
deleteAfterDone=False):
tfjob_launcher_op = components.load_component_from_file("./component.yaml")
# tfjob_launcher_op = components.load_component_from_url('https://raw.githubusercontent.com/kubeflow/pipelines/master/components/kubeflow/launcher/component.yaml')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JFYI, the link already exists (use your commit hash instead of master).

@Ark-kun
Copy link
Contributor

Ark-kun commented Dec 10, 2019

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 2923af7 into kubeflow:master Dec 10, 2019
@hougangliu hougangliu deleted the tfjob branch December 11, 2019 02:48
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
…ow#2677)

Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.0.1 to 9.3.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](python-pillow/Pillow@9.0.1...9.3.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants