[CI] Install dill in ci#116214
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/116214
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 6e2cf50 with merge base 5ec2d79 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
…ll in ci" cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
| def test_multiprocessing_iterdatapipe(self): | ||
| self._test_multiprocessing_iterdatapipe(with_dill=False) | ||
|
|
||
| @unittest.expectedFailure |
There was a problem hiding this comment.
This test fails in CI when the HAS_DILL code is active, so keeping the non-dill version active and xfailing the version with dill for now.
|
ping @malfet |
malfet
left a comment
There was a problem hiding this comment.
Looks good to me, but it feels like this PR solves the problem when tests are running with dill, but does not test that PyTorch will not accidentally introduce unconditional dependency on dill, because its present in all CI configs.
Can we somehow keep one of the Linux CPU configs without dill(i.e. modify one of the test configs not uninstall dill before running the tests)
.ci/docker/requirements-ci.txt
Outdated
| #Pinned versions: | ||
| #test that import: | ||
|
|
||
| dill |
There was a problem hiding this comment.
Please specify the version that you want to use.
We have CI tests that depend on `dill` but none of the CI runners have it installed. This installs `dill` and fixes a bunch of broken tests and refactoring how dill is imported to avoid changing the default pickle behavior. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
We have CI tests that depend on `dill` but none of the CI runners have it installed. This installs `dill` and fixes a bunch of broken tests and refactoring how dill is imported to avoid changing the default pickle behavior. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
We have CI tests that depend on `dill` but none of the CI runners have it installed. This installs `dill` and fixes a bunch of broken tests and refactoring how dill is imported to avoid changing the default pickle behavior. cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 aakhundov kadeng [ghstack-poisoned]
ghstack-source-id: 3c853c4 Pull Request resolved: pytorch#116214
[ghstack-poisoned]
[ghstack-poisoned]
…6215) This adds a reproducer for a failure that has since been fixed in main. Pull Request resolved: #116215 Approved by: https://github.com/jansel ghstack dependencies: #116230, #116214
Stack from ghstack (oldest at bottom):
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @aakhundov @kadeng