Skip to content

[ROCM] Fix windows issues#2385

Merged
micmelesse merged 9 commits intoDao-AILab:mainfrom
ROCm:micmelesse/windows-rocm-support
Apr 2, 2026
Merged

[ROCM] Fix windows issues#2385
micmelesse merged 9 commits intoDao-AILab:mainfrom
ROCm:micmelesse/windows-rocm-support

Conversation

@micmelesse
Copy link
Copy Markdown
Collaborator

@micmelesse micmelesse commented Mar 23, 2026

This PR fixes issues experienced by users using the triton backend of flash attention on windows. See #2383. This pr depends on ROCm/aiter#2433 which has to be merged first. I will update here when that happens.

This PR is a continuation of #2384 by @0xDELUXA. It cherry picks the author's commits with their permission. I take responsibility for the remaining work.

I have added ci tests in aiter so we will detect issues like this going forward.

@micmelesse
Copy link
Copy Markdown
Collaborator Author

micmelesse commented Mar 23, 2026

I will take this out of draft when It is ready to merge.

@micmelesse micmelesse force-pushed the micmelesse/windows-rocm-support branch from 123f341 to 44f9b01 Compare March 23, 2026 23:10
@micmelesse
Copy link
Copy Markdown
Collaborator Author

@astrelsky @0xDELUXA Can you test this pr? I added CI smoke test for windows and it is passing. See https://github.com/ROCm/aiter/actions/runs/23464138688/job/68272544832

@0xDELUXA
Copy link
Copy Markdown
Contributor

0xDELUXA commented Mar 24, 2026

@astrelsky @0xDELUXA Can you test this pr? I added CI smoke test for windows and it is passing. See https://github.com/ROCm/aiter/actions/runs/23464138688/job/68272544832

PS C:> git clone https://github.com/Dao-AILab/flash-attention
Cloning into 'flash-attention'...
remote: Enumerating objects: 13886, done.
remote: Counting objects: 100% (209/209), done.
remote: Compressing objects: 100% (65/65), done.
remote: Total 13886 (delta 175), reused 144 (delta 144), pack-reused 13677 (from 3)
Receiving objects: 100% (13886/13886), 19.72 MiB | 28.52 MiB/s, done.
Resolving deltas: 100% (10678/10678), done.
Updating files: 100% (1016/1016), done.
PS C:> cd flash-attention
PS C:\flash-attention> git fetch origin pull/2385/head:pr-2385
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 12 (delta 5), reused 10 (delta 5), pack-reused 1 (from 1)
Unpacking objects: 100% (12/12), 10.05 KiB | 250.00 KiB/s, done.
From https://github.com/Dao-AILab/flash-attention
 * [new ref]         refs/pull/2385/head -> pr-2385
PS C:\flash-attention> git checkout pr-2385
Switched to branch 'pr-2385'
PS C:\flash-attention> C:\ComfyUI\venv\Scripts\Activate.ps1
(venv) PS C:\flash-attention> $env:FLASH_ATTENTION_TRITON_AMD_ENABLE = "TRUE"
(venv) PS C:\flash-attention> pip install --no-build-isolation -e .
Obtaining file:///C:/flash-attention
  Checking if build backend supports build_editable ... done
  Preparing editable metadata (pyproject.toml) ... done
Requirement already satisfied: einops in C:\ComfyUI\venv\Lib\site-packages (from flash_attn==2.8.4) (0.8.2)
Requirement already satisfied: triton-windows>=3.2.0 in C:\ComfyUI\venv\Lib\site-packages (from flash_attn==2.8.4) (3.6.0+gitae9d5a54.post27)
Building wheels for collected packages: flash_attn
  Building editable for flash_attn (pyproject.toml) ... done
  Created wheel for flash_attn: filename=flash_attn-2.8.4-0.editable-py3-none-any.whl size=12336 sha256=c49f1426ca6dcc43d57d28f77669d96e518a66800fd1212ba01229f0339a7542
  Stored in directory: C:\Users\deluxa\AppData\Local\Temp\pip-ephem-wheel-cache-55s_n3mf\wheels\11\60\82\d3b022b8cb27485d3b1fe0f35654cc0629565dbe36cf5323b0
Successfully built flash_attn
Installing collected packages: flash_attn
  Attempting uninstall: flash_attn
    Found existing installation: flash_attn 2.8.4
    Uninstalling flash_attn-2.8.4:
      Successfully uninstalled flash_attn-2.8.4
