Skip to content

[ci] Add workflows to validate TE QA test cases#13

Closed
zihugithub wants to merge 57 commits into
flagos-ai:mainfrom
zihugithub:add_qa_teat251230
Closed

[ci] Add workflows to validate TE QA test cases#13
zihugithub wants to merge 57 commits into
flagos-ai:mainfrom
zihugithub:add_qa_teat251230

Conversation

@zihugithub

Copy link
Copy Markdown
Collaborator

Description

Validate TE QA test cases with new CI workflows

Type of change

  • Documentation change (change only to the documentation, either a fix or a new content)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Infra/Build change
  • Code refactoring

Changes

Please list the changes introduced in this PR:

  • Added code inspection and PyTorch/C++ unit tests to improve the TE testing system
  • Implemented end-to-end automation of TE wheel package building, installation, and verification, supporting multiple versions of Flash Attention and GPUs with different CUDA architectures
  • Verified TE's core functions (distributed communication, matrix multiplication, ONNX export) and compatibility with Megatron-LM/Lightning-Thunder
  • Completed the verification of the nvinspect debugging tool and re-verification of core numerical tests

Checklist:

  • I have read and followed the contributing guidelines
  • The functionality is complete
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


yefubao seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@zihugithub zihugithub closed this Feb 15, 2026
lxd-cumt pushed a commit to lxd-cumt/TransformerEngine-FL that referenced this pull request Apr 14, 2026
* Python GroupedTensor and contiguous weights for GroupedLinear

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Graph safe C API for grouped RHT, needs testing

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>
Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
Co-authored-by: Zhongbo Zhu <zhongboz@nvidia.com>

* C++ utils, untested

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Pytorch Binding for GroupedTensor APIs (flagos-ai#13)

* changes for pytoch extension; but everything seems to be broken probably unrelated to my changes

Signed-off-by: Varun Thumbe <vthumbe@nvidia.com>

* fix the issues

Signed-off-by: Varun Thumbe <vthumbe@nvidia.com>

* comment nvte API since Oleg's PR is not merged

Signed-off-by: Varun Thumbe <vthumbe@nvidia.com>

* test for all cases:

Signed-off-by: Varun Thumbe <vthumbe@nvidia.com>

* tensor attributes should be set later

Signed-off-by: Varun Thumbe <vthumbe@nvidia.com>

---------

Signed-off-by: Varun Thumbe <vthumbe@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix make grouped tensor api

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Fixes to tests

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* PyTorch-Python GroupedTensor

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Fix test

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* All tests pass

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update transformer_engine/pytorch/tensor/storage/grouped_tensor.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Remove mxfp8 gq test

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* C++ PyTorch GroupedTensor changes WIP

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Compiles

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fix runtime failure for test

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Fix IMA in mxfp8 GQ

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Add CG test for grouped_quantize

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Fix recipe tests and FP8 weights

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Fix recipe tests and FP8 weights

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Fix device test

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Disable grouped weights for unsupported recipes

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>

* Integrate NVFP4 Graph Safe Group Quantize  (flagos-ai#14)

* nvfp4 grouped quantize

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* fix for paged stashing

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* pass all edge cases

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* clean up

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* fix for other recipes

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

---------

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* improve mxfp8 unit test

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* pre-swizzle nvfp4 mxfp8 for MoE

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* avoid having nvte_get_grouped_tensor_param_v2

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* more tests

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* fix group quantize mxfp8 kernel

Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>

* Relaxed restriction for the last dim to be a multiple of 128

Signed-off-by: Oleg Goncharov <ogoncharov@nvidia.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
Signed-off-by: Zhongbo Zhu <zhongboz@nvidia.com>
Signed-off-by: vthumbe1503 <vthumbe@nvidia.com>
Signed-off-by: Varun Thumbe <vthumbe@nvidia.com>
Signed-off-by: Oleg Goncharov <ogoncharov@nvidia.com>
Co-authored-by: Zhongbo Zhu <zhongboz@nvidia.com>
Co-authored-by: vthumbe1503 <vthumbe@nvidia.com>
Co-authored-by: Oleg Goncharov <ogoncharov@nvidia.com>
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.

2 participants