Skip to content

refactor: rebase to deepgemm 2.0.0+#1

Open
KyeeHuang wants to merge 32 commits into
ruoqianguo:dev/ruoqiang/per-tensorfrom
KyeeHuang:release/2.0.0_per_tensor
Open

refactor: rebase to deepgemm 2.0.0+#1
KyeeHuang wants to merge 32 commits into
ruoqianguo:dev/ruoqiang/per-tensorfrom
KyeeHuang:release/2.0.0_per_tensor

Conversation

@KyeeHuang
Copy link
Copy Markdown

I recently rebased the original per-tensor solution to version 2.0.0+, and it can pass the tests in test_fp8.py.
I only rebased the implementation for the Hopper architecture. I suspect that the per-tensor approach may not yield additional performance benefits on the Blackwell architecture.

  • per tensor
  • per tensor + swapab

shixianc and others added 30 commits June 16, 2025 10:44
Co-authored-by: Shixian Cui <shixian@amazon.com>
…ze setting. (deepseek-ai#115)"

This reverts commit ac428e2.

This PR causes wgrad to hang during testing. Revert it until we resolve the issue
* Add more GPU architectures support

* Update layout.py

* Optimize performance, Add SM90 support, Add 1D2D SM100 support

* Add fmtlib submodule at commit 553ec11

---------

Co-authored-by: fzyzcjy <5236035+fzyzcjy@users.noreply.github.com>
Anonymous cloning is more difficult with git@ (it requires per user
SSH keys), which makes CI automation more difficult.

This commit reverts to using https:// as it was before deepseek-ai#112
…ecursive_directory_iterator to avoid an ABI breakage we met (deepseek-ai#131)
* Add torch as dependency.

Signed-off-by: Yuxian Qiu <142763828+yuxianq@users.noreply.github.com>

* Add pyproject.toml

Signed-off-by: Yuxian Qiu <142763828+yuxianq@users.noreply.github.com>

* Fix setup.py.

Signed-off-by: Yuxian Qiu <142763828+yuxianq@users.noreply.github.com>

* Add build dependency.

Signed-off-by: Yuxian Qiu <142763828+yuxianq@users.noreply.github.com>

---------

Signed-off-by: Yuxian Qiu <142763828+yuxianq@users.noreply.github.com>
Fix import-time error: "undefined symbol: _ZN3c104cuda20getCurrentCUDAStreamEa"
* Fix assertion error in smxx_layout.hpp for mn % 4 != 0 cases

* Fix assertion error in smxx_layout.hpp for mn % 4 != 0 cases

* Align submodule files

* Fix assertion error in smxx_layout.hpp for mn % 4 != 0 cases

* fix(smxx_layout): support mn%4!=0 and num_groups>1 via torch

* fix(smxx_layout): support mn%4!=0 and num_groups>1 via torch

* fix: correct logic for entering get_mn_major_tma_aligned_packed_ue8m0_tensor_torch
* Fix sm90 GEMM

* Fix typo

---------

Co-authored-by: Kuai Yu <yukuai@deepseek.com>
- Add support for legacy CUDA versions; now compatible with CUDA 12.3 and newer
- Add support for NVRTC compilation
- Other fixes and code refactoring
- Add BF16 support for SM90 and SM100
- Refactor Python APIs
- Other fixes and code refactoring
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
- Replace non-existent test_core.py with test_bf16.py
- Add test_fp8.py and test_lazy_init.py to testing section
@KyeeHuang KyeeHuang changed the title Release/2.0.0 per tensor refactor: rebase to deepgemm 2.0.0+ Nov 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.