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

[QNNPACK, Sparsity] Add wrapper for the kernels #51150

Closed
wants to merge 4 commits into from

Conversation

kimishpatel
Copy link
Contributor

@kimishpatel kimishpatel commented Jan 26, 2021

Stack from ghstack:

Summary:
Following QNNPACK methodology, add wrappers for the sparse kernels

Test Plan:
q8gemm-sparse-test

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D26089285

Summary:
Following QNNPACK methodology, add wrappers for the sparse kernels

Test Plan:
q8gemm-sparse-test

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jan 26, 2021

💊 CI failures summary and remediations

As of commit 7cf449b (more details on the Dr. CI page):


  • 6/10 failures possibly* introduced in this PR
    • 2/6 non-CircleCI failure(s)
  • 4/10 broken upstream at merge base 001938d on Jan 26 from 12:49pm to 6:17pm

🕵️ 4 new failures recognized by patterns

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

See CircleCI build pytorch_windows_vs2019_py36_cuda10.1_test2 (1/4)

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

RuntimeError: distributed/test_distributed_spawn failed!
  File "C:\Users\circleci\project\build\win_tmp\build\torch\distributed\algorithms\ddp_comm_hooks\__init__.py", line 7, in <module>
    from . import (
  File "C:\Users\circleci\project\build\win_tmp\build\torch\distributed\algorithms\ddp_comm_hooks\powerSGD_hook.py", line 7, in <module>
    import torch.distributed.algorithms.ddp_comm_hooks.default_hooks as default
AttributeError: module 'torch.distributed.algorithms' has no attribute 'ddp_comm_hooks'
Traceback (most recent call last):
  File "run_test.py", line 925, in <module>
    main()
  File "run_test.py", line 904, in main
    raise RuntimeError(err_message)
RuntimeError: distributed/test_distributed_spawn failed!

(base) C:\Users\circleci\project\test>if ERRORLEVEL 1 exit /b 1 
+ cleanup
+ retcode=1
+ set +x


Exited with code exit status 1

See CircleCI build pytorch_linux_xenial_cuda10_2_cudnn7_py3_gcc7_test2 (2/4)

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

Jan 29 17:51:16 sccache: error: couldn't connect to server
Jan 29 17:51:16 +++ eval 'extract_trap_cmd '
Jan 29 17:51:16 ++++ extract_trap_cmd
Jan 29 17:51:16 ++++ printf '%s\n' ''
Jan 29 17:51:16 +++ printf '%s\n' cleanup
Jan 29 17:51:16 ++ trap -- '
Jan 29 17:51:16 cleanup' EXIT
Jan 29 17:51:16 ++ [[ pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7-test2 != *pytorch-win-* ]]
Jan 29 17:51:16 ++ which sccache
Jan 29 17:51:16 ++ sccache --stop-server
Jan 29 17:51:16 Stopping sccache server...
Jan 29 17:51:16 sccache: error: couldn't connect to server
Jan 29 17:51:16 sccache: caused by: Connection refused (os error 111)
Jan 29 17:51:16 ++ true
Jan 29 17:51:16 ++ rm /var/lib/jenkins/sccache_error.log
Jan 29 17:51:16 ++ [[ pytorch-linux-xenial-cuda10.2-cudnn7-py3-gcc7-test2 == *rocm* ]]
Jan 29 17:51:16 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Jan 29 17:51:16 ++ SCCACHE_IDLE_TIMEOUT=1200
Jan 29 17:51:16 ++ RUST_LOG=sccache::server=error
Jan 29 17:51:16 ++ sccache --start-server
Jan 29 17:51:16 sccache: Starting the server...
Jan 29 17:51:16 ++ sccache --zero-stats

See CircleCI build pytorch_linux_xenial_py3_clang5_asan_test2 (3/4)

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

Jan 29 17:30:05 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /var/lib/jenkins/workspace/aten/src/ATen/Utils.cpp:15:3 in
Jan 29 17:30:05     #7 0x55bec00b970b in PyEval_EvalCode /tmp/build/80754af9/python_1599604603603/work/Python/ceval.c:731
Jan 29 17:30:05     #8 0x55bec0139573 in run_mod /tmp/build/80754af9/python_1599604603603/work/Python/pythonrun.c:1025
Jan 29 17:30:05     #9 0x55bec013960c in PyRun_StringFlags /tmp/build/80754af9/python_1599604603603/work/Python/pythonrun.c:949
Jan 29 17:30:05     #10 0x55bec013966e in PyRun_SimpleStringFlags /tmp/build/80754af9/python_1599604603603/work/Python/pythonrun.c:445
Jan 29 17:30:05     #11 0x55bec013d472 in run_command /tmp/build/80754af9/python_1599604603603/work/Modules/main.c:301
Jan 29 17:30:05     #12 0x55bec013d472 in Py_Main /tmp/build/80754af9/python_1599604603603/work/Modules/main.c:749
Jan 29 17:30:05     #13 0x55bec000743d in main /tmp/build/80754af9/python_1599604603603/work/Programs/python.c:69
Jan 29 17:30:05     #14 0x7f2fafabb83f in __libc_start_main /build/glibc-e6zv40/glibc-2.23/csu/../csu/libc-start.c:291
Jan 29 17:30:05     #15 0x55bec00e6d0a in _start /home/rdonnelly/mc/conda-bld/compilers_linux-64_1534865402226/work/.build/src/glibc-2.12.2/csu/../sysdeps/x86_64/elf/start.S:103
Jan 29 17:30:05 
Jan 29 17:30:05 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /var/lib/jenkins/workspace/aten/src/ATen/Utils.cpp:15:3 in 
Jan 29 17:30:05 + retcode=1
Jan 29 17:30:05 + set -e
Jan 29 17:30:05 + return 1
Jan 29 17:30:05 + [[ pytorch-linux-xenial-py3-clang5-asan-test2 == *-NO_AVX-* ]]
Jan 29 17:30:05 + [[ pytorch-linux-xenial-py3-clang5-asan-test2 == *-NO_AVX2-* ]]
Jan 29 17:30:05 + '[' -n https://github.com/pytorch/pytorch/pull/51150 ']'
Jan 29 17:30:05 + [[ pytorch-linux-xenial-py3-clang5-asan-test2 != *coverage* ]]
Jan 29 17:30:05 ++ mktemp
Jan 29 17:30:05 + DETERMINE_FROM=/tmp/tmp.O3dxXyA0jZ
Jan 29 17:30:05 + file_diff_from_base /tmp/tmp.O3dxXyA0jZ

See CircleCI build pytorch_windows_vs2019_py36_cuda10.1_test1 (4/4)

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

RuntimeError: distributed/test_c10d failed!
  File "C:\Users\circleci\project\build\win_tmp\build\torch\distributed\algorithms\ddp_comm_hooks\__init__.py", line 7, in <module>
    from . import (
  File "C:\Users\circleci\project\build\win_tmp\build\torch\distributed\algorithms\ddp_comm_hooks\powerSGD_hook.py", line 7, in <module>
    import torch.distributed.algorithms.ddp_comm_hooks.default_hooks as default
AttributeError: module 'torch.distributed.algorithms' has no attribute 'ddp_comm_hooks'
Traceback (most recent call last):
  File "run_test.py", line 925, in <module>
    main()
  File "run_test.py", line 904, in main
    raise RuntimeError(err_message)
RuntimeError: distributed/test_c10d failed!

(base) C:\Users\circleci\project\test>if ERRORLEVEL 1 exit /b 1 
+ cleanup
+ retcode=1
+ set +x


Exited with code exit status 1


🚧 4 fixed upstream failures:

These were probably caused by upstream breakages that were already fixed.

Please rebase on the viable/strict branch (expand for instructions)

If your commit is older than viable/strict, run these commands:

git fetch https://github.com/pytorch/pytorch viable/strict
git rebase FETCH_HEAD

Check out the recency history of this "viable master" tracking branch.


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.

Summary:
Following QNNPACK methodology, add wrappers for the sparse kernels

Test Plan:
q8gemm-sparse-test

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D26089285](https://our.internmc.facebook.com/intern/diff/D26089285)

[ghstack-poisoned]
Summary:
Following QNNPACK methodology, add wrappers for the sparse kernels

Test Plan:
q8gemm-sparse-test

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D26089285](https://our.internmc.facebook.com/intern/diff/D26089285)

[ghstack-poisoned]
kimishpatel added a commit that referenced this pull request Jan 27, 2021
Summary:
Following QNNPACK methodology, add wrappers for the sparse kernels

Test Plan:
q8gemm-sparse-test

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 1afa826332bf57f69e7262b091b82d147179a955
Pull Request resolved: #51150
Summary:
Following QNNPACK methodology, add wrappers for the sparse kernels

Test Plan:
q8gemm-sparse-test

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: [D26089285](https://our.internmc.facebook.com/intern/diff/D26089285)

[ghstack-poisoned]
kimishpatel added a commit that referenced this pull request Jan 29, 2021
Summary:
Following QNNPACK methodology, add wrappers for the sparse kernels

Test Plan:
q8gemm-sparse-test

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 409ea6a0ce6ddef6b10d04243e1d1bdba63c561d
Pull Request resolved: #51150
@facebook-github-bot facebook-github-bot deleted the gh/kimishpatel/45/head branch March 1, 2021 15:16
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.

None yet

3 participants