CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 08:11:06 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/pytorch/pytorch.git
etag: W/"a5f64c1bbfcd3a39b2c2a87397388f4d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=7R81MoorX2AhHYE%2BxnLICZSyI97Jp0HXvm4N1RlPhd1A%2FAXiwZocoEZUK9vquCAkmU9o0U%2BBgvst%2BLfG3%2BQe9xSn%2Bl91QG%2FRWhQdBxbk5pHEFQp6OWY%2FwHx3bDQ2YBzzyWcdxKk%2FVBUe91VR2EQB8CTliRWPGU8nCmSvmHxdwoGHtw1qM%2Fsz14m4HHsY6ENANjfVKVoiUm62rr0s4WLBkSvPN1Dpe5DPhBANij%2FRnybOCMiHVqivXrceyiilpupj3NAtUjl8qPPr7FRUzXGS5g%3D%3D--hs2yRCI%2FVf9V%2F7da--x1bIO%2B2F0elSpTSCa7js2g%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.295589361.1753258263; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 08:11:03 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 08:11:03 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A036:256CA9:6D8038:887EB4:68809917
Removed _compile workaround for create_block_mask (#137477) · pytorch/pytorch@b82000c · GitHub
Copy file name to clipboardExpand all lines: aten/src/ATen/functorch/BatchRulesScatterOps.cpp
Copy file name to clipboardExpand all lines: test/inductor/test_flex_attention.py
Copy file name to clipboardExpand all lines: torch/nn/attention/flex_attention.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 24.7k
Commit b82000c
Removed _compile workaround for create_block_mask (#137477)
I also put in a change for supporting `create_block_mask` to properly handle non-multiples of BLOCK_SIZE.
Pull Request resolved: #137477
Approved by: https://github.com/drisspg, https://github.com/BoyuanFeng1 parent 2dcd69d commit b82000cCopy full SHA for b82000c
File tree
Expand file treeCollapse file tree
3 files changed
+60
-58
lines changedFilter options
- aten/src/ATen/functorch
- test/inductor
- torch/nn/attention
Expand file treeCollapse file tree
3 files changed
+60
-58
lines changedaten/src/ATen/functorch/BatchRulesScatterOps.cpp
Copy file name to clipboardExpand all lines: aten/src/ATen/functorch/BatchRulesScatterOps.cpp+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
427 | 427 |
| |
428 | 428 |
| |
429 | 429 |
| |
430 |
| - | |
| 430 | + | |
431 | 431 |
| |
432 | 432 |
| |
433 | 433 |
| |
|
test/inductor/test_flex_attention.py
Copy file name to clipboardExpand all lines: test/inductor/test_flex_attention.py+28-11Lines changed: 28 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1345 | 1345 |
| |
1346 | 1346 |
| |
1347 | 1347 |
| |
1348 |
| - | |
1349 |
| - | |
| 1348 | + | |
| 1349 | + | |
1350 | 1350 |
| |
1351 | 1351 |
| |
1352 | 1352 |
| |
| |||
2068 | 2068 |
| |
2069 | 2069 |
| |
2070 | 2070 |
| |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
2071 | 2086 |
| |
2072 | 2087 |
| |
2073 | 2088 |
| |
| |||
2562 | 2577 |
| |
2563 | 2578 |
| |
2564 | 2579 |
| |
| 2580 | + | |
| 2581 | + | |
2565 | 2582 |
| |
2566 |
| - | |
| 2583 | + | |
2567 | 2584 |
| |
2568 |
| - | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
2569 | 2588 |
| |
2570 | 2589 |
| |
2571 | 2590 |
| |
| |||
2576 | 2595 |
| |
2577 | 2596 |
| |
2578 | 2597 |
| |
2579 |
| - | |
| 2598 | + | |
2580 | 2599 |
| |
2581 | 2600 |
| |
2582 | 2601 |
| |
2583 | 2602 |
| |
2584 | 2603 |
| |
2585 | 2604 |
| |
2586 |
| - | |
| 2605 | + | |
2587 | 2606 |
| |
2588 | 2607 |
| |
2589 | 2608 |
| |
2590 | 2609 |
| |
2591 | 2610 |
| |
2592 | 2611 |
| |
2593 |
| - | |
| 2612 | + | |
2594 | 2613 |
| |
2595 | 2614 |
| |
2596 | 2615 |
| |
| |||
2867 | 2886 |
| |
2868 | 2887 |
| |
2869 | 2888 |
| |
2870 |
| - | |
| 2889 | + | |
2871 | 2890 |
| |
2872 | 2891 |
| |
2873 | 2892 |
| |
2874 | 2893 |
| |
2875 | 2894 |
| |
2876 | 2895 |
| |
2877 |
| - | |
2878 | 2896 |
| |
2879 |
| - | |
| 2897 | + | |
2880 | 2898 |
| |
2881 | 2899 |
| |
2882 | 2900 |
| |
2883 | 2901 |
| |
2884 | 2902 |
| |
2885 | 2903 |
| |
2886 |
| - | |
2887 | 2904 |
| |
2888 | 2905 |
| |
2889 | 2906 |
| |
|
torch/nn/attention/flex_attention.py
Copy file name to clipboardExpand all lines: torch/nn/attention/flex_attention.py+31-46Lines changed: 31 additions & 46 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
656 | 656 |
| |
657 | 657 |
| |
658 | 658 |
| |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
659 | 672 |
| |
660 | 673 |
| |
661 | 674 |
| |
| |||
754 | 767 |
| |
755 | 768 |
| |
756 | 769 |
| |
757 |
| - | |
758 | 770 |
| |
759 | 771 |
| |
760 | 772 |
| |
| |||
777 | 789 |
| |
778 | 790 |
| |
779 | 791 |
| |
780 |
| - | |
781 |
| - | |
782 |
| - | |
783 |
| - | |
784 |
| - | |
785 |
| - | |
786 | 792 |
| |
787 | 793 |
| |
788 |
| - | |
| 794 | + | |
789 | 795 |
| |
790 | 796 |
| |
791 | 797 |
| |
| |||
801 | 807 |
| |
802 | 808 |
| |
803 | 809 |
| |
804 |
| - | |
805 |
| - | |
806 |
| - | |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 |
| - | |
811 |
| - | |
812 |
| - | |
813 |
| - | |
814 |
| - | |
815 |
| - | |
816 |
| - | |
817 |
| - | |
818 |
| - | |
819 |
| - | |
820 |
| - | |
821 |
| - | |
822 |
| - | |
823 |
| - | |
824 |
| - | |
825 |
| - | |
826 |
| - | |
827 |
| - | |
828 | 810 |
| |
829 | 811 |
| |
830 | 812 |
| |
| |||
849 | 831 |
| |
850 | 832 |
| |
851 | 833 |
| |
852 |
| - | |
853 | 834 |
| |
854 | 835 |
| |
855 | 836 |
| |
| |||
870 | 851 |
| |
871 | 852 |
| |
872 | 853 |
| |
873 |
| - | |
874 | 854 |
| |
875 | 855 |
| |
876 | 856 |
| |
| |||
881 | 861 |
| |
882 | 862 |
| |
883 | 863 |
| |
884 |
| - | |
885 |
| - | |
886 |
| - | |
887 |
| - | |
888 |
| - | |
889 | 864 |
| |
890 |
| - | |
891 |
| - | |
892 |
| - | |
893 |
| - | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
894 | 868 |
| |
895 |
| - | |
896 |
| - | |
| 869 | + | |
| 870 | + | |
897 | 871 |
| |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
898 | 883 |
| |
899 | 884 |
| |
900 | 885 |
| |
|
You can’t perform that action at this time.
0 commit comments