Successfully installed flash_attn-2.8.4
(venv) PS C:\flash-attention> python -c "from flash_attn.flash_attn_interface import flash_attn_func"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\flash-attention\flash_attn\__init__.py", line 8, in <module>
    from flash_attn.flash_attn_interface import (
  File "C:\flash-attention\flash_attn\flash_attn_interface.py", line 21, in <module>
    from aiter.ops.triton._triton_kernels.flash_attn_triton_amd import flash_attn_2 as flash_attn_gpu
  File "C:\flash-attention\third_party\aiter\aiter\__init__.py", line 59, in <module>
    from .jit import core as core  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\flash-attention\third_party\aiter\aiter\jit\core.py", line 23, in <module>
    from chip_info import get_gfx, get_gfx_list  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\flash-attention\third_party\aiter\aiter\jit/utils\chip_info.py", line 8, in <module>
    from cpp_extension import executable_path
  File "C:\flash-attention\third_party\aiter\aiter\jit/utils\cpp_extension.py", line 175, in <module>
    HIP_HOME = _join_rocm_home("hip") if ROCM_HOME else None
               ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\flash-attention\third_party\aiter\aiter\jit/utils\cpp_extension.py", line 134, in _join_rocm_home
    raise OSError(
OSError: Building PyTorch extensions using ROCm and Windows is not supported.

I think the CI only passes because it runs on a clean Windows runner with no ROCm installation, so ROCM_HOME is None and the exception never triggers. I also tried setting the ROCM_HOME environment variable, but it gives the same error:

(venv) PS C:\flash-attention> $env:ROCM_HOME = "$VENV_PATH\Lib\site-packages\_rocm_sdk_devel"
(venv) PS C:\flash-attention> python -c "from flash_attn.flash_attn_interface import flash_attn_func"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\flash-attention\flash_attn\__init__.py", line 8, in <module>
    from flash_attn.flash_attn_interface import (
  File "C:\flash-attention\flash_attn\flash_attn_interface.py", line 21, in <module>
    from aiter.ops.triton._triton_kernels.flash_attn_triton_amd import flash_attn_2 as flash_attn_gpu
  File "C:\flash-attention\third_party\aiter\aiter\__init__.py", line 59, in <module>
    from .jit import core as core  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\flash-attention\third_party\aiter\aiter\jit\core.py", line 23, in <module>
    from chip_info import get_gfx, get_gfx_list  # noqa: E402
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\flash-attention\third_party\aiter\aiter\jit/utils\chip_info.py", line 8, in <module>
    from cpp_extension import executable_path
  File "C:\flash-attention\third_party\aiter\aiter\jit/utils\cpp_extension.py", line 175, in <module>
    HIP_HOME = _join_rocm_home("hip") if ROCM_HOME else None
               ^^^^^^^^^^^^^^^^^^^^^^
  File "C:\flash-attention\third_party\aiter\aiter\jit/utils\cpp_extension.py", line 134, in _join_rocm_home
    raise OSError(
OSError: Building PyTorch extensions using ROCm and Windows is not supported.

I'm pretty sure we need to bring in a few more changes from my initial cpp_extension.py.

@micmelesse
Copy link
Copy Markdown
Collaborator Author

I will check this out on an internal node and get back to you.

@micmelesse micmelesse force-pushed the micmelesse/windows-rocm-support branch from 0099fbc to 77e478e Compare March 24, 2026 19:58
@micmelesse
Copy link
Copy Markdown
Collaborator Author

@astrelsky @0xDELUXA Can you try the new commit of this pr? I think the issue is fixed . I tried on an internal node and I see the build issues resolved.
image

Comment thread setup.py Outdated
@astrelsky
Copy link
Copy Markdown

Unfortunately, unless I'm missing changes, I'm not seeing that at all. If I try to run pytest directly I get a ton of errors. If I try to just run tests\test_flash_attn_triton_amd.py I get this, I'm not sure how you ran those tests.
image

Building PyTorch extensions using ROCm and Windows is supported.

@micmelesse
Copy link
Copy Markdown
Collaborator Author

micmelesse commented Mar 24, 2026

@astrelsky I removed the IS_WINDOWS error in cpp_extension.py. This is the command that I am used to get the message above. You might have to update it.

  set WORK=C:\t
  git clone --depth 1 -b micmelesse/windows-rocm-support
  https://github.com/ROCm/aiter.git %WORK%\aiter
  pip install -e %WORK%\aiter --no-build-isolation

  git clone --depth 1 -b micmelesse/windows-rocm-support
  https://github.com/ROCm/flash-attention.git %WORK%\fa
  robocopy %WORK%\aiter %WORK%\fa\third_party\aiter /E /XD .git 3rdparty /NFL /NDL
  /NJH /NJS
  rmdir /s /q %WORK%\fa\.git
  set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE
  pip install --no-build-isolation --no-deps -e %WORK%\fa

  python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:',
   flash_attn_func)"

  ---

@astrelsky
Copy link
Copy Markdown

astrelsky commented Mar 25, 2026

@astrelsky I removed the IS_WINDOWS error in cpp_extension.py. This is the command that I am used to get the message above. You might have to update it.

  set WORK=C:\t
  git clone --depth 1 -b micmelesse/windows-rocm-support
  https://github.com/ROCm/aiter.git %WORK%\aiter
  pip install -e %WORK%\aiter --no-build-isolation

  git clone --depth 1 -b micmelesse/windows-rocm-support
  https://github.com/ROCm/flash-attention.git %WORK%\fa
  robocopy %WORK%\aiter %WORK%\fa\third_party\aiter /E /XD .git 3rdparty /NFL /NDL
  /NJH /NJS
  rmdir /s /q %WORK%\fa\.git
  set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE
  pip install --no-build-isolation --no-deps -e %WORK%\fa

  python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:',
   flash_attn_func)"

  ---

Ok, that looks about equivalent to what I did last night except the last part. I'll give it another shot this morning I should have a moment in between an appointment this morning before I go to work.

Hopefully @0xDELUXA can try as well.

@astrelsky
Copy link
Copy Markdown

astrelsky commented Mar 25, 2026

I gave it a shot before hopping in the shower this morning. Here are the exact steps I took for full reproducibility and the results.

set TORCH_ROCM_AOTRITON_ENABLE_EXPERIMENTAL=1
set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE
git clone --depth 1 -b micmelesse/windows-rocm-support https://github.com/ROCm/aiter.git
cd aiter
python -m venv venv
venv\scripts\activate
uv pip install --index-url https://rocm.nightlies.amd.com/v2-staging/gfx1150/ rocm[devel,libraries] torch torchaudio torchvision
rocm-sdk init
rocm-sdk test
pip wheel . --no-build-isolation
venv\scripts\deactivate
cd ..
git clone --depth 1 -b micmelesse/windows-rocm-support https://github.com/ROCm/flash-attention.git
cd flash-attention
copy "D:\aiter\amd_aiter-0.0.0-cp312-cp312-win_amd64.whl" "D:\flash-attention\amd_aiter-0.0.0-cp312-cp312-win_amd64.whl"
python -m venv venv
venv\scripts\activate
uv pip install --index-url https://rocm.nightlies.amd.com/v2-staging/gfx1150/ rocm[devel,libraries] torch torchaudio torchvision
rocm-sdk init
rocm-sdk test
pip install amd_aiter-0.0.0-cp312-cp312-win_amd64.whl triton-windows
pip install -e . --no-build-isolation --no-deps
python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:', flash_attn_func)"
(venv) D:\flash-attention>python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:', flash_attn_func)"
'cat' is not recognized as an internal or external command,
operable program or batch file.
[aiter] start build [module_aiter_enum] under D:\flash-attention\venv\Lib\site-packages\aiter\jit/build/module_aiter_enum
[aiter] finish build [module_aiter_enum], cost 0.1s
[aiter] ROCm/HIP JIT runtime not available: Get GPU arch from rocminfo failed Could not find rocminfo in PATH or ROCM_HOME(D:\flash-attention\venv). CK and HIP ops are disabled. Triton ops remain available.
OK: <function flash_attn_func at 0x000001E407867740>

Then I did the following:

pip install pytest
tests\test_flash_attn_triton_amd.py
(venv) D:\flash-attention>tests\test_flash_attn_triton_amd.py
'cat' is not recognized as an internal or external command,
operable program or batch file.
[aiter] start build [module_aiter_enum] under D:\flash-attention\venv\Lib\site-packages\aiter\jit/build/module_aiter_enum
[aiter] finish build [module_aiter_enum], cost 0.1s
[aiter] ROCm/HIP JIT runtime not available: Get GPU arch from rocminfo failed Could not find rocminfo in PATH or ROCM_HOME(D:\flash-attention\venv). CK and HIP ops are disabled. Triton ops remain available.

Then as one more final test, I ran pytest to run everything and got the following output.

pytest output
(venv) D:\flash-attention>pytest
================================================= test session starts =================================================
platform win32 -- Python 3.12.10, pytest-9.0.2, pluggy-1.6.0
rootdir: D:\flash-attention
collecting 1079023 items / 136 errors                                                                                  {
  "test_layer_norm.py": {
    "test_layer_norm": 9600,
    "test_layer_norm_linear": 128
  },
  "test_flash_attn.py": {
    "test_flash_attn_qkvpacked": 6144,
    "test_flash_attn_varlen_qkvpacked": 5760,
    "test_flash_attn_output": 84480,
    "test_flash_attn_varlen_output": 92928,
    "test_flash_attn_causal": 960,
    "test_flash_attn_varlen_causal": 2880,
    "test_flash_attn_splitkv": 6912,
    "test_flash_attn_kvcache": 304128,
    "test_flash_attn_race_condition": 672,
    "test_flash_attn_bwd_overflow": 30,
    "test_flash_attn_bwd_transpose": 32,
    "test_flash_attn_bwd_varlen_overflow": 6,
    "test_flash_attn_deterministic": 1920,
    "test_flash_attn_varlen_deterministic": 1920
  },
  "test_flash_attn_ck.py": {
    "test_flash_attn_qkvpacked": 6144,
    "test_flash_attn_varlen_qkvpacked": 5760,
    "test_flash_attn_output": 42240,
    "test_flash_attn_varlen_output": 46464,
    "test_flash_attn_causal": 864,
    "test_flash_attn_varlen_causal": 2592,
    "test_flash_attn_kvcache": 304128,
    "test_flash_attn_race_condition": 624,
    "test_flash_attn_bwd_overflow": 30,
    "test_flash_attn_bwd_transpose": 32,
    "test_flash_attn_bwd_varlen_overflow": 6,
    "test_flash_attn_deterministic": 1920,
    "test_flash_attn_varlen_deterministic": 1920
  },
  "test_flash_attn_triton_amd.py": {
    "test_flash_attn_qkvpacked": 768,
    "test_flash_attn_varlen_qkvpacked": 720,
    "test_flash_attn_output": 5280,
    "test_flash_attn_varlen_output": 2904,
    "test_flash_attn_causal": 120,
    "test_flash_attn_varlen_causal": 120,
    "test_flash_attn_splitkv": 432,
    "test_flash_attn_kvcache": 76032,
    "test_flash_attn_race_condition": 672,
    "test_flash_attn_bwd_overflow": 30,
    "test_flash_attn_bwd_transpose": 16,
    "test_flash_attn_bwd_varlen_overflow": 6,
    "test_flash_attn_deterministic": 240,
    "test_flash_attn_varlen_deterministic": 240
  },
  "test_rotary.py": {
    "test_rotary_emb_func": 48,
    "test_rotary_emb_qkv": 96,
    "test_rotary_emb_kv": 24,
    "test_rotary_emb_varlen_func": 48,
    "test_compilation_count": 1
  },
  "test_opus_device.py": {
    "test_mfma_32x32x2_f32": 1,
    "test_mfma_16x16x4_f32": 1,
    "test_mfma_32x32x8_f16": 1,
    "test_mfma_32x32x8_bf16": 1,
    "test_mfma_16x16x16_f16": 1,
    "test_mfma_16x16x16_bf16": 1,
    "test_mfma_32x32x16_f16": 1,
    "test_mfma_32x32x16_bf16": 1,
    "test_mfma_16x16x32_f16": 1,
    "test_mfma_16x16x32_bf16": 1,
    "test_mfma_32x32x16_fp8": 1,
    "test_mfma_32x32x16_bf8": 1,
    "test_mfma_16x16x32_fp8": 1,
    "test_mfma_16x16x32_bf8": 1,
    "test_wmma_16x16x32_f16": 1,
    "test_wmma_16x16x32_bf16": 1,
    "test_wmma_16x16x32_f16_f16": 1,
    "test_wmma_16x16x32_bf16_bf16": 1,
    "test_wmma_16x16x4_f32": 1,
    "test_wmma_16x16x64_fp8_f32": 1,
    "test_wmma_16x16x64_bf8_f32": 1,
    "test_wmma_16x16x64_fp8_f16": 1,
    "test_wmma_16x16x128_fp8_f32": 1,
    "test_wmma_16x16x128_bf8_f32": 1,
    "test_wmma_16x16x128_fp8_f16": 1,
    "test_mxfp8_32x32x64": 1,
    "test_mxfp8_16x16x128": 1,
    "test_mxfp4_32x32x64": 1,
    "test_mxfp4_16x16x128": 1,
    "test_vector_add": 1,
    "test_async_load": 1,
    "test_dtype_convert_fp32_bf16": 1,
    "test_dtype_convert_fp32_fp16": 1,
    "test_dtype_convert_fp32_bf16_vec4": 1,
    "test_dtype_convert_fp32_fp16_vec4": 1,
    "test_dtype_convert_fp32_fp8_scalar": 1,
    "test_dtype_convert_fp32_fp8": 1,
    "test_dtype_convert_fp32_fp4": 1,
    "test_dtype_convert_fp32_fp8_x2": 1,
    "test_dtype_convert_fp32_fp8_vec8": 1,
    "test_dtype_convert_fp32_fp4_x2": 1,
    "test_dtype_convert_fp32_fp4_x4": 1,
    "test_predicated_copy": 1,
    "test_free_func_vector_add": 1,
    "test_predicated_async_load": 1,
    "test_mdiv": 1,
    "test_numeric_limits": 1,
    "test_finfo": 1,
    "test_wb_cumulative": 1,
    "test_wb_streamk_reduce": 1
  },
  "test_jit_dir_with_enum.py": {
    "test_aiter_jit_dir_with_enum": 1
  },
  "test_chunked_pa_prefill.py": {
    "test_contexted_kv_attention": 189,
    "test_contexted_kv_attention_alibi": 27
  },
  "test_extend_attention.py": {
    "test_op_fwd": 32
  },
  "test_flash_attn_kvcache.py": {
    "test_flash_attn_kvcache": 1728,
    "test_flash_attn_kvcache_torch_compile": 8,
    "test_flash_attn_kvcache_hipgraph_capture": 4
  },
  "test_fp8_mqa_logits.py": {
    "test_fp8_mqa_logits": 200
  },
  "test_hstu_attn.py": {
    "test_hstu_attention": 2
  },
  "test_la.py": {
    "test_persistent_lean_attention": 20,
    "test_persistent_lean_attention_outer": 2
  },
  "test_la_paged.py": {
    "test_persistent_lean_attention": 17
  },
  "test_mla_decode_rope.py": {
    "test_op_fwd_rope": 16,
    "test_op_fwd_rope_neox": 32,
    "test_op_fwd_rope_integration": 192
  },
  "test_pa_prefill.py": {
    "test_contexted_kv_attention": 189,
    "test_contexted_kv_attention_alibi": 27
  },
  "test_prefill_attention.py": {
    "test_op_fwd": 32
  },
  "test_unified_attention.py": {
    "test_triton_unified_attn": 1728
  },
  "test_unified_attention_sparse_mla.py": {
    "test_triton_unified_attn": 288
  },
  "test_fused_mul_add.py": {
    "test_mul_add": 576
  },
  "test_gemm_a16w16.py": {
    "test_gemm_a16_w16_activation": 688,
    "test_gemm_a16_w16": 172,
    "test_gemm_a16_w16_layout": 516,
    "test_gemm_a16_w16_atomic": 172,
    "test_gemm_a16_w16_atomic_layout": 516
  },
  "test_gemm_a16w16_gated.py": {
    "test_gemm_a16_w16_gated": 4128
  },
  "test_gemm_a16w8_blockscale.py": {
    "test_gemm": 102
  },
  "test_gemm_a16wfp4.py": {
    "test_gemm_a16wfp4": 5568
  },
  "test_gemm_a8w8.py": {
    "test_gemm": 10656,
    "test_gemm_splitk": 576,
    "test_gemm_splitk_skip_reduce": 6
  },
  "test_gemm_a8w8_blockscale.py": {
    "test_gemm": 128
  },
  "test_gemm_a8w8_per_token_scale.py": {
    "test_gemm": 344
  },
  "test_gemm_a8wfp4.py": {
    "test_gemm_a8wfp4": 45
  },
  "test_gemm_afp4wfp4.py": {
    "test_gemm_afp4_wfp4": 14336
  },
  "test_batched_gemm_a16wfp4.py": {
    "test_batched_gemm_a16wfp4": 2304
  },
  "test_batched_gemm_a8w8.py": {
    "test_batched_gemm_a8w8": 76,
    "test_batched_gemm_a8w8_layout": 120
  },
  "test_batched_gemm_a8w8_a_per_token_group_prequant_w_per_batched_tensor_quant.py": {
    "test_batched_gemm_a8w8_a_per_token_group_prequant_w_per_batched_tensor_quant": 392
  },
  "test_batched_gemm_afp4wfp4.py": {
    "test_batched_gemm_afp4_wfp4": 2664
  },
  "test_batched_gemm_bf16.py": {
    "test_batched_gemm_bf16": 76,
    "test_batched_gemm_bf16_layout": 120
  },
  "test_ff_a16w16.py": {
    "test_ff_a16w16_ungated": 688,
    "test_ff_a16w16_gated": 688
  },
  "test_ff_a16w16_fused.py": {
    "test_ff_a16w16_fused_ungated": 688,
    "test_ff_a16w16_fused_gated": 688
  },
  "test_fused_gemm_a8w8_blockscale_a16w16.py": {
    "test_gemm": 584
  },
  "test_fused_gemm_a8w8_blockscale_mul_add.py": {
    "test_fused_gemm_a8w8_blockscale_mul_add": 640
  },
  "test_fused_gemm_a8w8_blockscale_split_cat.py": {
    "test_fused_gemm_a8w8_blockscale_split_cat": 8
  },
  "test_fused_gemm_afp4wfp4_a16w16.py": {
    "test_gemm": 1152
  },
  "test_fused_gemm_afp4wfp4_mul_add.py": {
    "test_fused_gemm_afp4wfp4_mul_add": 2048
  },
  "test_fused_gemm_afp4wfp4_split_cat.py": {
    "test_fused_gemm_afp4wfp4_split_cat": 208
  },
  "test_moe_align_block_size.py": {
    "test_correctness": 9
  },
  "test_moe_gemm_a4w4.py": {
    "test_op": 448
  },
  "test_moe_gemm_a8w4.py": {
    "test_op": 352
  },
  "test_moe_gemm_a8w8.py": {
    "test_op": 576
  },
  "test_moe_gemm_a8w8_blockscale.py": {
    "test_op": 768
  },
  "test_moe_gemm_int8_smoothquant.py": {
    "test_op": 304
  },
  "test_moe_routing.py": {
    "test_op": 144
  },
  "test_moe_routing_sigmoid_top1_fused.py": {
    "test_routing_sigmoid_top1": 20
  },
  "test_fused_add_rmsnorm_pad.py": {
    "test_mul_add": 420
  },
  "test_layernorm.py": {
    "test_layernorm": 24,
    "test_fused_add_layernorm": 24,
    "test_layernorm_smoothquant": 24,
    "test_layernorm_dynamicquant": 24,
    "test_layernorm_fused_add_smoothquant": 24,
    "test_layernorm_fused_add_dynamicquant": 24
  },
  "test_rmsnorm.py": {
    "test_rmsnorm": 54,
    "test_fused_add_rmsnorm": 54,
    "test_rmsnorm_smoothquant": 54,
    "test_rmsnorm_dynamicquant": 54,
    "test_rmsnorm_fused_add_smoothquant": 54,
    "test_rmsnorm_fused_add_dynamicquant": 54,
    "test_rms_norm_dynamic_per_token_fp8_quant": 36
  },
  "test_causal_conv1d.py": {
    "test_causal_conv1d_update": 1080,
    "test_causal_conv1d_update_with_batch_gather": 1440,
    "test_causal_conv1d_varlen": 2400
  },
  "test_gated_delta_rule.py": {
    "test_fused_recurrent": 11,
    "test_chunk": 13,
    "test_fused_sigmoid_gating_delta_rule_update": 11,
    "test_chunk_varlen": 7
  },
  "test_gmm.py": {
    "test_gmm": 256,
    "test_tgmm": 512,
    "test_tgmm_accumulate": 4
  },
  "test_softmax.py": {
    "test_softmax": 30
  },
  "test_topk.py": {
    "test_topk": 40
  },
  "test_metadata_redirect.py": {
    "test_f32_kernel": 1,
    "test_jit": 1,
    "test_separate_compile_and_run": 1
  }
}
collected 1084830 items / 139 errors

======================================================= ERRORS ========================================================
____________________________________ ERROR collecting hopper/test_attn_kvcache.py _____________________________________
ImportError while importing test module 'D:\flash-attention\hopper\test_attn_kvcache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hopper\test_attn_kvcache.py:5: in <module>
    import flash_attn_interface
E   ModuleNotFoundError: No module named 'flash_attn_interface'
--------------------------------------------------- Captured stderr ---------------------------------------------------
'cat' is not recognized as an internal or external command,
operable program or batch file.
[aiter] start build [module_aiter_enum] under D:\flash-attention\venv\Lib\site-packages\aiter\jit/build/module_aiter_enum
[aiter] finish build [module_aiter_enum], cost 0.1s
[aiter] ROCm/HIP JIT runtime not available: Get GPU arch from rocminfo failed Could not find rocminfo in PATH or ROCM_HOME(D:\flash-attention\venv). CK and HIP ops are disabled. Triton ops remain available.
_____________________________________ ERROR collecting hopper/test_flash_attn.py ______________________________________
ImportError while importing test module 'D:\flash-attention\hopper\test_flash_attn.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hopper\test_flash_attn.py:21: in <module>
    from padding import pad_input, unpad_input
E   ModuleNotFoundError: No module named 'padding'
_____________________________ ERROR collecting hopper/test_flash_attn_bwd_determinism.py ______________________________
ImportError while importing test module 'D:\flash-attention\hopper\test_flash_attn_bwd_determinism.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hopper\test_flash_attn_bwd_determinism.py:16: in <module>
    from padding import pad_input, unpad_input
E   ModuleNotFoundError: No module named 'padding'
________________________________ ERROR collecting hopper/test_flash_attn_triton_amd.py ________________________________
ImportError while importing test module 'D:\flash-attention\hopper\test_flash_attn_triton_amd.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hopper\test_flash_attn_triton_amd.py:16: in <module>
    from padding import pad_input, unpad_input
E   ModuleNotFoundError: No module named 'padding'
_______________________________________ ERROR collecting hopper/test_kvcache.py _______________________________________
ImportError while importing test module 'D:\flash-attention\hopper\test_kvcache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hopper\test_kvcache.py:3: in <module>
    import flash_attn_interface as fa3
E   ModuleNotFoundError: No module named 'flash_attn_interface'
______________________________ ERROR collecting hopper/test_torch_compile_and_export.py _______________________________
ImportError while importing test module 'D:\flash-attention\hopper\test_torch_compile_and_export.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hopper\test_torch_compile_and_export.py:2: in <module>
    from flash_attn_interface import flash_attn_func
E   ModuleNotFoundError: No module named 'flash_attn_interface'
________________________________________ ERROR collecting hopper/test_util.py _________________________________________
ImportError while importing test module 'D:\flash-attention\hopper\test_util.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
hopper\test_util.py:6: in <module>
    from padding import pad_input, unpad_input
E   ModuleNotFoundError: No module named 'padding'
_________________________________ ERROR collecting tests/cute/test_block_sparsity.py __________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_block_sparsity.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_block_sparsity.py:7: in <module>
    from mask_mod_definitions import get_mask_pair
tests\cute\mask_mod_definitions.py:6: in <module>
    import cutlass
E   ModuleNotFoundError: No module named 'cutlass'
___________________________________ ERROR collecting tests/cute/test_flash_attn.py ____________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_flash_attn.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_flash_attn.py:19: in <module>
    from flash_attn.cute.testing import (
flash_attn\cute\__init__.py:10: in <module>
    import cutlass.cute as cute
E   ModuleNotFoundError: No module named 'cutlass'
_______________________________ ERROR collecting tests/cute/test_flash_attn_combine.py ________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_flash_attn_combine.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_flash_attn_combine.py:8: in <module>
    from flash_attn.cute.testing import (
flash_attn\cute\__init__.py:10: in <module>
    import cutlass.cute as cute
E   ModuleNotFoundError: No module named 'cutlass'
_________________________________ ERROR collecting tests/cute/test_flash_attn_fast.py _________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_flash_attn_fast.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_flash_attn_fast.py:13: in <module>
    from flash_attn.cute.testing import (
flash_attn\cute\__init__.py:10: in <module>
    import cutlass.cute as cute
E   ModuleNotFoundError: No module named 'cutlass'
____________________________ ERROR collecting tests/cute/test_flash_attn_race_condition.py ____________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_flash_attn_race_condition.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_flash_attn_race_condition.py:17: in <module>
    from flash_attn.cute.testing import (
flash_attn\cute\__init__.py:10: in <module>
    import cutlass.cute as cute
E   ModuleNotFoundError: No module named 'cutlass'
________________________________ ERROR collecting tests/cute/test_flash_attn_varlen.py ________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_flash_attn_varlen.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_flash_attn_varlen.py:6: in <module>
    from flash_attn.cute import flash_attn_varlen_func
flash_attn\cute\__init__.py:10: in <module>
    import cutlass.cute as cute
E   ModuleNotFoundError: No module named 'cutlass'
____________________________________ ERROR collecting tests/cute/test_mask_mod.py _____________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_mask_mod.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_mask_mod.py:20: in <module>
    import cutlass
E   ModuleNotFoundError: No module named 'cutlass'
____________________________________ ERROR collecting tests/cute/test_score_mod.py ____________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_score_mod.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_score_mod.py:3: in <module>
    import cutlass
E   ModuleNotFoundError: No module named 'cutlass'
________________________________ ERROR collecting tests/cute/test_score_mod_varlen.py _________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_score_mod_varlen.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_score_mod_varlen.py:4: in <module>
    from flash_attn.cute.interface import _flash_attn_fwd
flash_attn\cute\__init__.py:10: in <module>
    import cutlass.cute as cute
E   ModuleNotFoundError: No module named 'cutlass'
______________________________________ ERROR collecting tests/cute/test_utils.py ______________________________________
ImportError while importing test module 'D:\flash-attention\tests\cute\test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\cute\test_utils.py:5: in <module>
    from flash_attn.cute import utils as cute_utils
flash_attn\cute\__init__.py:10: in <module>
    import cutlass.cute as cute
E   ModuleNotFoundError: No module named 'cutlass'
____________________________________ ERROR collecting tests/layers/test_rotary.py _____________________________________
ImportError while importing test module 'D:\flash-attention\tests\layers\test_rotary.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\layers\test_rotary.py:10: in <module>
    from transformers.models.gpt_neox.modeling_gpt_neox import RotaryEmbedding as RotaryEmbeddingNeoX
E   ModuleNotFoundError: No module named 'transformers'
_________________________________ ERROR collecting tests/losses/test_cross_entropy.py _________________________________
tests\losses\test_cross_entropy.py:6: in <module>
    from flash_attn.losses.cross_entropy import CrossEntropyLoss
flash_attn\losses\cross_entropy.py:6: in <module>
    from flash_attn.ops.triton.cross_entropy import cross_entropy_loss
flash_attn\ops\triton\cross_entropy.py:16: in <module>
    torch.distributed.all_gather_into_tensor = torch.distributed._all_gather_base
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   AttributeError: module 'torch.distributed' has no attribute '_all_gather_base'
____________________________ ERROR collecting tests/losses/test_cross_entropy_parallel.py _____________________________
ImportError while importing test module 'D:\flash-attention\tests\losses\test_cross_entropy_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\losses\test_cross_entropy_parallel.py:8: in <module>
    from apex.transformer import parallel_state, tensor_parallel
E   ModuleNotFoundError: No module named 'apex'
___________________________________ ERROR collecting tests/models/test_baichuan.py ____________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_baichuan.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_baichuan.py:11: in <module>
    from transformers import AutoConfig, AutoTokenizer, AutoModelForCausalLM
E   ModuleNotFoundError: No module named 'transformers'
_____________________________________ ERROR collecting tests/models/test_bert.py ______________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_bert.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_bert.py:8: in <module>
    from transformers import BertConfig
E   ModuleNotFoundError: No module named 'transformers'
____________________________________ ERROR collecting tests/models/test_bigcode.py ____________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_bigcode.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_bigcode.py:5: in <module>
    from transformers import AutoTokenizer, GPTBigCodeConfig
E   ModuleNotFoundError: No module named 'transformers'
_____________________________________ ERROR collecting tests/models/test_btlm.py ______________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_btlm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_btlm.py:7: in <module>
    from transformers import AutoConfig, AutoTokenizer, AutoModelForCausalLM
E   ModuleNotFoundError: No module named 'transformers'
____________________________________ ERROR collecting tests/models/test_falcon.py _____________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_falcon.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_falcon.py:12: in <module>
    from flash_attn.models.falcon import falcon_config_to_gpt2_config, remap_state_dict_hf_falcon
flash_attn\models\falcon.py:10: in <module>
    from transformers import FalconConfig, GPT2Config
E   ModuleNotFoundError: No module named 'transformers'
______________________________________ ERROR collecting tests/models/test_gpt.py ______________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_gpt.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_gpt.py:6: in <module>
    from flash_attn.models.gpt import (
flash_attn\models\gpt.py:15: in <module>
    from transformers import GPT2Config
E   ModuleNotFoundError: No module named 'transformers'
____________________________ ERROR collecting tests/models/test_gpt_generation_parallel.py ____________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_gpt_generation_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_gpt_generation_parallel.py:9: in <module>
    from flash_attn.models.gpt import GPTLMHeadModel, remap_state_dict_hf_gpt2
flash_attn\models\gpt.py:15: in <module>
    from transformers import GPT2Config
E   ModuleNotFoundError: No module named 'transformers'
___________________________________ ERROR collecting tests/models/test_gpt_neox.py ____________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_gpt_neox.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_gpt_neox.py:7: in <module>
    from flash_attn.models.gpt import GPTLMHeadModel
flash_attn\models\gpt.py:15: in <module>
    from transformers import GPT2Config
E   ModuleNotFoundError: No module named 'transformers'
_________________________________ ERROR collecting tests/models/test_gpt_parallel.py __________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_gpt_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_gpt_parallel.py:10: in <module>
    from apex.transformer import parallel_state
E   ModuleNotFoundError: No module named 'apex'
_____________________________________ ERROR collecting tests/models/test_gptj.py ______________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_gptj.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_gptj.py:7: in <module>
    from flash_attn.models.gpt import GPTLMHeadModel
flash_attn\models\gpt.py:15: in <module>
    from transformers import GPT2Config
E   ModuleNotFoundError: No module named 'transformers'
_____________________________________ ERROR collecting tests/models/test_llama.py _____________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_llama.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_llama.py:19: in <module>
    from flash_attn.models.gpt import GPTLMHeadModel, combine_state_dicts_tp, shard_state_dict_tp
flash_attn\models\gpt.py:15: in <module>
    from transformers import GPT2Config
E   ModuleNotFoundError: No module named 'transformers'
______________________________________ ERROR collecting tests/models/test_opt.py ______________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_opt.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_opt.py:7: in <module>
    from flash_attn.models.gpt import GPTLMHeadModel
flash_attn\models\gpt.py:15: in <module>
    from transformers import GPT2Config
E   ModuleNotFoundError: No module named 'transformers'
______________________________________ ERROR collecting tests/models/test_vit.py ______________________________________
ImportError while importing test module 'D:\flash-attention\tests\models\test_vit.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\models\test_vit.py:5: in <module>
    from flash_attn.models.vit import vit_base_patch16_224 as flash_vit_base_patch16_224
flash_attn\models\vit.py:13: in <module>
    from timm.models.helpers import named_apply
E   ModuleNotFoundError: No module named 'timm'
________________________________ ERROR collecting tests/modules/test_block_parallel.py ________________________________
ImportError while importing test module 'D:\flash-attention\tests\modules\test_block_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\modules\test_block_parallel.py:11: in <module>
    from apex.transformer import parallel_state, tensor_parallel
E   ModuleNotFoundError: No module named 'apex'
______________________________ ERROR collecting tests/modules/test_embedding_parallel.py ______________________________
ImportError while importing test module 'D:\flash-attention\tests\modules\test_embedding_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\modules\test_embedding_parallel.py:8: in <module>
    from apex.transformer import parallel_state
E   ModuleNotFoundError: No module named 'apex'
_________________________________ ERROR collecting tests/modules/test_mha_parallel.py _________________________________
ImportError while importing test module 'D:\flash-attention\tests\modules\test_mha_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\modules\test_mha_parallel.py:9: in <module>
    from apex.transformer import parallel_state, tensor_parallel
E   ModuleNotFoundError: No module named 'apex'
_________________________________ ERROR collecting tests/modules/test_mlp_parallel.py _________________________________
ImportError while importing test module 'D:\flash-attention\tests\modules\test_mlp_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\modules\test_mlp_parallel.py:7: in <module>
    from apex.transformer import parallel_state, tensor_parallel
E   ModuleNotFoundError: No module named 'apex'
________________________________ ERROR collecting tests/ops/test_dropout_layer_norm.py ________________________________
ImportError while importing test module 'D:\flash-attention\tests\ops\test_dropout_layer_norm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ops\test_dropout_layer_norm.py:7: in <module>
    from flash_attn.ops.layer_norm import (
flash_attn\ops\layer_norm.py:4: in <module>
    import dropout_layer_norm
E   ModuleNotFoundError: No module named 'dropout_layer_norm'
___________________________________ ERROR collecting tests/ops/test_fused_dense.py ____________________________________
ImportError while importing test module 'D:\flash-attention\tests\ops\test_fused_dense.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ops\test_fused_dense.py:8: in <module>
    from flash_attn.ops.fused_dense import FusedDense, FusedMLP
flash_attn\ops\fused_dense.py:9: in <module>
    import fused_dense_lib as fused_dense_cuda
E   ModuleNotFoundError: No module named 'fused_dense_lib'
_______________________________ ERROR collecting tests/ops/test_fused_dense_parallel.py _______________________________
ImportError while importing test module 'D:\flash-attention\tests\ops\test_fused_dense_parallel.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests\ops\test_fused_dense_parallel.py:9: in <module>
    from apex.transformer import parallel_state, tensor_parallel
E   ModuleNotFoundError: No module named 'apex'
_____________________ ERROR collecting third_party/aiter/aiter/ops/flydsl/test_flydsl_moe_a4w4.py _____________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\aiter\ops\flydsl\test_flydsl_moe_a4w4.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\ops\flydsl\test_flydsl_moe_a4w4.py:25: in <module>
    from aiter import dtypes, QuantType, ActivationType
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_______________________________ ERROR collecting third_party/aiter/aiter/test_common.py _______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\aiter\test_common.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________________ ERROR collecting third_party/aiter/aiter/test_mha_common.py _____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\aiter\test_mha_common.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\test_mha_common.py:9: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
___________________ ERROR collecting third_party/aiter/csrc/cpp_itfs/mla/asm_mla_decode_fwd_test.py ___________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\csrc\cpp_itfs\mla\asm_mla_decode_fwd_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\csrc\cpp_itfs\mla\asm_mla_decode_fwd_test.py:6: in <module>
    from aiter.test_common import checkAllclose, benchmark, run_perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/csrc/cpp_itfs/moe/test_asm_moe.py _________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\csrc\cpp_itfs\moe\test_asm_moe.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\csrc\cpp_itfs\moe\test_asm_moe.py:5: in <module>
    from aiter.test_common import perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/csrc/cpp_itfs/pa/pa_ragged_test.py ________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\csrc\cpp_itfs\pa\pa_ragged_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\csrc\cpp_itfs\pa\pa_ragged_test.py:7: in <module>
    from aiter.test_common import checkAllclose, perftest, tensor_dump, tensor_load
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________________ ERROR collecting third_party/aiter/csrc/cpp_itfs/pa/pa_test.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\csrc\cpp_itfs\pa\pa_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\csrc\cpp_itfs\pa\pa_test.py:7: in <module>
    from aiter.test_common import benchmark, perftest, checkAllclose
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________ ERROR collecting third_party/aiter/csrc/cpp_itfs/pa_gluon_aot/pa_attention_kernel_test.py ______________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\csrc\cpp_itfs\pa_gluon_aot\pa_attention_kernel_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\csrc\cpp_itfs\pa_gluon_aot\pa_attention_kernel_test.py:13: in <module>
    from aiter.test_common import perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________ ERROR collecting third_party/aiter/csrc/cpp_itfs/pa_gluon_aot/pa_reduce_kernel_test.py ________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\csrc\cpp_itfs\pa_gluon_aot\pa_reduce_kernel_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\csrc\cpp_itfs\pa_gluon_aot\pa_reduce_kernel_test.py:11: in <module>
    from aiter.test_common import perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________ ERROR collecting third_party/aiter/csrc/cpp_itfs/pa_gluon_aot/test_pa_gluon.py ____________________
third_party\aiter\csrc\cpp_itfs\pa_gluon_aot\test_pa_gluon.py:89: in <module>
    pa_decode_gluon_aot(
venv\Lib\site-packages\aiter_meta\csrc\cpp_itfs\pa_gluon_aot\pa_decode_gluon_aot.py:549: in pa_decode_gluon_aot
    assert cdna_version in [
E   AssertionError: pa_decode_gluon only supports gfx942 (CDNA3) and gfx950 (CDNA4) now, but got gfx1150
____________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_allgather.py _____________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_allgather.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_allgather.py:10: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_collective_profile.py ________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_collective_profile.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_collective_profile.py:33: in <module>
    from aiter.dist.communication_op import (
venv\Lib\site-packages\aiter\dist\communication_op.py:23: in <module>
    from .parallel_state import get_tp_group, get_pp_group, get_dp_group, get_ep_group
venv\Lib\site-packages\aiter\dist\parallel_state.py:36: in <module>
    from torch.distributed import Backend, ProcessGroup
E   ImportError: cannot import name 'Backend' from 'torch.distributed' (D:\flash-attention\venv\Lib\site-packages\torch\distributed\__init__.py)
__________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_communication.py ___________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_communication.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_communication.py:9: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_custom_allreduce.py _________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_custom_allreduce.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_custom_allreduce.py:13: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_______________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_custom_allreduce_fp8.py _______________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_custom_allreduce_fp8.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_custom_allreduce_fp8.py:9: in <module>
    from aiter import get_hip_quant, QuantType
E   ImportError: cannot import name 'get_hip_quant' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_dispatch_combine.py _________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_dispatch_combine.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_dispatch_combine.py:8: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
___________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_fused_ar_rms.py ___________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_fused_ar_rms.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_fused_ar_rms.py:12: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
___________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_mori_all2all.py ___________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_mori_all2all.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_mori_all2all.py:5: in <module>
    from aiter.dist.utils import get_distributed_init_method
venv\Lib\site-packages\aiter\dist\utils.py:65: in <module>
    import yaml
E   ModuleNotFoundError: No module named 'yaml'
_________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_parallel_groups.py __________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_parallel_groups.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_parallel_groups.py:31: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_quick_all_reduce.py _________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_quick_all_reduce.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_quick_all_reduce.py:12: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
__________________ ERROR collecting third_party/aiter/op_tests/multigpu_tests/test_reduce_scatter.py __________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\test_reduce_scatter.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\test_reduce_scatter.py:9: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
______ ERROR collecting third_party/aiter/op_tests/multigpu_tests/triton_test/test_fused_rs_rmsnorm_quant_ag.py _______
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\triton_test\test_fused_rs_rmsnorm_quant_ag.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\triton_test\test_fused_rs_rmsnorm_quant_ag.py:20: in <module>
    from aiter.test_common import checkAllclose, perftest, ensure_spawn_method
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______ ERROR collecting third_party/aiter/op_tests/multigpu_tests/triton_test/test_reduce_scatter_all_gather.py _______
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\multigpu_tests\triton_test\test_reduce_scatter_all_gather.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\multigpu_tests\triton_test\test_reduce_scatter_all_gather.py:31: in <module>
    from aiter.test_common import ensure_spawn_method
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______ ERROR collecting third_party/aiter/op_tests/op_benchmarks/triton/bench_tests/test_kernel_benchmarks.py ________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\op_benchmarks\triton\bench_tests\test_kernel_benchmarks.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\op_benchmarks\triton\bench_tests\test_kernel_benchmarks.py:5: in <module>
    from op_tests.op_benchmarks.triton.utils.argparse import get_parser, add_argparse_ff
third_party\aiter\op_tests\op_benchmarks\triton\utils\argparse.py:3: in <module>
    from op_tests.op_benchmarks.triton.utils.benchmark_utils import (
third_party\aiter\op_tests\op_benchmarks\triton\utils\benchmark_utils.py:13: in <module>
    import matplotlib.pyplot as plt
E   ModuleNotFoundError: No module named 'matplotlib'
___________________________ ERROR collecting third_party/aiter/op_tests/test_activation.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_activation.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_activation.py:4: in <module>
    from aiter.test_common import run_perftest, checkAllclose, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________________ ERROR collecting third_party/aiter/op_tests/test_aiter_add.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_aiter_add.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_aiter_add.py:7: in <module>
    from aiter.test_common import checkAllclose
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
__________________________ ERROR collecting third_party/aiter/op_tests/test_aiter_addInp.py ___________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_aiter_addInp.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_aiter_addInp.py:7: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
__________________________ ERROR collecting third_party/aiter/op_tests/test_aiter_sigmoid.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_aiter_sigmoid.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_aiter_sigmoid.py:6: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
__________________________ ERROR collecting third_party/aiter/op_tests/test_batch_prefill.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_batch_prefill.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_batch_prefill.py:10: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/op_tests/test_batched_gemm_a8w8.py ________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_batched_gemm_a8w8.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_batched_gemm_a8w8.py:7: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
________________________ ERROR collecting third_party/aiter/op_tests/test_batched_gemm_bf16.py ________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_batched_gemm_bf16.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_batched_gemm_bf16.py:7: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
__________________________ ERROR collecting third_party/aiter/op_tests/test_causal_conv1d.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_causal_conv1d.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_causal_conv1d.py:9: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/op_tests/test_concat_cache_mla.py _________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_concat_cache_mla.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_concat_cache_mla.py:3: in <module>
    from aiter.test_common import checkAllclose, perftest, benchmark, run_perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________________ ERROR collecting third_party/aiter/op_tests/test_deepgemm.py _____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_deepgemm.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_deepgemm.py:8: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_________________ ERROR collecting third_party/aiter/op_tests/test_fused_qk_norm_mrope_cache_quant.py _________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_fused_qk_norm_mrope_cache_quant.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_fused_qk_norm_mrope_cache_quant.py:7: in <module>
    from aiter.test_common import checkAllclose, perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_________________ ERROR collecting third_party/aiter/op_tests/test_fused_qk_norm_rope_cache_quant.py __________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_fused_qk_norm_rope_cache_quant.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_fused_qk_norm_rope_cache_quant.py:7: in <module>
    from aiter.test_common import checkAllclose, perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________________ ERROR collecting third_party/aiter/op_tests/test_gemm_a16w16.py ___________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_gemm_a16w16.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_gemm_a16w16.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________________ ERROR collecting third_party/aiter/op_tests/test_gemm_a4w4.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_gemm_a4w4.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_gemm_a4w4.py:6: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________________ ERROR collecting third_party/aiter/op_tests/test_gemm_a8w8.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_gemm_a8w8.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_gemm_a8w8.py:9: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
______________________ ERROR collecting third_party/aiter/op_tests/test_gemm_a8w8_blockscale.py _______________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_gemm_a8w8_blockscale.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_gemm_a8w8_blockscale.py:12: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________ ERROR collecting third_party/aiter/op_tests/test_indexer_k_quant_and_cache.py ____________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_indexer_k_quant_and_cache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_indexer_k_quant_and_cache.py:6: in <module>
    from aiter.test_common import checkAllclose, run_perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________________ ERROR collecting third_party/aiter/op_tests/test_kvcache.py _____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_kvcache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_kvcache.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________________ ERROR collecting third_party/aiter/op_tests/test_kvcache_blockscale.py ________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_kvcache_blockscale.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_kvcache_blockscale.py:6: in <module>
    from aiter.test_common import checkAllclose, run_perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________________ ERROR collecting third_party/aiter/op_tests/test_layernorm2d.py ___________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_layernorm2d.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_layernorm2d.py:7: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________ ERROR collecting third_party/aiter/op_tests/test_layernorm2dFusedAddQuant.py _____________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_layernorm2dFusedAddQuant.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_layernorm2dFusedAddQuant.py:8: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________________________ ERROR collecting third_party/aiter/op_tests/test_mha.py _______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mha.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mha.py:7: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________________ ERROR collecting third_party/aiter/op_tests/test_mha_fp8.py _____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mha_fp8.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mha_fp8.py:6: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
___________________________ ERROR collecting third_party/aiter/op_tests/test_mha_varlen.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mha_varlen.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mha_varlen.py:7: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_________________________ ERROR collecting third_party/aiter/op_tests/test_mha_varlen_fp8.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mha_varlen_fp8.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mha_varlen_fp8.py:6: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_______________________________ ERROR collecting third_party/aiter/op_tests/test_mhc.py _______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mhc.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mhc.py:5: in <module>
    from aiter.test_common import (
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________________________ ERROR collecting third_party/aiter/op_tests/test_mla.py _______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mla.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mla.py:7: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_________________________ ERROR collecting third_party/aiter/op_tests/test_mla_persistent.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mla_persistent.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mla_persistent.py:7: in <module>
    from aiter.test_common import checkAllclose, benchmark, run_perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_________________________ ERROR collecting third_party/aiter/op_tests/test_mla_prefill_ps.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mla_prefill_ps.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mla_prefill_ps.py:10: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________________ ERROR collecting third_party/aiter/op_tests/test_mla_sparse.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_mla_sparse.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_mla_sparse.py:6: in <module>
    from aiter.test_common import checkAllclose, benchmark, run_perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________________________ ERROR collecting third_party/aiter/op_tests/test_moe.py _______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe.py:5: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_________________________ ERROR collecting third_party/aiter/op_tests/test_moeTopkSoftmax.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moeTopkSoftmax.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moeTopkSoftmax.py:6: in <module>
    from aiter.test_common import (
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________________ ERROR collecting third_party/aiter/op_tests/test_moe_2stage.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_2stage.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_2stage.py:7: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_________________________ ERROR collecting third_party/aiter/op_tests/test_moe_blockscale.py __________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_blockscale.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_blockscale.py:7: in <module>
    from aiter.test_common import checkAllclose, run_perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________________ ERROR collecting third_party/aiter/op_tests/test_moe_dp_share_expert.py _______________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_dp_share_expert.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_dp_share_expert.py:5: in <module>
    from aiter.test_common import checkAllclose, run_perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________________ ERROR collecting third_party/aiter/op_tests/test_moe_ep.py ______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_ep.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_ep.py:6: in <module>
    from aiter.test_common import (
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________________ ERROR collecting third_party/aiter/op_tests/test_moe_sorting.py ___________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_sorting.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_sorting.py:6: in <module>
    from aiter.test_common import checkAllclose, run_perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/op_tests/test_moe_sorting_mxfp4.py ________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_sorting_mxfp4.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_sorting_mxfp4.py:5: in <module>
    from aiter.test_common import checkAllclose, benchmark, run_perftest, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________________ ERROR collecting third_party/aiter/op_tests/test_moe_tkw1.py _____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_tkw1.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_tkw1.py:5: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/op_tests/test_moe_topk_sigmoid.py _________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_moe_topk_sigmoid.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_moe_topk_sigmoid.py:19: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________________________ ERROR collecting third_party/aiter/op_tests/test_pa.py ________________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_pa.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_pa.py:8: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
_____________________________ ERROR collecting third_party/aiter/op_tests/test_pa_mtp.py ______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_pa_mtp.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_pa_mtp.py:9: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________________________ ERROR collecting third_party/aiter/op_tests/test_pa_ps.py ______________________________
venv\Lib\site-packages\aiter\jit\core.py:1277: in wrapper
    module = get_module(md_name)
             ^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\core.py:524: in get_module
    get_module_custom_op(md_name)
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:280: in wrapper_custom
    else getattr(torch.ops.aiter, f"{loadName}")(
venv\Lib\site-packages\torch\_ops.py:1209: in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:318: in outer_wrapper_dummy
    wrapper(*args, **kwargs)
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:196: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\core.py:516: in get_module_custom_op
    __mds[md_name] = importlib.import_module(f"{__package__}.{md_name}")
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1324: in _find_and_load_unlocked
    ???
E   ModuleNotFoundError: No module named 'aiter.jit.module_aiter_enum'

During handling of the above exception, another exception occurred:
venv\Lib\site-packages\aiter\jit\core.py:1280: in wrapper
    module = get_module(md)
             ^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\core.py:524: in get_module
    get_module_custom_op(md_name)
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:280: in wrapper_custom
    else getattr(torch.ops.aiter, f"{loadName}")(
venv\Lib\site-packages\torch\_ops.py:1209: in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:318: in outer_wrapper_dummy
    wrapper(*args, **kwargs)
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:196: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\core.py:516: in get_module_custom_op
    __mds[md_name] = importlib.import_module(f"{__package__}.{md_name}")
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1324: in _find_and_load_unlocked
    ???
E   ModuleNotFoundError: No module named 'aiter.jit.module_aiter_enum'

During handling of the above exception, another exception occurred:
venv\Lib\site-packages\aiter\jit\utils\chip_info.py:64: in get_gfx_custom_op_core
    rocminfo = executable_path("rocminfo")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\cpp_extension.py:83: in executable_path
    path is not None
E   AssertionError: Could not find rocminfo in PATH or ROCM_HOME(D:\flash-attention\venv)

During handling of the above exception, another exception occurred:
third_party\aiter\op_tests\test_pa_ps.py:6: in <module>
    from aiter.ops.enum import QuantType
venv\Lib\site-packages\aiter\ops\enum.py:15: in <module>
    ActivationType = type(_ActivationType(0))
                          ^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:196: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\core.py:1423: in custom_wrapper
    return wrapper(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\core.py:1305: in wrapper
    build_module(
venv\Lib\site-packages\aiter\jit\core.py:871: in build_module
    mp_lock(lockPath=lock_path, MainFunc=MainFunc, FinalFunc=FinalFunc)
venv\Lib\site-packages\aiter\jit\core.py:45: in mp_lock
    ret = MainFunc()
          ^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\core.py:741: in MainFunc
    if get_gfx() == "gfx950" and int(os.getenv("AITER_FP4x2", "1")) > 0:
       ^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\chip_info.py:96: in get_gfx
    gfx_num = get_gfx_custom_op()
              ^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:280: in wrapper_custom
    else getattr(torch.ops.aiter, f"{loadName}")(
venv\Lib\site-packages\torch\_ops.py:1209: in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:320: in outer_wrapper_dummy
    else (torch.empty(1, device=device), wrapper(*args, **kwargs))
                                         ^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\torch_guard.py:196: in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\chip_info.py:54: in get_gfx_custom_op
    return get_gfx_custom_op_core()
           ^^^^^^^^^^^^^^^^^^^^^^^^
venv\Lib\site-packages\aiter\jit\utils\chip_info.py:82: in get_gfx_custom_op_core
    raise RuntimeError(f"Get GPU arch from rocminfo failed {str(e)}")
E   RuntimeError: Get GPU arch from rocminfo failed Could not find rocminfo in PATH or ROCM_HOME(D:\flash-attention\venv)
--------------------------------------------------- Captured stderr ---------------------------------------------------
[aiter] start build [module_aiter_enum] under D:\flash-attention\venv\Lib\site-packages\aiter\jit/build/module_aiter_enum
[aiter] finish build [module_aiter_enum], cost 0.1s
____________________________ ERROR collecting third_party/aiter/op_tests/test_pa_ragged.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_pa_ragged.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_pa_ragged.py:10: in <module>
    from aiter.test_common import checkAllclose, perftest, tensor_dump, tensor_load
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________ ERROR collecting third_party/aiter/op_tests/test_pa_ragged_experimental.py ______________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_pa_ragged_experimental.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_pa_ragged_experimental.py:7: in <module>
    from aiter.test_common import checkAllclose, perftest, tensor_dump, tensor_load
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________________________ ERROR collecting third_party/aiter/op_tests/test_pa_v1.py ______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_pa_v1.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_pa_v1.py:9: in <module>
    from aiter.test_common import checkAllclose, perftest, tensor_dump, tensor_load
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________________________ ERROR collecting third_party/aiter/op_tests/test_quant.py ______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_quant.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_quant.py:4: in <module>
    from aiter.test_common import (
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________________ ERROR collecting third_party/aiter/op_tests/test_rmsnorm2d.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_rmsnorm2d.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_rmsnorm2d.py:7: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________ ERROR collecting third_party/aiter/op_tests/test_rmsnorm2dFusedAddQuant.py ______________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_rmsnorm2dFusedAddQuant.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_rmsnorm2dFusedAddQuant.py:8: in <module>
    from aiter.test_common import checkAllclose, perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________________________ ERROR collecting third_party/aiter/op_tests/test_rope.py _______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_rope.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_rope.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________________ ERROR collecting third_party/aiter/op_tests/test_sample.py ______________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_sample.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_sample.py:6: in <module>
    from aiter.test_common import checkAllclose, run_perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
____________________________ ERROR collecting third_party/aiter/op_tests/test_sampling.py _____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_sampling.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_sampling.py:8: in <module>
    from scipy import stats
E   ModuleNotFoundError: No module named 'scipy'
___________________________ ERROR collecting third_party/aiter/op_tests/test_smoothquant.py ___________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_smoothquant.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_smoothquant.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest, benchmark
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/op_tests/test_split_gdr_update.py _________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_split_gdr_update.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_split_gdr_update.py:9: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
__________________________ ERROR collecting third_party/aiter/op_tests/test_topk_per_row.py ___________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_topk_per_row.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_topk_per_row.py:4: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
___________________________ ERROR collecting third_party/aiter/op_tests/test_topk_plain.py ____________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_topk_plain.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_topk_plain.py:5: in <module>
    from aiter.test_common import (
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________________ ERROR collecting third_party/aiter/op_tests/test_topk_row_prefill.py _________________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\test_topk_row_prefill.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\test_topk_row_prefill.py:4: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
________________ ERROR collecting third_party/aiter/op_tests/triton_tests/attention/test_fav3_sage.py _________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\attention\test_fav3_sage.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\attention\test_fav3_sage.py:8: in <module>
    from aiter.test_mha_common import (
venv\Lib\site-packages\aiter\test_mha_common.py:9: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
___________________ ERROR collecting third_party/aiter/op_tests/triton_tests/attention/test_mha.py ____________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\attention\test_mha.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\attention\test_mha.py:17: in <module>
    from aiter.test_mha_common import (
venv\Lib\site-packages\aiter\test_mha_common.py:9: in <module>
    from aiter import dtypes
E   ImportError: cannot import name 'dtypes' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
________________ ERROR collecting third_party/aiter/op_tests/triton_tests/attention/test_pa_decode.py _________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\attention\test_pa_decode.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\attention\test_pa_decode.py:9: in <module>
    from aiter import pertoken_quant
E   ImportError: cannot import name 'pertoken_quant' from 'aiter' (D:\flash-attention\venv\Lib\site-packages\aiter\__init__.py)
__________ ERROR collecting third_party/aiter/op_tests/triton_tests/fusions/test_fused_bmm_rope_kv_cache.py ___________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\fusions\test_fused_bmm_rope_kv_cache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\fusions\test_fused_bmm_rope_kv_cache.py:4: in <module>
    from op_tests.test_rope import RotateStyle
third_party\aiter\op_tests\test_rope.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_______________ ERROR collecting third_party/aiter/op_tests/triton_tests/fusions/test_fused_kv_cache.py _______________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\fusions\test_fused_kv_cache.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\fusions\test_fused_kv_cache.py:4: in <module>
    from op_tests.test_rope import ref_rope_sbhd_fwd, RotateStyle
third_party\aiter\op_tests\test_rope.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________ ERROR collecting third_party/aiter/op_tests/triton_tests/fusions/test_fused_qk_concat.py _______________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\fusions\test_fused_qk_concat.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\fusions\test_fused_qk_concat.py:4: in <module>
    from op_tests.test_rope import ref_rope_sbhd_fwd, RotateStyle
third_party\aiter\op_tests\test_rope.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________________ ERROR collecting third_party/aiter/op_tests/triton_tests/moe/test_moe.py _______________________
third_party\aiter\op_tests\triton_tests\moe\test_moe.py:8: in <module>
    from aiter.ops.triton.moe.moe_op import (
venv\Lib\site-packages\aiter\ops\triton\moe\moe_op.py:8: in <module>
    from aiter.ops.triton.quant import dynamic_per_tensor_quant_fp8_i8
venv\Lib\site-packages\aiter\ops\triton\quant\__init__.py:9: in <module>
    from .fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\fused_fp8_quant.py:21: in <module>
    fp8_dtype = aiter.dtypes.fp8
                ^^^^^^^^^^^^
E   AttributeError: module 'aiter' has no attribute 'dtypes'
_____________________ ERROR collecting third_party/aiter/op_tests/triton_tests/moe/test_moe_mx.py _____________________
third_party\aiter\op_tests\triton_tests\moe\test_moe_mx.py:10: in <module>
    from op_tests.triton_tests.moe.test_moe import (
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
venv\Lib\site-packages\_pytest\assertion\rewrite.py:197: in exec_module
    exec(co, module.__dict__)
third_party\aiter\op_tests\triton_tests\moe\test_moe.py:8: in <module>
    from aiter.ops.triton.moe.moe_op import (
venv\Lib\site-packages\aiter\ops\triton\moe\moe_op.py:8: in <module>
    from aiter.ops.triton.quant import dynamic_per_tensor_quant_fp8_i8
venv\Lib\site-packages\aiter\ops\triton\quant\__init__.py:9: in <module>
    from .fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\fused_fp8_quant.py:21: in <module>
    fp8_dtype = aiter.dtypes.fp8
                ^^^^^^^^^^^^
E   AttributeError: module 'aiter' has no attribute 'dtypes'
_______________ ERROR collecting third_party/aiter/op_tests/triton_tests/quant/test_fused_fp8_quant.py ________________
third_party\aiter\op_tests\triton_tests\quant\test_fused_fp8_quant.py:3: in <module>
    from aiter.ops.triton.quant.fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\__init__.py:9: in <module>
    from .fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\fused_fp8_quant.py:21: in <module>
    fp8_dtype = aiter.dtypes.fp8
                ^^^^^^^^^^^^
E   AttributeError: module 'aiter' has no attribute 'dtypes'
______________ ERROR collecting third_party/aiter/op_tests/triton_tests/quant/test_fused_mxfp4_quant.py _______________
third_party\aiter\op_tests\triton_tests\quant\test_fused_mxfp4_quant.py:4: in <module>
    from aiter.ops.triton.quant.fused_mxfp4_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\__init__.py:9: in <module>
    from .fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\fused_fp8_quant.py:21: in <module>
    fp8_dtype = aiter.dtypes.fp8
                ^^^^^^^^^^^^
E   AttributeError: module 'aiter' has no attribute 'dtypes'
____________________ ERROR collecting third_party/aiter/op_tests/triton_tests/quant/test_quant.py _____________________
third_party\aiter\op_tests\triton_tests\quant\test_quant.py:7: in <module>
    from aiter.ops.triton.quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\__init__.py:9: in <module>
    from .fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\fused_fp8_quant.py:21: in <module>
    fp8_dtype = aiter.dtypes.fp8
                ^^^^^^^^^^^^
E   AttributeError: module 'aiter' has no attribute 'dtypes'
_________________ ERROR collecting third_party/aiter/op_tests/triton_tests/quant/test_quant_mxfp4.py __________________
third_party\aiter\op_tests\triton_tests\quant\test_quant_mxfp4.py:7: in <module>
    from aiter.ops.triton.quant import dynamic_mxfp4_quant
venv\Lib\site-packages\aiter\ops\triton\quant\__init__.py:9: in <module>
    from .fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\fused_fp8_quant.py:21: in <module>
    fp8_dtype = aiter.dtypes.fp8
                ^^^^^^^^^^^^
E   AttributeError: module 'aiter' has no attribute 'dtypes'
____________ ERROR collecting third_party/aiter/op_tests/triton_tests/rope/test_fused_qkv_split_qk_rope.py ____________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\rope\test_fused_qkv_split_qk_rope.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\rope\test_fused_qkv_split_qk_rope.py:4: in <module>
    from op_tests.triton_tests.fusions.test_fused_qk_concat import (
third_party\aiter\op_tests\triton_tests\fusions\test_fused_qk_concat.py:4: in <module>
    from op_tests.test_rope import ref_rope_sbhd_fwd, RotateStyle
third_party\aiter\op_tests\test_rope.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________ ERROR collecting third_party/aiter/op_tests/triton_tests/rope/test_rope.py ______________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\rope\test_rope.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\rope\test_rope.py:8: in <module>
    from op_tests.test_rope import (
third_party\aiter\op_tests\test_rope.py:6: in <module>
    from aiter.test_common import checkAllclose, perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
_____________________ ERROR collecting third_party/aiter/op_tests/triton_tests/test_activation.py _____________________
third_party\aiter\op_tests\triton_tests\test_activation.py:4: in <module>
    from op_tests.triton_tests.quant.test_quant_mxfp4 import torch_dynamic_mxfp4_quant
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
venv\Lib\site-packages\_pytest\assertion\rewrite.py:197: in exec_module
    exec(co, module.__dict__)
third_party\aiter\op_tests\triton_tests\quant\test_quant_mxfp4.py:7: in <module>
    from aiter.ops.triton.quant import dynamic_mxfp4_quant
venv\Lib\site-packages\aiter\ops\triton\quant\__init__.py:9: in <module>
    from .fused_fp8_quant import (
venv\Lib\site-packages\aiter\ops\triton\quant\fused_fp8_quant.py:21: in <module>
    fp8_dtype = aiter.dtypes.fp8
                ^^^^^^^^^^^^
E   AttributeError: module 'aiter' has no attribute 'dtypes'
__________________ ERROR collecting third_party/aiter/op_tests/triton_tests/test_gather_kv_b_proj.py __________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\test_gather_kv_b_proj.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\test_gather_kv_b_proj.py:9: in <module>
    from aiter.test_common import checkAllclose, run_perftest
venv\Lib\site-packages\aiter\test_common.py:8: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
__________________ ERROR collecting third_party/aiter/op_tests/triton_tests/test_pa_decode_gluon.py ___________________
ImportError while importing test module 'D:\flash-attention\third_party\aiter\op_tests\triton_tests\test_pa_decode_gluon.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
third_party\aiter\op_tests\triton_tests\test_pa_decode_gluon.py:9: in <module>
    import pandas as pd
E   ModuleNotFoundError: No module named 'pandas'
______________________ ERROR collecting training/tests/datamodules/test_language_modeling_hf.py _______________________
ImportError while importing test module 'D:\flash-attention\training\tests\datamodules\test_language_modeling_hf.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Program Files\Python312\Lib\importlib\__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
training\tests\datamodules\test_language_modeling_hf.py:10: in <module>
    import dotenv
E   ModuleNotFoundError: No module named 'dotenv'
================================================== warnings summary ===================================================
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
  D:\flash-attention\venv\Lib\site-packages\triton\runtime\autotuner.py:101: DeprecationWarning: warmup, rep, and use_cuda_graph parameters are deprecated. See https://github.com/triton-lang/triton/pull/4496 for details.
    warnings.warn(("warmup, rep, and use_cuda_graph parameters are deprecated. See "

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============================================== short test summary info ===============================================
ERROR hopper/test_attn_kvcache.py
ERROR hopper/test_flash_attn.py
ERROR hopper/test_flash_attn_bwd_determinism.py
ERROR hopper/test_flash_attn_triton_amd.py
ERROR hopper/test_kvcache.py
ERROR hopper/test_torch_compile_and_export.py
ERROR hopper/test_util.py
ERROR tests/cute/test_block_sparsity.py
ERROR tests/cute/test_flash_attn.py
ERROR tests/cute/test_flash_attn_combine.py
ERROR tests/cute/test_flash_attn_fast.py
ERROR tests/cute/test_flash_attn_race_condition.py
ERROR tests/cute/test_flash_attn_varlen.py
ERROR tests/cute/test_mask_mod.py
ERROR tests/cute/test_score_mod.py
ERROR tests/cute/test_score_mod_varlen.py
ERROR tests/cute/test_utils.py
ERROR tests/layers/test_rotary.py
ERROR tests/losses/test_cross_entropy.py - AttributeError: module 'torch.distributed' has no attribute '_all_gather_base'
ERROR tests/losses/test_cross_entropy_parallel.py
ERROR tests/models/test_baichuan.py
ERROR tests/models/test_bert.py
ERROR tests/models/test_bigcode.py
ERROR tests/models/test_btlm.py
ERROR tests/models/test_falcon.py
ERROR tests/models/test_gpt.py
ERROR tests/models/test_gpt_generation_parallel.py
ERROR tests/models/test_gpt_neox.py
ERROR tests/models/test_gpt_parallel.py
ERROR tests/models/test_gptj.py
ERROR tests/models/test_llama.py
ERROR tests/models/test_opt.py
ERROR tests/models/test_vit.py
ERROR tests/modules/test_block_parallel.py
ERROR tests/modules/test_embedding_parallel.py
ERROR tests/modules/test_mha_parallel.py
ERROR tests/modules/test_mlp_parallel.py
ERROR tests/ops/test_dropout_layer_norm.py
ERROR tests/ops/test_fused_dense.py
ERROR tests/ops/test_fused_dense_parallel.py
ERROR third_party/aiter/aiter/ops/flydsl/test_flydsl_moe_a4w4.py
ERROR third_party/aiter/aiter/test_common.py
ERROR third_party/aiter/aiter/test_mha_common.py
ERROR third_party/aiter/csrc/cpp_itfs/mla/asm_mla_decode_fwd_test.py
ERROR third_party/aiter/csrc/cpp_itfs/moe/test_asm_moe.py
ERROR third_party/aiter/csrc/cpp_itfs/pa/pa_ragged_test.py
ERROR third_party/aiter/csrc/cpp_itfs/pa/pa_test.py
ERROR third_party/aiter/csrc/cpp_itfs/pa_gluon_aot/pa_attention_kernel_test.py
ERROR third_party/aiter/csrc/cpp_itfs/pa_gluon_aot/pa_reduce_kernel_test.py
ERROR third_party/aiter/csrc/cpp_itfs/pa_gluon_aot/test_pa_gluon.py - AssertionError: pa_decode_gluon only supports gfx942 (CDNA3) and gfx950 (CDNA4) now, but got gfx1150
ERROR third_party/aiter/op_tests/multigpu_tests/test_allgather.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_collective_profile.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_communication.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_custom_allreduce.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_custom_allreduce_fp8.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_dispatch_combine.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_fused_ar_rms.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_mori_all2all.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_parallel_groups.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_quick_all_reduce.py
ERROR third_party/aiter/op_tests/multigpu_tests/test_reduce_scatter.py
ERROR third_party/aiter/op_tests/multigpu_tests/triton_test/test_fused_rs_rmsnorm_quant_ag.py
ERROR third_party/aiter/op_tests/multigpu_tests/triton_test/test_reduce_scatter_all_gather.py
ERROR third_party/aiter/op_tests/op_benchmarks/triton/bench_tests/test_kernel_benchmarks.py
ERROR third_party/aiter/op_tests/test_activation.py
ERROR third_party/aiter/op_tests/test_aiter_add.py
ERROR third_party/aiter/op_tests/test_aiter_addInp.py
ERROR third_party/aiter/op_tests/test_aiter_sigmoid.py
ERROR third_party/aiter/op_tests/test_batch_prefill.py
ERROR third_party/aiter/op_tests/test_batched_gemm_a8w8.py
ERROR third_party/aiter/op_tests/test_batched_gemm_bf16.py
ERROR third_party/aiter/op_tests/test_causal_conv1d.py
ERROR third_party/aiter/op_tests/test_concat_cache_mla.py
ERROR third_party/aiter/op_tests/test_deepgemm.py
ERROR third_party/aiter/op_tests/test_fused_qk_norm_mrope_cache_quant.py
ERROR third_party/aiter/op_tests/test_fused_qk_norm_rope_cache_quant.py
ERROR third_party/aiter/op_tests/test_gemm_a16w16.py
ERROR third_party/aiter/op_tests/test_gemm_a4w4.py
ERROR third_party/aiter/op_tests/test_gemm_a8w8.py
ERROR third_party/aiter/op_tests/test_gemm_a8w8_blockscale.py
ERROR third_party/aiter/op_tests/test_indexer_k_quant_and_cache.py
ERROR third_party/aiter/op_tests/test_kvcache.py
ERROR third_party/aiter/op_tests/test_kvcache_blockscale.py
ERROR third_party/aiter/op_tests/test_layernorm2d.py
ERROR third_party/aiter/op_tests/test_layernorm2dFusedAddQuant.py
ERROR third_party/aiter/op_tests/test_mha.py
ERROR third_party/aiter/op_tests/test_mha_fp8.py
ERROR third_party/aiter/op_tests/test_mha_varlen.py
ERROR third_party/aiter/op_tests/test_mha_varlen_fp8.py
ERROR third_party/aiter/op_tests/test_mhc.py
ERROR third_party/aiter/op_tests/test_mla.py
ERROR third_party/aiter/op_tests/test_mla_persistent.py
ERROR third_party/aiter/op_tests/test_mla_prefill_ps.py
ERROR third_party/aiter/op_tests/test_mla_sparse.py
ERROR third_party/aiter/op_tests/test_moe.py
ERROR third_party/aiter/op_tests/test_moeTopkSoftmax.py
ERROR third_party/aiter/op_tests/test_moe_2stage.py
ERROR third_party/aiter/op_tests/test_moe_blockscale.py
ERROR third_party/aiter/op_tests/test_moe_dp_share_expert.py
ERROR third_party/aiter/op_tests/test_moe_ep.py
ERROR third_party/aiter/op_tests/test_moe_sorting.py
ERROR third_party/aiter/op_tests/test_moe_sorting_mxfp4.py
ERROR third_party/aiter/op_tests/test_moe_tkw1.py
ERROR third_party/aiter/op_tests/test_moe_topk_sigmoid.py
ERROR third_party/aiter/op_tests/test_pa.py
ERROR third_party/aiter/op_tests/test_pa_mtp.py
ERROR third_party/aiter/op_tests/test_pa_ps.py - RuntimeError: Get GPU arch from rocminfo failed Could not find rocminfo in PATH or ROCM_HOME(D:\flash-attention\venv)
ERROR third_party/aiter/op_tests/test_pa_ragged.py
ERROR third_party/aiter/op_tests/test_pa_ragged_experimental.py
ERROR third_party/aiter/op_tests/test_pa_v1.py
ERROR third_party/aiter/op_tests/test_quant.py
ERROR third_party/aiter/op_tests/test_rmsnorm2d.py
ERROR third_party/aiter/op_tests/test_rmsnorm2dFusedAddQuant.py
ERROR third_party/aiter/op_tests/test_rope.py
ERROR third_party/aiter/op_tests/test_sample.py
ERROR third_party/aiter/op_tests/test_sampling.py
ERROR third_party/aiter/op_tests/test_smoothquant.py
ERROR third_party/aiter/op_tests/test_split_gdr_update.py
ERROR third_party/aiter/op_tests/test_topk_per_row.py
ERROR third_party/aiter/op_tests/test_topk_plain.py
ERROR third_party/aiter/op_tests/test_topk_row_prefill.py
ERROR third_party/aiter/op_tests/triton_tests/attention/test_fav3_sage.py
ERROR third_party/aiter/op_tests/triton_tests/attention/test_mha.py
ERROR third_party/aiter/op_tests/triton_tests/attention/test_pa_decode.py
ERROR third_party/aiter/op_tests/triton_tests/fusions/test_fused_bmm_rope_kv_cache.py
ERROR third_party/aiter/op_tests/triton_tests/fusions/test_fused_kv_cache.py
ERROR third_party/aiter/op_tests/triton_tests/fusions/test_fused_qk_concat.py
ERROR third_party/aiter/op_tests/triton_tests/moe/test_moe.py - AttributeError: module 'aiter' has no attribute 'dtypes'
ERROR third_party/aiter/op_tests/triton_tests/moe/test_moe_mx.py - AttributeError: module 'aiter' has no attribute 'dtypes'
ERROR third_party/aiter/op_tests/triton_tests/quant/test_fused_fp8_quant.py - AttributeError: module 'aiter' has no attribute 'dtypes'
ERROR third_party/aiter/op_tests/triton_tests/quant/test_fused_mxfp4_quant.py - AttributeError: module 'aiter' has no attribute 'dtypes'
ERROR third_party/aiter/op_tests/triton_tests/quant/test_quant.py - AttributeError: module 'aiter' has no attribute 'dtypes'
ERROR third_party/aiter/op_tests/triton_tests/quant/test_quant_mxfp4.py - AttributeError: module 'aiter' has no attribute 'dtypes'
ERROR third_party/aiter/op_tests/triton_tests/rope/test_fused_qkv_split_qk_rope.py
ERROR third_party/aiter/op_tests/triton_tests/rope/test_rope.py
ERROR third_party/aiter/op_tests/triton_tests/test_activation.py - AttributeError: module 'aiter' has no attribute 'dtypes'
ERROR third_party/aiter/op_tests/triton_tests/test_gather_kv_b_proj.py
ERROR third_party/aiter/op_tests/triton_tests/test_pa_decode_gluon.py
ERROR training/tests/datamodules/test_language_modeling_hf.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 139 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================== 6 warnings, 139 errors in 61.03s (0:01:01) ======================================

@0xDELUXA
Copy link
Copy Markdown
Contributor

0xDELUXA commented Mar 25, 2026

@astrelsky I removed the IS_WINDOWS error in cpp_extension.py. This is the command that I am used to get the message above. You might have to update it.

  set WORK=C:\t
  git clone --depth 1 -b micmelesse/windows-rocm-support
  https://github.com/ROCm/aiter.git %WORK%\aiter
  pip install -e %WORK%\aiter --no-build-isolation

  git clone --depth 1 -b micmelesse/windows-rocm-support
  https://github.com/ROCm/flash-attention.git %WORK%\fa
  robocopy %WORK%\aiter %WORK%\fa\third_party\aiter /E /XD .git 3rdparty /NFL /NDL
  /NJH /NJS
  rmdir /s /q %WORK%\fa\.git
  set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE
  pip install --no-build-isolation --no-deps -e %WORK%\fa

  python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:',
   flash_attn_func)"

  ---

Ok, that looks about equivalent to what I did last night except the last part. I'll give it another shot this morning I should have a moment in between an appointment this morning before I go to work.

Hopefully @0xDELUXA can try as well.

PS C:\Users\deluxa> C:\Comfyui\venv\Scripts\Activate.ps1
(venv) PS C:\Users\deluxa> $env:WORK = "C:\t"
(venv) PS C:\Users\deluxa> git clone --depth 1 -b micmelesse/windows-rocm-support https://github.com/ROCm/aiter.git "$env:WORK\aiter"
(venv) PS C:\Users\deluxa> pip install -e "$env:WORK\aiter" --no-build-isolation
(venv) PS C:\Users\deluxa> git clone --depth 1 -b micmelesse/windows-rocm-support https://github.com/ROCm/flash-attention.git "$env:WORK\fa"
(venv) PS C:\Users\deluxa> robocopy "$env:WORK\aiter" "$env:WORK\fa\third_party\aiter" /E /XD .git 3rdparty /NFL /NDL /NJH /NJS
(venv) PS C:\Users\deluxa> Remove-Item -Recurse -Force "$env:WORK\fa\.git"
(venv) PS C:\Users\deluxa> $env:FLASH_ATTENTION_TRITON_AMD_ENABLE = "TRUE"
(venv) PS C:\Users\deluxa> pip install --no-build-isolation --no-deps -e "$env:WORK\fa"
(venv) PS C:\Users\deluxa> python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:', flash_attn_func)"
'cat' is not recognized as an internal or external command,
operable program or batch file.
[aiter] import [module_aiter_enum] under C:\ComfyUI\venv\Lib\site-packages\aiter\jit\module_aiter_enum.pyd
[aiter] ROCm/HIP JIT runtime not available: Get GPU arch from rocminfo failed Could not find rocminfo in PATH or ROCM_HOME(C:\ComfyUI\venv). CK and HIP ops are disabled. Triton ops remain available.
OK: <function flash_attn_func at 0x0000019045CC4040>

Yes, it works. Verified by running smoke tests successfully.

/

In my opinion, we could improve the error message:

[aiter] ROCm/HIP JIT runtime not available: Get GPU arch from rocminfo failed. Could not find rocminfo in PATH or ROCM_HOME (C:\ComfyUI\venv). CK and HIP ops are disabled. Triton ops remain available.

Currently, this message suggests that the absence of rocminfo is the main reason CK and HIP ops are unavailable on Windows, which isn’t entirely accurate. It might be better to fall back to the Windows alternative (hipinfo), as I proposed in my initial PR. This would make the behavior clearer and avoid implying that rocminfo alone is the blocking issue. I think it would be fine to leave this unchanged if rocminfo didn’t have a working alternative on Windows.

Also, this one:

'cat' is not recognized as an internal or external command, operable program or batch file.

The output from my initial PR is cleaner (though it contains way more changes):

(venv) PS C:\flash-attention> python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:', flash_attn_func)"
[aiter] import [module_aiter_enum] under C:\ComfyUI\venv\Lib\site-packages\aiter\jit\module_aiter_enum.pyd
OK: <function flash_attn_func at 0x000001FE88224860>

Yes, this is purely cosmetic, but I thought I’d mention it.

What do you think, @micmelesse?

Alternatively, it may be better to minimize the diff and keep these warnings, but then they will appear on Windows every time flash attention is called.

@micmelesse
Copy link
Copy Markdown
Collaborator Author

Bumped the aiter submodule. On Windows, aiter now skips CK/HIP imports entirely and shows [aiter] Windows: CK and HIP ops are not available. Triton ops only. Tested on RX 9070 XT + Python 3.12 + TheRock + triton-windows.

Assuming you have torch, triton-windows, setuptools already installed:

set WORK=C:\t
set AITER_BRANCH=micmelesse/windows-rocm-support
set FA_BRANCH=micmelesse/windows-rocm-support

if exist %WORK%\aiter rmdir /s /q %WORK%\aiter
if exist %WORK%\fa rmdir /s /q %WORK%\fa

git clone --depth 1 -b %AITER_BRANCH% https://github.com/ROCm/aiter.git %WORK%\aiter
python -m pip install -e %WORK%\aiter --no-build-isolation

git clone --depth 1 -b %FA_BRANCH% https://github.com/ROCm/flash-attention.git %WORK%\fa
robocopy %WORK%\aiter %WORK%\fa\third_party\aiter /E /XD .git 3rdparty /NFL /NDL /NJH /NJS
rmdir /s /q %WORK%\fa\.git

set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE
python -m pip install --no-build-isolation --no-deps -e %WORK%\fa
python -m pip install pytest einops

python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:', flash_attn_func)"

cd %WORK%\fa
python -m pytest tests/test_flash_attn_triton_amd.py::test_flash_attn_output -v --tb=short

You should see this.
Screenshot 2026-03-25 122710

@0xDELUXA
Copy link
Copy Markdown
Contributor

(venv) PS C:\Users\deluxa> python -c "from flash_attn.flash_attn_interface import flash_attn_func; print('OK:', flash_attn_func)"
[aiter] Windows: CK and HIP ops are not available. Triton ops only.
OK: <function flash_attn_func at 0x000001A1CCC3D760>

Thanks, this looks great!

@0xDELUXA
Copy link
Copy Markdown
Contributor

As a side note, for anyone who wants to experiment, from aiter.ops.triton.attention.mha import flash_attn_func also works on Windows if we place a tuned JSON config file named gfxNNNN-MHA-DEFAULT.json (replace gfxNNNN with your architecture) in aiter/ops/triton/configs/.

@astrelsky
Copy link
Copy Markdown

So I removed the exception handling so it would log the error, and it looks like aiter can't find the rocm installation, because it tries to use the Linux only rocminfo and falls back to ROCM_HOME, which is not set and is not required to be set. There is some decent info here on that. ROCm/TheRock#3976

I understand that the intent here is to get use of triton working again, so it doesn't need to be fixed here, but it does need to be fixed in aiter.

Tests from running python -m pytest tests/test_flash_attn_triton_amd.py::test_flash_attn_output -v --tb=short are currently going and so far so good. It's nap time for me.

@astrelsky
Copy link
Copy Markdown

@micmelesse seems to be working ok, all tests passed.

============================================================= warnings summary =============================================================
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
  D:\flash-attention\venv\Lib\site-packages\triton\runtime\autotuner.py:101: DeprecationWarning: warmup, rep, and use_cuda_graph parameters are deprecated. See https://github.com/triton-lang/triton/pull/4496 for details.
    warnings.warn(("warmup, rep, and use_cuda_graph parameters are deprecated. See "

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================== 5256 passed, 24 skipped, 6 warnings in 5331.30s (1:28:51) =========================================

@0xDELUXA
Copy link
Copy Markdown
Contributor

Looks good, I think it could be marked as ready for review.

@0xDELUXA
Copy link
Copy Markdown
Contributor

0xDELUXA commented Mar 26, 2026

I ran some benchmarks by checking out #2217 locally, building it, and comparing it against aiter FA (on Windows).

Here are the results:

FA_troughput FA_latency

Key Observations

  • Significant Gains in Standard Attention (HK=32): v2.8.4 (aiter) shows substantial performance improvements when the number of key/value heads (HK) matches the number of query heads (HQ). For instance, at batch size 4, latency dropped from 3.16 ms to 1.26 ms (a 2.51× speedup).

  • Regression in Grouped Query Attention (HK=8): For configurations with fewer key/value heads (HK=8), v2.8.4 (aiter) is generally slower or at parity with v2.3.4 (FA). The most notable regression occurs at batch size 4, SQ=1, where v2.8.4 is approximately 36% slower.

  • Scalability: v2.8.4 (aiter) scales much better with larger batch sizes in standard attention. At B=4, SQ=2048, throughput nearly doubled from 11.42 to 21.63.

@tianwyan
Copy link
Copy Markdown

I ran some benchmarks by checking out #2217 locally, building it, and comparing it against aiter FA. Here are the results:

FA_troughput FA_latency

Key Observations

  • Significant Gains in Standard Attention (HK=32): v2.8.4 (aiter) shows substantial performance improvements when the number of key/value heads (HK) matches the number of query heads (HQ). For instance, at batch size 4, latency dropped from 3.16 ms to 1.26 ms (a 2.51× speedup).
  • Regression in Grouped Query Attention (HK=8): For configurations with fewer key/value heads (HK=8), v2.8.4 (aiter) is generally slower or at parity with v2.3.4 (FA). The most notable regression occurs at batch size 4, SQ=1, where v2.8.4 is approximately 36% slower.
  • Scalability: v2.8.4 (aiter) scales much better with larger batch sizes in standard attention. At B=4, SQ=2048, throughput nearly doubled from 11.42 to 21.63.

Thanks very much for the comparison! Could you please share your benchmark scripts? Thanks!

@0xDELUXA
Copy link
Copy Markdown
Contributor

Thanks very much for the comparison! Could you please share your benchmark scripts? Thanks!

Of course! Here they are:
bench_fa2_old.py
bench_fa2_new.py

@tianwyan
Copy link
Copy Markdown

Thanks very much for the comparison! Could you please share your benchmark scripts? Thanks!

Of course! Here they are: bench_fa2_old.py bench_fa2_new.py

I will do further research based on it, will share you the updates once anything helpful!

@micmelesse
Copy link
Copy Markdown
Collaborator Author

micmelesse commented Mar 26, 2026

@micmelesse seems to be working ok, all tests passed.

============================================================= warnings summary =============================================================
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
venv\Lib\site-packages\triton\runtime\autotuner.py:101
  D:\flash-attention\venv\Lib\site-packages\triton\runtime\autotuner.py:101: DeprecationWarning: warmup, rep, and use_cuda_graph parameters are deprecated. See https://github.com/triton-lang/triton/pull/4496 for details.
    warnings.warn(("warmup, rep, and use_cuda_graph parameters are deprecated. See "

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================== 5256 passed, 24 skipped, 6 warnings in 5331.30s (1:28:51) =========================================

@tridao Ready for review. Just a submodule bump that fixes the Windows build issues (ROCm/aiter#2433). Also added a CI test to catch similar build issues going forward.

@micmelesse micmelesse marked this pull request as ready for review March 26, 2026 16:48
@0xDELUXA
Copy link
Copy Markdown
Contributor

0xDELUXA commented Mar 26, 2026

I would like to point out that Windows users must use the --no-deps flag when building Flash Attention from source. Failure to do so will trigger the following error:

ERROR: Could not find a version that satisfies the requirement triton==3.5.1 (from flash-attn) (from versions: none)
ERROR: No matching distribution found for triton==3.5.1

To build and install, use:

pip install --no-build-isolation --no-deps .

/

These errors also continue to persist:

  File "C:\ComfyUI\venv\Lib\site-packages\flash_attn\utils\distributed.py", line 12, in <module>
    torch.distributed.all_gather_into_tensor = torch.distributed._all_gather_base
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'torch.distributed' has no attribute '_all_gather_base'

Cannot import C:\ComfyUI\comfy_extras\nodes_morphology.py module for custom nodes: module 'torch.distributed' has no attribute '_all_gather_base'

It would be great to include this diff here as well. Referencing ROCm#172.

@micmelesse micmelesse force-pushed the micmelesse/windows-rocm-support branch from 5be2555 to 50e2ab6 Compare March 26, 2026 22:32
@micmelesse
Copy link
Copy Markdown
Collaborator Author

micmelesse commented Mar 26, 2026

@0xDELUXA Added the distributed.py fix. For --no-deps, that's a triton vs triton-windows naming issue that needs to get resolved first.

@0xDELUXA
Copy link
Copy Markdown
Contributor

0xDELUXA commented Mar 26, 2026

@0xDELUXA Added the distributed.py fix.

Thanks!

I was quite determined to address this distributed support issue on Windows ROCm:

For --no-deps, that's a triton vs triton-windows naming issue that needs to get resolved first.

Yeah, in the meantime we can install triton-windows separately, and FA with the --no-deps flag.

@astrelsky
Copy link
Copy Markdown

astrelsky commented Mar 27, 2026

@0xDELUXA Added the distributed.py fix. For --no-deps, that's a triton vs triton-windows naming issue that needs to get resolved first.

According to the conversation, they're going to leave it as triton-windows even when used as when building pytorch for torch.compile. There are no public nightly builds with that yet, so I don't think there is any concern. You can do conditional dependencies right in the pyproject.toml, no need to do it in setup.py.

@micmelesse
Copy link
Copy Markdown
Collaborator Author

I prefer to keep this PR minimal and just fix the Windows issues. A conditional triton-windows dep should be a separate PR.

@0xDELUXA
Copy link
Copy Markdown
Contributor

0xDELUXA commented Apr 2, 2026

@tridao Would love to see this merged when you get a chance. Without this PR's changes, Windows ROCm users cannot build or use Flash Attention at all. Thanks!

@tridao
Copy link
Copy Markdown
Member

tridao commented Apr 2, 2026

@micmelesse LGTM let's merge when it's ready.

@micmelesse
Copy link
Copy Markdown
Collaborator Author

Thanks @tridao. I don't have merge permissions on this repo. Could you merge it or grant me access? It would be great for our work at AMD.

@tridao
Copy link
Copy Markdown
Member

tridao commented Apr 2, 2026

@micmelesse i've just added you, you should be able to merge now

@micmelesse micmelesse merged commit ab5cb6e into Dao-AILab:main Apr 2, 2026
@micmelesse
Copy link
Copy Markdown
Collaborator Author

micmelesse commented Apr 2, 2026

@tridao Thank you

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.

7 participants