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

fix incorrect torch env population #1361

Merged
merged 1 commit into from
Aug 15, 2021

Conversation

Jeffwan
Copy link
Member

@Jeffwan Jeffwan commented Aug 14, 2021

Address #1358

PR concludes two changes

  1. Apply strings.ToLower() on ReplicaType before string comparison. This is definitely a bug when we migrate PyTorch to kubelfow/common fashion.

https://github.com/kubeflow/tf-operator/blob/52cddeceba1e31e54a2e34551f486675fafabda2/pkg/controller.v1/pytorch/pytorch.go#L32-L33

  1. Update incorrect logs names. I think @zw0610 may forget to clean them up in last PR add pytorch API and controller #1294

/cc @andreyvelich @zw0610 @kubeflow/wg-training-leads

@Jeffwan
Copy link
Member Author

Jeffwan commented Aug 14, 2021

@andreyvelich Please try this image "kubeflow/training-operator:4d4cf6485eb40d4e6e4badb03d341b8b78c2ec92"

Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

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

Thanks @Jeffwan!
/lgtm

Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

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

/lgtm

@Jeffwan
Copy link
Member Author

Jeffwan commented Aug 15, 2021

Seems cleanRunPolicy test case is flaky. This PR doesn't even touch TensorFlow codes..

/test kubeflow-tf-operator-presubmit

@Jeffwan
Copy link
Member Author

Jeffwan commented Aug 15, 2021

/approve

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Jeffwan, terrytangyuan

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

@google-oss-robot google-oss-robot merged commit fb013e4 into kubeflow:master Aug 15, 2021
@Jeffwan Jeffwan deleted the fix_pytorch_rank_issue branch August 15, 2021 02:34
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.

4 participants