Repository navigation
update test_rpc - #62781
update test_rpc#62781tktrungna wants to merge 11 commits into
Conversation
[ghstack-poisoned]
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 0d7b31a (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
| Job | Step | Action |
|---|---|---|
| Run tests | 🔁 rerun | |
| Report results | 🔁 rerun | |
| Run tests | 🔁 rerun | |
| Run tests | 🔁 rerun | |
| Run tests | 🔁 rerun | |
| Run tests | 🔁 rerun | |
| Doc Build and Push | 🔁 rerun | |
| Run tests | 🔁 rerun | |
| Run tests | 🔁 rerun |
ci.pytorch.org: 1 failed
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 to the (internal) Dr. CI Users group.
[ghstack-poisoned]
|
@tktrungna has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
|
@tktrungna has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
|
@tktrungna has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
I added the master workflow just in case--especially as it seems test_rpc is only run for non-shard jobs, and the nonsharded jobs we have on PRs are CPU only. |
Fixes #62380 * update test functions to call wheel install folder {sitepackages}/torch instead of build/ folder * add symbolic link for shared libraries which are called by the tests (this is a bit hacky and should be fixed the rpath before compiling -- similar to https://github.com/pytorch/pytorch/blob/master/.jenkins/pytorch/test.sh#L204-L208). ### Test plan check if all ci workflows pass Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
|
@tktrungna has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Fixes #62380 * update test functions to call wheel install folder {sitepackages}/torch instead of build/ folder * add symbolic link for shared libraries which are called by the tests (this is a bit hacky and should be fixed the rpath before compiling -- similar to https://github.com/pytorch/pytorch/blob/master/.jenkins/pytorch/test.sh#L204-L208). ### Test plan check if all ci workflows pass Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
Fixes #62380 * update test functions to call wheel install folder {sitepackages}/torch instead of build/ folder * add symbolic link for shared libraries which are called by the tests (this is a bit hacky and should be fixed the rpath before compiling -- similar to https://github.com/pytorch/pytorch/blob/master/.jenkins/pytorch/test.sh#L204-L208). ### Test plan check if all ci workflows pass Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
| ln -sf "$TORCH_LIB_DIR"/libtorch* "$TORCH_BIN_DIR" | ||
| ln -sf "$TORCH_LIB_DIR"/libc10* "$TORCH_BIN_DIR" | ||
| ln -sf "$TORCH_LIB_DIR"/libtbb* "$TORCH_BIN_DIR" |
There was a problem hiding this comment.
Wondering if there's way that we can notify people if they build more binaries that need to be included for test
There was a problem hiding this comment.
I am struggling with this part too, as adding sym links doesn't seem to be an intuitive way to write test (as one may expect the executable file under installed bin to find the shared library in lib). Not sure this one https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling is a good reference but I will create an issue to follow up this part
|
@tktrungna has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Fixes #62380 * update test functions to call wheel install folder {sitepackages}/torch instead of build/ folder * add symbolic link for shared libraries which are called by the tests (this is a bit hacky and should be fixed the rpath before compiling -- similar to https://github.com/pytorch/pytorch/blob/master/.jenkins/pytorch/test.sh#L204-L208). ### Test plan check if all ci workflows pass Differential Revision: [D30124391](https://our.internmc.facebook.com/intern/diff/D30124391) [ghstack-poisoned]
|
@tktrungna has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
@tktrungna merged this pull request in 25c3b9d. |
Summary: Pull Request resolved: #62781 Test Plan: Imported from OSS Reviewed By: walterddr, zhouzhuojie Differential Revision: D30124391 Pulled By: tktrungna fbshipit-source-id: 99c275d6c9f23b4f274fd0ca19a16879ed27afd5
Fixes #62380
Test plan
check if all ci workflows pass
Stack from ghstack:
Differential Revision: D30124391