Skip to content

Commit

Permalink
[Core] Debug unaligned MXFP8 dequantize tests (#1450)
Browse files Browse the repository at this point in the history
* Skip MXFP8 dequantize tests with invalid alignment

Signed-off-by: Tim Moon <tmoon@nvidia.com>

* Remove test case with unaligned rows

Signed-off-by: Tim Moon <tmoon@nvidia.com>

---------

Signed-off-by: Tim Moon <tmoon@nvidia.com>
  • Loading branch information
timmoon10 authored Feb 1, 2025
1 parent f5f2872 commit f694199
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/cpp/operator/test_dequantize_mxfp8.cu
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,14 @@ TEST_P(DequantizeMXFP8TestSuite, TestDequantizeMXFP8)
GTEST_SKIP();
}

// Skip cases with invalid alignment
if (rowwise && tensor_size.second % 32 != 0) {
GTEST_SKIP();
}
if (colwise && tensor_size.first % 32 != 0) {
GTEST_SKIP();
}

TRANSFORMER_ENGINE_TYPE_SWITCH_FP8_ONLY(input_type, InputType,
TRANSFORMER_ENGINE_TYPE_SWITCH_FP16_FP32_ONLY(output_type, OutputType,
if (quantize_then_dequantize) {
Expand Down

0 comments on commit f694199

Please sign in to comment.