mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-07-17 17:19:12 +00:00
disabling 128 on non preshufflequant
This commit is contained in:
@@ -49,10 +49,10 @@ void bquant_quantgrouped_fp8_instance_factory(
|
||||
using QuantGroupSize = ck_tile::QuantGroupShape<ck_tile::sequence<1, 64, 128>>;
|
||||
return RUN_GEMM_EXAMPLE_PREC_TYPE;
|
||||
};
|
||||
lut[hash_multiple_strings(
|
||||
{"fp8", "bquant", "non-preshuffleb", "non-preshufflequant", "1x128x128"})] =
|
||||
[](const ck_tile::ArgParser& arg_parser) {
|
||||
using QuantGroupSize = ck_tile::QuantGroupShape<ck_tile::sequence<1, 128, 128>>;
|
||||
return RUN_GEMM_EXAMPLE_PREC_TYPE;
|
||||
};
|
||||
// lut[hash_multiple_strings(
|
||||
// {"fp8", "bquant", "non-preshuffleb", "non-preshufflequant", "1x128x128"})] =
|
||||
// [](const ck_tile::ArgParser& arg_parser) {
|
||||
// using QuantGroupSize = ck_tile::QuantGroupShape<ck_tile::sequence<1, 128, 128>>;
|
||||
// return RUN_GEMM_EXAMPLE_PREC_TYPE;
|
||||
// };
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "run_gemm_quant_example.inc"
|
||||
|
||||
template <typename T>
|
||||
using GemmConfig = GemmConfigPreshuffleQuantDecode<T>;
|
||||
using GemmConfig = GemmConfigPreshuffleBQuantPrefill<T>; // GemmConfigPreshuffleQuantDecode<T>;
|
||||
// //GemmConfigPreshuffleBQuantPrefill<T>;
|
||||
|
||||
void bquant_quantgrouped_preshufflequant_instance_factory(
|
||||
@@ -24,33 +24,31 @@ void bquant_quantgrouped_preshufflequant_instance_factory(
|
||||
ck_tile::QuantType::BQuantGrouped>(arg_parser);
|
||||
};
|
||||
|
||||
// lut[hash_multiple_strings({"fp8", "bquant", "non-preshuffleb", "preshufflequant",
|
||||
// "1x8x128"})] =
|
||||
// [](const ck_tile::ArgParser& arg_parser) {
|
||||
// using TypeConfig = decltype(GemmQuantTypeConfig<ck_tile::fp8_t,
|
||||
// ck_tile::fp8_t,
|
||||
// ck_tile::half_t,
|
||||
// float>{});
|
||||
// using QuantGroupSize = ck_tile::QuantGroupShape<ck_tile::sequence<1, 8, 128>>;
|
||||
// return run_gemm_example_prec_type<GemmConfig<ck_tile::fp8_t>,
|
||||
// TypeConfig,
|
||||
// QuantGroupSize,
|
||||
// ck_tile::QuantType::BQuantGrouped>(arg_parser);
|
||||
// };
|
||||
// lut[hash_multiple_strings({"fp8",
|
||||
// "bquant",
|
||||
// "non-preshuffleb",
|
||||
// "preshufflequant",
|
||||
// "1x16x128"})] = [](const ck_tile::ArgParser& arg_parser) {
|
||||
// using TypeConfig =
|
||||
// decltype(GemmQuantTypeConfig<ck_tile::fp8_t, ck_tile::fp8_t, ck_tile::half_t,
|
||||
// float>{});
|
||||
// using QuantGroupSize = ck_tile::QuantGroupShape<ck_tile::sequence<1, 16, 128>>;
|
||||
// return run_gemm_example_prec_type<GemmConfig<ck_tile::fp8_t>,
|
||||
// TypeConfig,
|
||||
// QuantGroupSize,
|
||||
// ck_tile::QuantType::BQuantGrouped>(arg_parser);
|
||||
// };
|
||||
lut[hash_multiple_strings({"fp8", "bquant", "non-preshuffleb", "preshufflequant", "1x8x128"})] =
|
||||
[](const ck_tile::ArgParser& arg_parser) {
|
||||
using TypeConfig = decltype(GemmQuantTypeConfig<ck_tile::fp8_t,
|
||||
ck_tile::fp8_t,
|
||||
ck_tile::half_t,
|
||||
float>{});
|
||||
using QuantGroupSize = ck_tile::QuantGroupShape<ck_tile::sequence<1, 8, 128>>;
|
||||
return run_gemm_example_prec_type<GemmConfig<ck_tile::fp8_t>,
|
||||
TypeConfig,
|
||||
QuantGroupSize,
|
||||
ck_tile::QuantType::BQuantGrouped>(arg_parser);
|
||||
};
|
||||
lut[hash_multiple_strings({"fp8",
|
||||
"bquant",
|
||||
"non-preshuffleb",
|
||||
"preshufflequant",
|
||||
"1x16x128"})] = [](const ck_tile::ArgParser& arg_parser) {
|
||||
using TypeConfig =
|
||||
decltype(GemmQuantTypeConfig<ck_tile::fp8_t, ck_tile::fp8_t, ck_tile::half_t, float>{});
|
||||
using QuantGroupSize = ck_tile::QuantGroupShape<ck_tile::sequence<1, 16, 128>>;
|
||||
return run_gemm_example_prec_type<GemmConfig<ck_tile::fp8_t>,
|
||||
TypeConfig,
|
||||
QuantGroupSize,
|
||||
ck_tile::QuantType::BQuantGrouped>(arg_parser);
|
||||
};
|
||||
lut[hash_multiple_strings({"fp8",
|
||||
"bquant",
|
||||
"non-preshuffleb",
|
||||
|
||||
Reference in New Issue
Block a user