yukuai
|
e82c4139da
|
Revert "Fixed the bug in get_swizzle_mode function related to elem_size setting. (#115)"
This reverts commit ac428e25e0.
This PR causes wgrad to hang during testing. Revert it until we resolve the issue
|
2025-06-23 17:13:36 +08:00 |
|
TherLF
|
ac428e25e0
|
Fixed the bug in get_swizzle_mode function related to elem_size setting. (#115)
|
2025-06-23 09:37:10 +08:00 |
|
Chenggang Zhao
|
391755ada0
|
Fix JIT tests
|
2025-05-16 14:39:58 +08:00 |
|
Chenggang Zhao
|
3b412f458a
|
Unify kwargs usages
|
2025-05-15 16:53:52 +08:00 |
|
Chenggang Zhao
|
350989eef3
|
Unify ceil_divs
|
2025-05-15 16:48:32 +08:00 |
|
Chenggang Zhao
|
4373af2e82
|
Add DG_PRINT_CONFIGS
|
2025-05-15 16:36:40 +08:00 |
|
Chenggang Zhao
|
816b39053a
|
Refactor launch-related structures
|
2025-05-15 16:14:21 +08:00 |
|
Chenggang Zhao
|
e2d6a107ef
|
Cleanup some useless staffs
|
2025-05-14 15:46:45 +08:00 |
|
Zhean Xu
|
04278f6dee
|
Weight gradient kernels for dense and MoE models (#95)
* Init weight gradient kernels.
* Support unaligned n,k and gmem stride
* Update docs
* Several cleanups
* Remove restrictions on N
* Add stride(0) assertions
---------
Co-authored-by: Chenggang Zhao <chenggangz@deepseek.com>
|
2025-05-14 14:47:58 +08:00 |
|
Chenggang Zhao
|
8702f910e3
|
Fix 12.9 compatibility
|
2025-05-07 13:23:40 +08:00 |
|
Chenggang Zhao
|
085b4a1532
|
Add DG_PRINT_AUTOTUNE to README
|
2025-05-07 11:46:52 +08:00 |
|
Chenggang Zhao
|
daec8fd2fc
|
Fix pipeline stage edge cases
|
2025-05-07 11:40:34 +08:00 |
|
Gabriel Wu
|
bfe983c4c2
|
Refactor JIT compilation (+NVRTC support) (#94)
* [wip] refactor: compile to .cubin
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* refactor: compile to .cubin and add NVRTC option
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* fix: compiler version
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* feat: compat for old drivers
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* feat: save kernel name to file
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* feat: fix win compat
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* fix: windows compat
Signed-off-by: Gabriel Wu <13583761+lucifer1004@users.noreply.github.com>
* feat: make API more general
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* feat: drop support for CUDA<12.3
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* doc: update README
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
* Some lints and refactor
* Refactor runtime
* Several fixes
* Refactor environment variables
* Code format
* Add a TODO
* Compatible with CUDA 12.3
* Fix indent
* Fix typing
* Drop support for Windows
* Add a TODO
---------
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
Signed-off-by: Gabriel Wu <13583761+lucifer1004@users.noreply.github.com>
Co-authored-by: Chenggang Zhao <chenggangz@deepseek.com>
|
2025-05-07 11:38:14 +08:00 |
|
Chenggang Zhao
|
d374456787
|
Less stages for small shape K
|
2025-04-28 10:36:08 +08:00 |
|
yukuai26
|
95e81b3dd6
|
Indivisible TMA (#90)
Fix indivisible shapes for TMA multicast
---------
Co-authored-by: yukuai <yukuai@deepseek.com>
Co-authored-by: Chenggang Zhao <chenggangz@deepseek.com>
|
2025-04-23 14:55:14 +08:00 |
|
yukuai26
|
891f35adf5
|
Support TMA multicast on B with m_grouped_gemm_contiguous. (#88)
|
2025-04-21 09:43:17 +08:00 |
|
Chenggang Zhao
|
37aa127451
|
Use swizzling instead of padding (#86)
* Add swizzling params
* Add TMA D descriptor
* Always use STSMx2
* Swizzling draft
* Compatible with padding
* Fix bugs
* Optimize swizzle performance
* Optimize expression
* Optimize TMA issues
* Fix README
* Stricter assertions
|
2025-04-14 15:20:58 +08:00 |
|
Chenggang Zhao
|
8041ed7164
|
Use 1D TMA store
|
2025-04-11 10:42:01 +08:00 |
|
Chenggang Zhao
|
a6524d411a
|
Larger block N candidates
|
2025-04-09 10:11:43 +08:00 |
|
Chenggang Zhao
|
48a5f071be
|
Clean up config heuristics
|
2025-04-09 10:01:15 +08:00 |
|
sazc
|
97575bf1c6
|
Performance: BlockTile 256x128 optimizations enable 1500+ TFLOPS FP8 performance on the H800-SXM platform
|
2025-04-08 17:42:23 +08:00 |
|
Chenggang Zhao
|
b4ecf9c3ff
|
Fix TMA multicast bugs
|
2025-04-07 14:34:42 +08:00 |
|
Chenggang Zhao
|
bff5724ded
|
Code format
|
2025-04-07 09:32:43 +08:00 |
|
Yi Zhang
|
776bd0cccc
|
add lru-cache to avoid repeated calculation
|
2025-04-04 12:44:26 +08:00 |
|
Chenggang Zhao
|
6db7e1863b
|
Solve STSM bank conflict via padding and 3D TMA
|
2025-04-03 15:39:35 +08:00 |
|
Chenggang Zhao
|
25db8de345
|
Better performance
|
2025-03-25 17:34:06 +08:00 |
|
Chenggang Zhao
|
1999d553e5
|
Lower TMA requirement
|
2025-03-25 17:18:53 +08:00 |
|
Chenggang Zhao
|
046fab64b7
|
Fix grouped GEMM cases
|
2025-03-25 16:41:44 +08:00 |
|
Chenggang Zhao
|
3497428a5e
|
Minor fix
|
2025-03-25 15:16:26 +08:00 |
|
Chenggang Zhao
|
7ffb118e54
|
Support multicasting on B
|
2025-03-25 14:56:42 +08:00 |
|
Chenggang Zhao
|
b922e64cb2
|
Support block size 160
|
2025-03-25 13:37:59 +08:00 |
|
sazc
|
46eb0d08fb
|
Performance: Larger BlockTile optimizations enable 1470+ TFLOPS FP8 performance on the H800-SXM platform
|
2025-03-25 10:44:57 +08:00 |
|
Liang
|
e1c070fbef
|
Merge pull request #65 from Z-NAVY/main
Fix get_col_major_tma_aligned_tensor to handle 2-dimensional inputs
|
2025-03-14 13:50:08 +08:00 |
|
z-navy
|
3f92607b98
|
Fix get_col_major_tma_aligned_tensor to handle 2-dimensional inputs
|
2025-03-13 22:15:16 +08:00 |
|
fzyzcjy
|
e7fff7ef0a
|
Update m_grouped_gemm.py
|
2025-03-13 22:09:15 +08:00 |
|
Chenggang Zhao
|
5e4badc577
|
Fix type lint
|
2025-03-10 13:10:16 +08:00 |
|
sazc
|
bed67b234c
|
Minor fix
|
2025-03-10 13:02:02 +08:00 |
|
sazc
|
ed278eddd3
|
formats: Optimize get_best_configs implementation
|
2025-03-10 12:56:14 +08:00 |
|
sazc
|
50cf26cc7c
|
Performance: Configuration algorithms tuned to minimize the impact of tail effects, now up to 1402 TFLOPS
|
2025-03-10 11:45:05 +08:00 |
|
Liang
|
ded740f736
|
Fix documentation of m_grouped_gemm_fp8_fp8_bf16_nt_contiguous in m_grouped_gemm.py
|
2025-03-04 11:26:23 +08:00 |
|
Chenggang Zhao
|
6c5da03ba9
|
Support more shapes
|
2025-02-28 10:04:59 +08:00 |
|
Chenggang Zhao
|
b69f630b91
|
Minor fix util function
|
2025-02-28 09:46:38 +08:00 |
|
Chenggang Zhao
|
6e10cba207
|
Minor fix
|
2025-02-28 09:21:35 +08:00 |
|
Liang
|
fbec9e5eee
|
Update get_best_configs
a better strategy to choose config
|
2025-02-27 23:18:52 +08:00 |
|
Chenggang Zhao
|
6da94d2d36
|
Add extra TMA checks
|
2025-02-27 18:20:57 +08:00 |
|
AcraeaTerpsicore
|
96b31fd6bb
|
fix typo
|
2025-02-26 18:37:22 +08:00 |
|
Chenggang Zhao
|
a6d97a1c1b
|
Initial commit
|
2025-02-25 22:52:41 +08:00 |
|