Skip to content

chore: Update coverage include list#5

Closed
github-actions[bot] wants to merge 4 commits intoamd-integrationfrom
update-coverage-include-1
Closed

chore: Update coverage include list#5
github-actions[bot] wants to merge 4 commits intoamd-integrationfrom
update-coverage-include-1

Conversation

@github-actions
Copy link

Coverage Include List Update

This PR was automatically generated after changes were merged to amd-integration.

The coverage include list in pyproject.toml has been updated to reflect the current set of AMD/HIP modified files compared to upstream.

Changes

  • Updated [tool.coverage.run].include list based on git merge-base upstream/main HEAD

Modified Files Count

Check the commit for the updated list of files.


Automated by GitHub Actions

diptorupd and others added 4 commits January 26, 2026 12:34
* Update rocm+torch versions in Dev Dockerfile (ROCm#118)

Update the ROCm and pytorch version to the supported versions in Jan
release in `.devcontainer/rocm/Dockerfile`

* Updated changelog for Jan 2026 release (ROCm#119)

Updated changelog for v0.2.5+amd.2 release

* Update/readme (ROCm#120)

Adds latest docker image names to README.
Updates the wheel file name from `flashinfer` to `amd_flashinfer` in the `build from source` section's instructions.

* Minor changes and linting fixes to README (ROCm#121)

Some minor changes to README and some linting fixes.

* fix: use closest ancestor tag in git_describe_rocm.py (ROCm#125)

The previous implementation would pick the first tag in version-sorted
order that was an ancestor of HEAD. This caused issues when multiple rc
tags existed as ancestors - it would pick rc2 over the final release tag
because version-sort considers 'rc2' > '' (empty string).

Now the script finds the closest ancestor tag by commit distance, which
correctly selects the most recent tag reachable from HEAD.

* Initial files for code coverage automation

* Remove include list from pyproject.toml

* Improvements

---------

Co-authored-by: Debasis Mandal <Debasis.Mandal@amd.com>
* Initial files for code coverage automation

* Remove include list from pyproject.toml

* Improvements

* Test PR
* Initial files for code coverage automation

* Remove include list from pyproject.toml

* Improvements

* Test PR

* Test...
diptorupd pushed a commit that referenced this pull request Jan 28, 2026
This PR fixes some of the unit test failures that occur in Single
Decode. It also disables clang formatting of headers.
The clang format of headers causes compilation issues. The compiler is
unable to find `HIP WARP SYNC INTRINSICS` causing failures. Disabling
clang format fixes these issues

```
    Start 1: MathTest
1/6 Test #1: MathTest .........................   Passed    3.31 sec
    Start 2: PosEncTest
2/6 Test #2: PosEncTest .......................   Passed    3.36 sec
    Start 3: CascadeTest
3/6 Test #3: CascadeTest ......................   Passed    3.35 sec
    Start 4: PageTest
4/6 Test #4: PageTest .........................   Passed  114.08 sec
    Start 5: SingleDecodeTest
5/6 Test #5: SingleDecodeTest .................   Passed   35.22 sec
    Start 6: BatchDecodeTest
6/6 Test #6: BatchDecodeTest ..................   Passed  559.75 sec

100% tests passed, 0 tests failed out of 6

Total Test time (real) = 719.07 sec
```
diptorupd pushed a commit that referenced this pull request Jan 28, 2026
In this PR, we add infra for enabling decode via flashinfer gpu_iface.
This PR does not change existing infrastructure and we can still build
decode using AOT and JIT.

Tested locally 
```
    Start 5: SingleDecodeTest
5/6 Test #5: SingleDecodeTest .................   Passed   35.12 sec
    Start 6: BatchDecodeTest
6/6 Test #6: BatchDecodeTest ..................   Passed  541.87 sec
```

We will have a follow up PR for enabling AOT decode using flashinfer
gpu_iface
diptorupd pushed a commit that referenced this pull request Jan 28, 2026
CPP test suite was using `hipified` headers. In this PR, we port over unit tests to use `gpu_iface`. This is necessary for us as the next step is to move the build infrastructure to use `gpu_iface`

This PR has been tested locally 
```
Test project /root/flashinfer/libflashinfer/tests/hip/build
    Start 1: MathTest
1/6 Test #1: MathTest .........................   Passed    3.40 sec
    Start 2: PosEncTest
2/6 Test #2: PosEncTest .......................   Passed    3.40 sec
    Start 3: CascadeTest
3/6 Test #3: CascadeTest ......................   Passed  985.27 sec
    Start 4: PageTest
4/6 Test #4: PageTest .........................   Passed  112.40 sec
    Start 5: SingleDecodeTest
5/6 Test #5: SingleDecodeTest .................   Passed   35.46 sec
    Start 6: BatchDecodeTest
6/6 Test #6: BatchDecodeTest ..................   Passed  556.81 sec

100% tests passed, 0 tests failed out of 6
```

To replicate the tests
```
cd flashinfer/libflashinfer/tests/hip
```
```
mkdir build && cd build/
```
```
cmake -DCMAKE_PREFIX_PATH=/root/libtorch -DCMAKE_CXX_COMPILER:PATH=/opt/rocm/bin/amdclang++ -DFLASHINFER_INCLUDE_DIRS=/root/flashinfer/libflashinfer/include/ ..
```
```
make
```
```
ctest
```
diptorupd pushed a commit that referenced this pull request Jan 28, 2026
In this PR I remove the `libtorch` dependency and removed
`test_page.cpp`. `test_page.cpp` is the only unit test that uses
libtorch. However, we also have a pytest for testing page. We will use
that for validation.

Removing the libtorch dependency will help us speed docker builds and
remove additional dependencies.


```Test project /root/flashinfer/libflashinfer/tests/hip/build
    Start 1: MathTest
1/8 Test #1: MathTest ............................   Passed    0.31 sec
    Start 2: PosEncTest
2/8 Test #2: PosEncTest ..........................   Passed    0.31 sec
    Start 3: CascadeTest
3/8 Test #3: CascadeTest .........................   Passed  1369.12 sec
    Start 4: SingleDecodeTest
4/8 Test #4: SingleDecodeTest ....................   Passed  7726.35 sec
    Start 5: BatchDecodeTest
5/8 Test #5: BatchDecodeTest .....................   Passed  811.61 sec
    Start 6: test_mfma_fp32_16x16x16fp16
6/8 Test #6: test_mfma_fp32_16x16x16fp16 .........   Passed    0.30 sec
    Start 7: test_transpose_4x4_half_registers
7/8 Test #7: test_transpose_4x4_half_registers ...   Passed    0.28 sec
    Start 8: test_rowsum
8/8 Test #8: test_rowsum .........................   Passed    0.27 sec

100% tests passed, 0 tests failed out of 8
```
diptorupd added a commit that referenced this pull request Jan 28, 2026
Added a new transpose_inter_quad_fragments function to permutes MMA matrix fragments in-registers across specific thread quads. The function is required to transpose an MMA tile from A to B layout and vice-versa.

Rename transpose_4x4_half_registers to transpose_intra_quad_fragments
@diptorupd diptorupd closed this Feb 3, 2026
@diptorupd diptorupd deleted the update-coverage-include-1 branch February 3, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant