-
Notifications
You must be signed in to change notification settings - Fork 633
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
[sync] Issue template + Pyre #4
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ Added `pyre-check` to `requirements-test.txt`. + Added a `.watchmanconfig` as that is needed for fast incremental results. + Added empty stubs for missing imports to `stubs/`. This is the equivalent of mypy's `--ignore-missing-imports`. This PR has nothing to do with shape types. Remaining work: There are currently 85 Pyre errors. I will address the non-Tensor ones in the next commit. The rest will be addressed when we add stubs for Tensor shape types.
* adding the missing coc * opportunist doc fix
This fixes all of the valid errors. The remaining 56 errors are stub issues that will be fixed when we move to the Tensor shape type stubs.
[chore] Set up basic Pyre configuration.
danthe3rd
pushed a commit
that referenced
this pull request
Dec 8, 2022
It now takes an argument: https://torchmetrics.readthedocs.io/en/stable/classification/accuracy.html Change in pytorch lightning: Lightning-AI/torchmetrics@20eab43 Somehow this is failing with a SEGFAULT on my A100 (in a triton kernel): ``` #0 0x00007fffc0f62e10 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #1 0x00007fffc0f9303c in ?? () from /lib/x86_64-linux-gnu/libcuda.so #2 0x00007fffc0f2ea13 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #3 0x00007fffc0f94603 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #4 0x00007fffc119e4a0 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #5 0x00007fffc0f3728f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #6 0x00007fffc0f3999f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #7 0x00007fffc0fdb1c2 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #8 0x00007fff502234c0 in _launch () from /data/home/XXXXX/.triton/cache/704a3e6949e60326bc68d18a620bee50/layer_norm_fw.so #9 0x00007fff3c0eea25 in launch () from /data/home/XXXXX/.triton/cache/2cebb5590a024a2e06fe9de08c6b7079/k_dropout_bw.so #10 0x0000555555698422 in cfunction_call (func=0x7fff3c6e5760, args=<optimized out>, kwargs=<optimized out>) at /usr/local/src/conda/python-3.10.6/Objects/methodobject.c:552 ``` [ghstack-poisoned]
danthe3rd
pushed a commit
that referenced
this pull request
Dec 8, 2022
It now takes an argument: https://torchmetrics.readthedocs.io/en/stable/classification/accuracy.html Change in pytorch lightning: Lightning-AI/torchmetrics@20eab43 Somehow this is failing with a SEGFAULT on my A100 (in a triton kernel): ``` #0 0x00007fffc0f62e10 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #1 0x00007fffc0f9303c in ?? () from /lib/x86_64-linux-gnu/libcuda.so #2 0x00007fffc0f2ea13 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #3 0x00007fffc0f94603 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #4 0x00007fffc119e4a0 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #5 0x00007fffc0f3728f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #6 0x00007fffc0f3999f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #7 0x00007fffc0fdb1c2 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #8 0x00007fff502234c0 in _launch () from /data/home/XXXXX/.triton/cache/704a3e6949e60326bc68d18a620bee50/layer_norm_fw.so #9 0x00007fff3c0eea25 in launch () from /data/home/XXXXX/.triton/cache/2cebb5590a024a2e06fe9de08c6b7079/k_dropout_bw.so #10 0x0000555555698422 in cfunction_call (func=0x7fff3c6e5760, args=<optimized out>, kwargs=<optimized out>) at /usr/local/src/conda/python-3.10.6/Objects/methodobject.c:552 ``` [ghstack-poisoned]
danthe3rd
pushed a commit
that referenced
this pull request
Dec 9, 2022
It now takes an argument: https://torchmetrics.readthedocs.io/en/stable/classification/accuracy.html Change in pytorch lightning: Lightning-AI/torchmetrics@20eab43 Somehow this is failing with a SEGFAULT on my A100 (in a triton kernel): ``` #0 0x00007fffc0f62e10 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #1 0x00007fffc0f9303c in ?? () from /lib/x86_64-linux-gnu/libcuda.so #2 0x00007fffc0f2ea13 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #3 0x00007fffc0f94603 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #4 0x00007fffc119e4a0 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #5 0x00007fffc0f3728f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #6 0x00007fffc0f3999f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #7 0x00007fffc0fdb1c2 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #8 0x00007fff502234c0 in _launch () from /data/home/XXXXX/.triton/cache/704a3e6949e60326bc68d18a620bee50/layer_norm_fw.so #9 0x00007fff3c0eea25 in launch () from /data/home/XXXXX/.triton/cache/2cebb5590a024a2e06fe9de08c6b7079/k_dropout_bw.so #10 0x0000555555698422 in cfunction_call (func=0x7fff3c6e5760, args=<optimized out>, kwargs=<optimized out>) at /usr/local/src/conda/python-3.10.6/Objects/methodobject.c:552 ``` [ghstack-poisoned]
danthe3rd
pushed a commit
that referenced
this pull request
Dec 9, 2022
It now takes an argument: https://torchmetrics.readthedocs.io/en/stable/classification/accuracy.html Change in pytorch lightning: Lightning-AI/torchmetrics@20eab43 Somehow this is failing with a SEGFAULT on my A100 (in a triton kernel): ``` #0 0x00007fffc0f62e10 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #1 0x00007fffc0f9303c in ?? () from /lib/x86_64-linux-gnu/libcuda.so #2 0x00007fffc0f2ea13 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #3 0x00007fffc0f94603 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #4 0x00007fffc119e4a0 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #5 0x00007fffc0f3728f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #6 0x00007fffc0f3999f in ?? () from /lib/x86_64-linux-gnu/libcuda.so #7 0x00007fffc0fdb1c2 in ?? () from /lib/x86_64-linux-gnu/libcuda.so #8 0x00007fff502234c0 in _launch () from /data/home/XXXXX/.triton/cache/704a3e6949e60326bc68d18a620bee50/layer_norm_fw.so #9 0x00007fff3c0eea25 in launch () from /data/home/XXXXX/.triton/cache/2cebb5590a024a2e06fe9de08c6b7079/k_dropout_bw.so #10 0x0000555555698422 in cfunction_call (func=0x7fff3c6e5760, args=<optimized out>, kwargs=<optimized out>) at /usr/local/src/conda/python-3.10.6/Objects/methodobject.c:552 ``` [ghstack-poisoned]
qianfengz
added a commit
to qianfengz/xformers
that referenced
this pull request
Feb 7, 2024
Support BMGHK inputs in the decoder kernel
tenpercent
pushed a commit
to tenpercent/xformers
that referenced
this pull request
Aug 15, 2024
split-k decoder: move all tunable parameters to the top of cpp file
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
[sync] Issue template + Pyre
Before submitting
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.