Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
966a5b9
Changed VERSION to 2.9.0
ptrendx Oct 16, 2025
739c656
[JAX] Fix imports in test for deprecated jax.experimental.pjit (#2274)
KshitijLakhani Oct 17, 2025
c2a643d
Wheels for cuda 13 (#2278)
ksivaman Oct 18, 2025
7e72d41
[JAX] NVFP4 recipe with option to enable/disable SR, RHT, and 2D quan…
jberchtold-nvidia Oct 22, 2025
9b75db3
Include TE core headers in final build (#2291)
ksivaman Oct 23, 2025
8b9849a
Overhaul the compilation for the arch-specific features (#2279)
ptrendx Oct 23, 2025
c4c185d
[PyTorch] Add max_logit support for MuonClip (#2195)
cyanguwa Oct 25, 2025
fa71964
[PyTorch] Fix CI failures due to deterministic attention backend (#2288)
ksivaman Oct 20, 2025
fe9b150
[JAX] Fix: Skip determinism tests for bprop for all sm >=100 (#2315)
KshitijLakhani Oct 30, 2025
0acd0e7
[PyTorch] Fix attention backend and tests for `sm120` (#2320)
ksivaman Oct 30, 2025
9cc089a
[PyT] Bump the min version expected to supported FP8 current scaling …
KshitijLakhani Oct 30, 2025
70f5366
[JAX] Ensure JAX reference impl uses an accurate backend in our tests…
jberchtold-nvidia Oct 30, 2025
bae9d3a
[Version] Reset to TransformerEngine v2.9 (#5)
lxd-cumt Dec 11, 2025
e13e38a
Fix import bugs (#6)
lxd-cumt Dec 11, 2025
ef41367
Fix flash-attention fallback failures (#7)
lxd-cumt Dec 17, 2025
fd5f657
Multi-Backend Architecture Implementation for TransformerEngine-FL (#4)
lihongyang1990 Dec 29, 2025
57adff4
Add missing __init__.py files and policy test suite (#9)
lihongyang1990 Jan 4, 2026
ec8edfc
Polish readme (#11)
lxd-cumt Jan 4, 2026
b26b226
Register get_attention_backend for all backends and fix FlashAttentio…
lihongyang1990 Jan 6, 2026
a423680
fix nv shared lib bug. (#16)
lihongyang1990 Jan 7, 2026
fbe34bd
Add a new vendor implementation named hygon (#15)
Jan 12, 2026
396794e
Update the way the gems context is invoked in the FlagOS Backend (#18)
lxd-cumt Jan 12, 2026
3d80e63
Unify the usage of the gems context (#20)
lxd-cumt Jan 12, 2026
f101d2c
fix: torch SDPA backend multi-batch support (#17)
lihongyang1990 Jan 12, 2026
832a797
Remove use_gems context and call flag_gems.xxx directly (#22)
lxd-cumt Jan 13, 2026
08cabba
Add new vendor backend METAX (#21)
dinghaodhd Jan 16, 2026
03d1998
Add multi_tensor_adam_param_remainder and context parallel support (#23)
lihongyang1990 Jan 21, 2026
54390c7
Fix enum mismatch in plugins (#25)
lxd-cumt Jan 22, 2026
48c8480
add Vendor KUNLUNXIN (#27)
ssuurrffaaccee Jan 25, 2026
de00a8a
Fix the incorrect registration on Kunlunxin (#29)
lxd-cumt Jan 26, 2026
35e1809
Polish available check for kunlunxin (#30)
lxd-cumt Jan 26, 2026
8690ab4
Add new register op get_attention_backend for METAX (#31)
dinghaodhd Jan 28, 2026
b0a5934
[iluvatar]add vendor/iluvatar backend (#35)
DannyP0 Feb 5, 2026
12b2077
Fix: Resolve parameter mismatch between TE_FL and NVTE functions (#34)
lihongyang1990 Feb 10, 2026
f808816
[CICD] Add workflows to validate TE QA test cases (#41)
Darryl233 Mar 2, 2026
47e8ee7
Refactor optimizer implementations and improve multi_tensor ops (#36)
lihongyang1990 Mar 3, 2026
acced6d
tefl musa support (#42)
jiamingwang-mt Mar 11, 2026
4f54860
Add python-level patches to supporting multiple platforms (#49)
lxd-cumt Mar 23, 2026
7f788a3
Add scaled_masked_softmax_forward/backward for flagos backend (#52)
lxd-cumt Mar 25, 2026
1f98511
Fix quantizer dtype conversion errors (#54)
lxd-cumt Mar 26, 2026
2188137
apply flagos te_groups_gemm op (#55)
chai-xiaonan Mar 30, 2026
ebcfadc
[CICD] support Metax MACA workflow (#48)
qqjxzxq Apr 2, 2026
9d1c48a
[CICD] Upload unittest coverage report to FlagCICD platform && Access…
BrianPei Apr 9, 2026
d7e9e7b
[CICD] Refactor workflows, Add integration_tests, Switch to FlagCICD …
BrianPei Apr 24, 2026
38bce13
Add the new vendor backend ENFLAME (#61)
gongxijun May 12, 2026
b75e354
add kunlunxin vendor op (#66)
sunge666-ui May 13, 2026
badccf2
TE-FL Upgrade: Synchronization with TE Release V2.14 (#62)
lxd-cumt May 15, 2026
9a686fa
Fix op register errors when skip cuda (#69)
lxd-cumt May 29, 2026
3c34bb9
Support bias for generic_gemm (#70)
wenqingqian Jun 5, 2026
25e80e9
add flagos layernorm (#72)
wenqingqian Jun 10, 2026
23b5013
add multi_tensor_compute_scale_inv_e8m0 and change call erro (#74)
sunge666-ui Jun 11, 2026
b7f65d1
add new unittest (#77)
zhaoyinglia Jun 11, 2026
9aa7e20
[fix] fix plugin te_general_grouped test bug (#81)
lihongyang1990 Jun 25, 2026
5dd31d7
fix(hygon/platform): Improve Hygon library path resolution, fall back…
wangxshuai Jun 29, 2026
d62e95f
[ascend]Native Integration of MegatronAdaptor (TransformerEngine-FL M…
ltllt1 Jul 1, 2026
4f732e2
[CICD] Improve CUDA unit test coverage (#73)
qqjxzxq Jul 1, 2026
d83b4e7
Add FlagOS Triton fused RoPE kernels (#83)
lihongyang1990 Jul 9, 2026
3b5fbb5
hcu: implement multi_tensor_scale_tensor using multi_tensor_scale in …
wangxshuai Jul 13, 2026
2cb485f
feat(backend): support tsingmicro txda backend (#88)
tsingmicro-public-e Jul 23, 2026
711887e
[Ascend] Integrate transformer_engine_npu && Fix the GEMM operator bu…
Darryl233 Jul 28, 2026
5aa024d
Integrate KunLunXin TE-FL backend patches (#84)
Jonahmoon Jul 31, 2026
7ce3fce
[CICD] Add Ascend NPU unit test support (#91)
AlexMa616 Aug 4, 2026
ed37db3
[CICD] Add BW1000 reference CI baseline and standardize plugin tests …
AlexMa616 Aug 6, 2026
dea7cd6
[CICD] Add MUSA test workflow (#93)
AlexMa616 Aug 7, 2026
06f2f21
Merge tag 'v2.17' into upgrade/v2.17-gated-20260810
zhaoyinglia Aug 10, 2026
b28ae75
fix(plugin): preserve device and attention dispatch patches
zhaoyinglia Aug 10, 2026
5d12db4
chore: align docs with upstream v2.17
zhaoyinglia Aug 10, 2026
a6c380e
fix(build): avoid duplicate activation definitions after v2.17 merge
zhaoyinglia Aug 10, 2026
b97a034
fix(plugin): align public DType with v2.17 binding
zhaoyinglia Aug 10, 2026
bbfce1c
fix(plugin): complete public QKV format enum
zhaoyinglia Aug 10, 2026
df959ad
fix(plugin): complete public QKV layout enum
zhaoyinglia Aug 10, 2026
a6d1069
fix(plugin): pass tensor offsets to CUDA group quantize
zhaoyinglia Aug 10, 2026
6089815
fix(plugin): pass tensor offsets to CUDA bgrad group quantize
zhaoyinglia Aug 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions .github/configs/ascend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Huawei Ascend NPU configuration for TransformerEngine-FL
# This file follows the same schema as cuda.yml and metax.yml.

hardware_name: ascend
display_name: 'Huawei Ascend NPU'
checkout_submodules: recursive

# CI image for the Ascend environment
ci_image: harbor.baai.ac.cn/flagos-dev/transformerengine-fl:85c2523-ascend-dev
container_pull_policy: always

# Runner labels for the self-hosted Ascend node
runner_labels:
- hw-4g-cicd-te

# Container volumes
container_volumes:
- /usr/local/Ascend/driver:/usr/local/Ascend/driver
- /usr/local/Ascend/add-ons:/usr/local/Ascend/add-ons

# Container options
container_options: >-
--privileged
--shm-size=100g
--ipc=host
--ulimit memlock=-1
--ulimit stack=67108864
--user root
--device=/dev/davinci0
--device=/dev/davinci1
--device=/dev/davinci2
--device=/dev/davinci3
--device=/dev/davinci_manager
--device=/dev/devmm_svm
--device=/dev/hisi_hdc

# Platform-specific environment setup script
setup_script: .github/scripts/setup_ascend.sh

coverage:
enabled: true
required: true
python: python3
sources:
- transformer_engine
include:
- transformer_engine/pytorch/*
- transformer_engine/debug/*
- transformer_engine/plugin/*
omit:
- '*/setup.py'
- '*/transformer_engine/plugin/core/_build_config.py'

unit_test_matrix:
- name: pytorch_debug
runner: script
path: qa/L0_pytorch_debug_unittest/test_ascend.sh

- name: pytorch_unittest
runner: script
path: qa/L0_pytorch_unittest/test_ascend.sh

- name: pytorch_distributed_unittest
runner: script
path: qa/L1_pytorch_distributed_unittest/test_ascend.sh

- name: pytorch_onnx_unittest
runner: script
path: qa/L1_pytorch_onnx_unittest/test_ascend.sh

integration_test_matrix:
- name: pytorch_mcore_integration
path: qa/L1_pytorch_mcore_integration/test.sh

# Device types to run tests on
device_types:
- ascend
92 changes: 92 additions & 0 deletions .github/configs/cuda.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# CUDA Hardware Configuration for TransformerEngine-FL
# Refactored for A100 Nodes
# This file defines environment variables, volumes, and test filters for TE tests.

hardware_name: cuda
display_name: 'NVIDIA CUDA (A100)'
checkout_submodules: recursive

# CI image for online env
ci_image: harbor.baai.ac.cn/flagscale/cuda12.8.1-torch2.7.1-python3.10-te2.9:20260209

# Runner labels for self-hosted A100 node
runner_labels:
- self-hosted
- Linux
- X64
- nvidia
- gpu-8

# Runner labels for online env
runner_labels:
- nv-8g-cicd-te

# Container volumes
container_volumes:
- /home/flagscale_cicd/flask/static:/workspace/report

# Container options
container_options: >-
--privileged
--gpus all
--shm-size=500g
--ipc=host
--ulimit memlock=-1
--ulimit stack=67108864
--user root

# Platform-specific environment setup script
setup_script: .github/scripts/setup_cuda.sh

# Device types to run tests on
device_types:
- a100

coverage:
enabled: true
required: false
python: /opt/miniconda3/envs/flagscale-train/bin/python3
sources:
- transformer_engine
include:
- transformer_engine/pytorch/*
- transformer_engine/debug/*
- transformer_engine/plugin/*
omit:
- '*/setup.py'
- '*/transformer_engine/plugin/core/_build_config.py'

unit_test_matrix:
- name: pytorch_debug
runner: script
path: qa/L0_pytorch_debug_unittest/test.sh
- name: pytorch_unittest
runner: script
path: qa/L0_pytorch_unittest/test.sh
- name: pytorch_distributed_unittest
runner: script
path: qa/L1_pytorch_distributed_unittest/test.sh
- name: pytorch_onnx_unittest
runner: script
path: qa/L1_pytorch_onnx_unittest/test.sh

integration_test_matrix:
- name: pytorch_mcore_integration
path: qa/L1_pytorch_mcore_integration/test.sh

# Test matrix configuration
test_matrix:
l0_pytorch:
path: 'qa/L0_pytorch_unittest/test.sh'
ignored_tests:
- test_sanity_layernorm_mlp
- test_sanity_gpt
- test_sanity_bert
- test_sanity_T5
- test_sanity_amp_and_nvfuser
- test_sanity_drop_path
- test_layernorm_mlp_accuracy
- test_grouped_linear_accuracy
- test_gpt_accuracy
- test_basic_linear
- test_layer_norm
76 changes: 76 additions & 0 deletions .github/configs/hygon.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Hygon DCU / DTK configuration for TransformerEngine-FL plugin QA.

hardware_name: hygon
display_name: 'Hygon DCU (DTK)'
checkout_submodules: 'false'

ci_image: harbor.baai.ac.cn/flagos-dev/transformerengine-fl:manual-20260717-hygon-dev

runner_labels:
- hg-8g-cicd-te

container_volumes:
- /opt/hyhal:/opt/hyhal

container_options: >-
--privileged
--ipc=host
--shm-size=100g
--ulimit memlock=-1
--ulimit stack=67108864
--user root
--device=/dev/kfd
--device=/dev/dri
--group-add video

setup_script: .github/scripts/setup_hygon.sh

coverage:
enabled: true
required: false
python: python3
sources:
- transformer_engine
include:
- transformer_engine/pytorch/*
- transformer_engine/debug/*
- transformer_engine/plugin/*
omit:
- '*/setup.py'
- '*/transformer_engine/plugin/core/_build_config.py'

unit_test_matrix:
- name: pytorch_debug
runner: script
path: tests/plugin/backend/hygon/run_native.sh
args: [debug]
env:
XML_LOG_DIR: logs/L0_pytorch_debug_unittest-hygon

- name: pytorch_unittest
runner: script
path: tests/plugin/backend/hygon/run_native.sh
args: [unittest]
env:
XML_LOG_DIR: logs/L0_pytorch_unittest-hygon

- name: pytorch_distributed_unittest
runner: script
path: tests/plugin/backend/hygon/run_native.sh
args: [distributed]
env:
XML_LOG_DIR: logs/L1_pytorch_distributed_unittest-hygon

- name: pytorch_onnx_unittest
runner: script
path: tests/plugin/backend/hygon/run_native.sh
args: [onnx]
env:
XML_LOG_DIR: logs/L1_pytorch_onnx_unittest-hygon

integration_test_matrix:
- name: pytorch_mcore_integration
path: tests/plugin/backend/hygon/run_integration.sh

device_types:
- bw1000
94 changes: 94 additions & 0 deletions .github/configs/metax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Metax Hardware Configuration for TE-FL
# This file defines CI/CD settings for Metax-based testing
# This file defines environment variables, volumes, and test filters for TE tests.

hardware_name: metax
display_name: 'Metax Tests'
checkout_submodules: recursive

# CI image for Metax dev env
# ci_image: localhost:5000/megatron-lm-with-te:v1

# CI image for online env
ci_image: harbor.baai.ac.cn/flagscale/megatron-lm-with-te:202603231839

# Runner labels for self-hosted Metax node
# runner_labels:
# - self-hosted
# - Linux
# - X64
# - metax
# - dev

# Runner labels for online env
runner_labels:
- mx-8g-cicd-te

# Container volumes
container_volumes:
- /nfs/metax_fs:/nfs/metax_fs

# Container options
container_options: >-
--hostname=te_cicd
--ipc=host
--privileged=true
--shm-size=100gb
--ulimit memlock=-1
--user root
--ulimit nofile=65535:65535
--group-add video
-e PLATFORM=metax
-e TORCH_DISTRIBUTED_BACKEND=mccl
-e LD_LIBRARY_PATH=/opt/maca/lib:/usr/local/lib:$LD_LIBRARY_PATH

# Platform-specific environment setup script
setup_script: .github/scripts/setup_metax.sh

# Device types to run tests on
device_types:
- c500

coverage:
enabled: true
required: false
python: /opt/conda/bin/python3
sources:
- transformer_engine
include:
- transformer_engine/pytorch/*
- transformer_engine/debug/*
- transformer_engine/plugin/*
omit:
- '*/setup.py'
- '*/transformer_engine/plugin/core/_build_config.py'

unit_test_matrix:
- name: pytorch_debug
runner: script
path: qa/L0_pytorch_debug_unittest/test.sh
- name: pytorch_unittest
runner: script
path: qa/L0_pytorch_unittest/test.sh
- name: pytorch_distributed_unittest
runner: script
path: qa/L1_pytorch_distributed_unittest/test.sh
- name: pytorch_onnx_unittest
runner: script
path: qa/L1_pytorch_onnx_unittest/test.sh

integration_test_matrix:
- name: pytorch_mcore_integration
path: qa/L1_pytorch_mcore_integration/test.sh

# Test matrix configuration
test_matrix:
unit:
devices:
- c500
# Ignored test files for unit tests
# These files will be skipped when running pytest
ignored_tests:
# example: tests/unit_tests/test_example.py
# - tests/unit_tests/test_inference.py
# - tests/unit_tests/test_rl_utils.py
Loading
Loading