Unverified Commit e9a608e2 authored by Wenhao Xie's avatar Wenhao Xie Committed by GitHub
Browse files

[Bugfix][CI] Bug fixing and migrate CI from ada to hopper (#652)



* fix CI bugs in hopper

* lint fix

* Update bulk_copy.cc

* Refactor bulk copy logic in LowerBulkCopy function

- Removed unnecessary blank lines for improved code readability.
- Enhanced stride validation by checking for null pointers in global stride calculations, ensuring robustness against symbolic strides.
- Updated pass configuration handling in dynamic tile language tests to streamline dynamic alignment and TMA lower pass settings.

* test fix

* ci fix

* Update flash-attention dependencies and clean up example code

- Downgraded `flash-attn` dependency version in `requirements-test.txt` to `<=2.2.0`.
- Removed unused imports and commented-out code in various example files to enhance readability and maintainability.
- Updated the `flashattn` function signature to include default parameters for `block_M`, `block_N`, `num_stages`, and `threads`.
- Cleaned up the `example_mha_fwd_varlen.py` and `example_mha_bwd_wgmma_pipelined.py` files by removing unnecessary comments and improving code clarity.
- Deleted the `example_mha_inference.py` file as it is no longer needed.

* Update CI workflow to remove `--user` flag from pip install commands

- Removed the `--user` flag from the pip install commands in both the development and testing sections of the CI workflow to ensure proper installation of dependencies in the virtual environment.

* Update CI workflow to include `--no-user` flag in pip install commands

- Added the `--no-user` flag to the pip install commands in both the development and testing sections of the CI workflow to ensure dependencies are installed correctly within the virtual environment.

* Update CI workflow to include `--no-user` flag in pip install command for wheel mode

- Added the `--no-user` flag to the pip install command in the wheel mode section of the CI workflow to ensure dependencies are installed correctly within the virtual environment.

* test fix

* avoid conflict with system environments

* test fix

* add commnets

---------
Co-authored-by: default avatarLei Wang <34334180+LeiWang1999@users.noreply.github.com>
Co-authored-by: default avatarLeiWang1999 <leiwang1999@outlook.com>
parent 5bd3f942
...@@ -102,3 +102,11 @@ def requires_cuda_compute_version_gt(major_version, minor_version=0): ...@@ -102,3 +102,11 @@ def requires_cuda_compute_version_gt(major_version, minor_version=0):
def requires_cuda_compute_version_eq(major_version, minor_version=0): def requires_cuda_compute_version_eq(major_version, minor_version=0):
return requires_cuda_compute_version(major_version, minor_version, mode="eq") return requires_cuda_compute_version(major_version, minor_version, mode="eq")
def requires_cuda_compute_version_lt(major_version, minor_version=0):
return requires_cuda_compute_version(major_version, minor_version, mode="lt")
def requires_cuda_compute_version_le(major_version, minor_version=0):
return requires_cuda_compute_version(major_version, minor_version, mode="le")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment