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

Make add_relu an internal function #46676

Closed
wants to merge 5 commits into from

Conversation

albanD
Copy link
Collaborator

@albanD albanD commented Oct 21, 2020

Cleanup for 1.7

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@gchanan gchanan left a comment

Choose a reason for hiding this comment

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

this will require the BC allow list.

@dr-ci
Copy link

dr-ci bot commented Oct 21, 2020

💊 CI failures summary and remediations

As of commit 349a39c (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build pytorch_linux_bionic_rocm3_7_py3_6_build (1/1)

Step: "Build" (full log | diagnosis details | 🔁 rerun)

Oct 22 14:37:15 caused by: Connection refused (os error 111)
Oct 22 14:37:15 ++++ extract_trap_cmd 
Oct 22 14:37:15 ++++ printf '%s\n' '' 
Oct 22 14:37:15 +++ printf '%s\n' cleanup 
Oct 22 14:37:15 ++ trap -- ' 
Oct 22 14:37:15 cleanup' EXIT 
Oct 22 14:37:15 ++ [[ pytorch-linux-bionic-rocm3.7-py3.6-build != *pytorch-win-* ]] 
Oct 22 14:37:15 ++ which sccache 
Oct 22 14:37:15 ++ sccache --stop-server 
Oct 22 14:37:15 Stopping sccache server... 
Oct 22 14:37:15 error: couldn't connect to server 
Oct 22 14:37:15 caused by: Connection refused (os error 111) 
Oct 22 14:37:15 ++ true 
Oct 22 14:37:15 ++ rm /var/lib/jenkins/sccache_error.log 
Oct 22 14:37:15 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory 
Oct 22 14:37:15 ++ true 
Oct 22 14:37:15 ++ [[ pytorch-linux-bionic-rocm3.7-py3.6-build == *rocm* ]] 
Oct 22 14:37:15 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log 
Oct 22 14:37:15 ++ SCCACHE_IDLE_TIMEOUT=0 
Oct 22 14:37:15 ++ sccache --start-server 
Oct 22 14:37:15 Starting sccache server... 
Oct 22 14:37:15 ++ sccache --zero-stats 

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 19 times.

@albanD albanD requested a review from apaszke as a code owner October 21, 2020 22:24
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@gchanan gchanan left a comment

Choose a reason for hiding this comment

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

are you missing changes in:
./test/test_mobile_optimizer.py ?
./tools/code_analyzer/default_op_deps.yaml ?

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@albanD
Copy link
Collaborator Author

albanD commented Oct 22, 2020

Note that the remaining backward compat failures are due to upstream failure.

@@ -128,6 +128,8 @@
("aten::_foreach_addcdiv_", datetime.date(2020, 10, 15)),
("aten::_foreach_addcdiv", datetime.date(2020, 10, 15)),
("aten::_foreach_addcmul", datetime.date(2020, 10, 15)),
("aten::add_relu", datetime.date(2020, 10, 28)),
Copy link
Contributor

Choose a reason for hiding this comment

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

when you do the cherry pick can you change this to ", datetime.date(2020, 12, 1)), -- that's just an arbitrary date in the future past the expected release date that we've been using.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will do.

@albanD
Copy link
Collaborator Author

albanD commented Oct 22, 2020

TODO for follow up:

  • Rename all the internal functions as internal with _*
  • Consider moving to "python_module: nn" as it is nn specific

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@albanD has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@albanD merged this pull request in 27e2ea4.

albanD added a commit to albanD/pytorch that referenced this pull request Oct 23, 2020
Summary:
Cleanup for 1.7

Pull Request resolved: pytorch#46676

Reviewed By: gchanan

Differential Revision: D24458565

Pulled By: albanD

fbshipit-source-id: b1e4b4630233d3f1a4bac20e3077411d1ae17f7b

# Conflicts:
#	test/backward_compatibility/check_backward_compatibility.py
malfet pushed a commit that referenced this pull request Oct 23, 2020
Summary:
Cleanup for 1.7

Pull Request resolved: #46676

Reviewed By: gchanan

Differential Revision: D24458565

Pulled By: albanD

fbshipit-source-id: b1e4b4630233d3f1a4bac20e3077411d1ae17f7b

# Conflicts:
#	test/backward_compatibility/check_backward_compatibility.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants