File tree
54 files changed
+1035
-938
lines changed- 3rdparty
- build_tools
- examples/jax/encoder
- qa
- L0_pytorch_unittest
- L3_pytorch_FA_versions_test
- tests
- jax
- pytorch
- transformer_engine
- common
- jax
- cpp_extensions
- flax
- pytorch
- attention
- dot_product_attention
- csrc
- extensions
- multi_tensor
- module
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
54 files changed
+1035
-938
lines changedSubmodule cudnn-frontend updated 69 files
- CMakeLists.txt+2-2
- cmake/cuDNN.cmake+15-11
- include/cudnn_frontend/backend/kernel_cache.h+69-6
- include/cudnn_frontend/graph_interface.h+58-3
- include/cudnn_frontend/graph_properties.h+48
- include/cudnn_frontend/node/adaptive_layernorm.h+454
- include/cudnn_frontend/node/scaled_dot_product_flash_attention.h+94-57
- include/cudnn_frontend/node/sdpa_fp8.h+9-3
- include/cudnn_frontend/node/sdpa_fp8_bwd.h+2-3
- include/cudnn_frontend/node_interface.h+3-1
- include/cudnn_frontend/thirdparty/nlohmann/json.hpp+11.4k-9.5k
- include/cudnn_frontend/utils/attn_score_modifiers.h+12-2
- include/cudnn_frontend/utils/serialize.h+31
- include/cudnn_frontend_Heuristics.h+1
- include/cudnn_frontend_shim.h+79-18
- include/cudnn_frontend_utils.h+8-1
- include/cudnn_frontend_version.h+1-1
- pyproject.toml+1-1
- python/CMakeLists.txt+3-2
- python/cudnn/__init__.py+10-1
- python/cudnn/graph.py+104
- python/properties.cpp+17-1
- python/pygraph/norm.cpp+53
- python/pygraph/pygraph.h+18
- samples/README.md+8
- samples/cpp/CMakeLists.txt+2
- samples/cpp/norm/adaptive_layernorm.cpp+265
- samples/cpp/norm/norm_zero_centered_gamma.cpp+307
- samples/cpp/sdpa/fp16_bwd.cpp-6
- samples/cpp/sdpa/fp16_bwd_with_cudagraphs.cpp+2-2
- samples/cpp/sdpa/fp16_fwd.cpp-6
- samples/cpp/sdpa/fp16_fwd_paged_decode_and_prefill.cpp+6-6
- samples/legacy_samples/test_list.cpp+1
- samples/legacy_samples/utils/error_util.h+14-12
- samples/python/00_introduction.ipynb+3-3
- samples/python/01_matmul_bias.ipynb+58-44
- samples/python/02_sdpa_graph_serialization.ipynb+1-1
- samples/python/03_mixed_precision_matmul.ipynb+1-1
- samples/python/20_layernorm.ipynb+4-3
- samples/python/21_layernorm_backward.ipynb+1-1
- samples/python/22_layernorm_inference.ipynb+2-2
- samples/python/24_rmsnorm.ipynb+1-1
- samples/python/25_batchnorm.ipynb+1-1
- samples/python/27_instancenorm.ipynb+2-4
- samples/python/28_instancenorm_fusion.ipynb+1-1
- samples/python/29_layernorm_zero_centered_gamma_forward_training_and_backward.ipynb+587
- samples/python/30_layernorm_zero_centered_gamma_inference.ipynb+407
- samples/python/31_adaptive_layernorm_forward_training_and_backward.ipynb+541
- samples/python/32_adaptive_layernorm_inference.ipynb+494
- samples/python/50_scaled_dot_product_attention.ipynb+1-1
- samples/python/51_scaled_dot_product_attention_backward.ipynb+1-1
- samples/python/52_scaled_dot_product_attention_with_paged_caches.ipynb+1-1
- test/python/conftest.py-6
- test/python/pytest.ini+10
- test/python/test_apply_rope.py+45-53
- test/python/test_batchnorm.py+3
- test/python/test_conv_bias.py+217-205
- test/python/test_conv_genstats.py+1
- test/python/test_conv_reduction.py+55-26
- test/python/test_flexible_sdpa.py+3
- test/python/test_instancenorm.py+1
- test/python/test_kernel_cache.py+171
- test/python/test_layernorm.py+1
- test/python/test_matmul_bias_relu.py+3
- test/python/test_mhas.py+80-18
- test/python/test_rmsnorm.py+1
- test/python/test_silu_and_mul.py+2
- test/python/test_slice.py+1
- test/python/test_wgrads.py+1
Lines changed: 12 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
130 | 130 |
| |
131 | 131 |
| |
132 | 132 |
| |
133 |
| - | |
| 133 | + | |
| 134 | + | |
134 | 135 |
| |
135 | 136 |
| |
136 | 137 |
| |
137 | 138 |
| |
138 | 139 |
| |
139 |
| - | |
140 |
| - | |
141 | 140 |
| |
142 |
| - | |
143 |
| - | |
144 |
| - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
145 | 151 |
| |
146 | 152 |
| |
147 | 153 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
60 | 65 |
| |
61 | 66 |
| |
62 | 67 |
| |
|
Lines changed: 8 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
| 22 | + | |
27 | 23 |
| |
28 | 24 |
| |
29 | 25 |
| |
| |||
37 | 33 |
| |
38 | 34 |
| |
39 | 35 |
| |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
44 | 42 |
| |
45 | 43 |
| |
46 | 44 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
609 | 609 |
| |
610 | 610 |
| |
611 | 611 |
| |
612 |
| - | |
| 612 | + | |
613 | 613 |
| |
614 | 614 |
| |
615 | 615 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
46 |
| - | |
| 45 | + | |
| 46 | + | |
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
|
Lines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
21 |
| - | |
22 |
| - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
123 | 123 |
| |
124 | 124 |
| |
125 | 125 |
| |
126 |
| - | |
| 126 | + | |
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
148 | 147 |
| |
149 | 148 |
| |
150 | 149 |
| |
| |||
156 | 155 |
| |
157 | 156 |
| |
158 | 157 |
| |
159 |
| - | |
160 | 158 |
| |
161 | 159 |
| |
162 | 160 |
| |
|
Lines changed: 36 additions & 32 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
17 | 16 |
| |
18 | 17 |
| |
19 | 18 |
| |
| |||
316 | 315 |
| |
317 | 316 |
| |
318 | 317 |
| |
319 |
| - | |
320 |
| - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
321 | 323 |
| |
322 | 324 |
| |
323 | 325 |
| |
324 | 326 |
| |
325 | 327 |
| |
326 | 328 |
| |
327 |
| - | |
328 |
| - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
329 | 334 |
| |
330 | 335 |
| |
331 | 336 |
| |
| |||
422 | 427 |
| |
423 | 428 |
| |
424 | 429 |
| |
425 |
| - | |
| 430 | + | |
426 | 431 |
| |
427 |
| - | |
| 432 | + | |
428 | 433 |
| |
429 | 434 |
| |
430 | 435 |
| |
| |||
688 | 693 |
| |
689 | 694 |
| |
690 | 695 |
| |
691 |
| - | |
692 |
| - | |
693 |
| - | |
694 |
| - | |
695 |
| - | |
696 |
| - | |
697 |
| - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
698 | 699 |
| |
699 |
| - | |
700 |
| - | |
701 |
| - | |
702 |
| - | |
703 |
| - | |
704 |
| - | |
705 |
| - | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
706 | 703 |
| |
707 | 704 |
| |
708 | 705 |
| |
| |||
809 | 806 |
| |
810 | 807 |
| |
811 | 808 |
| |
812 |
| - | |
| 809 | + | |
813 | 810 |
| |
814 |
| - | |
| 811 | + | |
815 | 812 |
| |
816 | 813 |
| |
817 | 814 |
| |
| |||
857 | 854 |
| |
858 | 855 |
| |
859 | 856 |
| |
860 |
| - | |
861 |
| - | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
865 | 865 |
| |
866 | 866 |
| |
867 | 867 |
| |
868 | 868 |
| |
869 |
| - | |
870 |
| - | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
871 | 874 |
| |
872 | 875 |
| |
873 | 876 |
| |
| |||
976 | 979 |
| |
977 | 980 |
| |
978 | 981 |
| |
979 |
| - | |
| 982 | + | |
980 | 983 |
| |
981 |
| - | |
| 984 | + | |
982 | 985 |
| |
983 | 986 |
| |
984 |
| - | |
985 | 987 |
| |
986 | 988 |
| |
987 | 989 |
| |
| |||
1559 | 1561 |
| |
1560 | 1562 |
| |
1561 | 1563 |
| |
1562 |
| - | |
| 1564 | + | |
| 1565 | + | |
1563 | 1566 |
| |
1564 | 1567 |
| |
1565 | 1568 |
| |
1566 | 1569 |
| |
1567 | 1570 |
| |
1568 | 1571 |
| |
1569 |
| - | |
| 1572 | + | |
| 1573 | + | |
1570 | 1574 |
| |
1571 | 1575 |
| |
1572 | 1576 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| |||
2293 | 2293 |
| |
2294 | 2294 |
| |
2295 | 2295 |
| |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
2296 | 2302 |
| |
2297 | 2303 |
| |
2298 | 2304 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
|
0 commit comments