From e3a4bfba88b64ed370bbe97b5a74be70b78d40c1 Mon Sep 17 00:00:00 2001 From: "PoYen, Chen" Date: Thu, 8 Aug 2024 17:35:36 +0000 Subject: [PATCH] Show more detailed warning message --- example/ck_tile/01_fmha/fmha_fwd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/ck_tile/01_fmha/fmha_fwd.cpp b/example/ck_tile/01_fmha/fmha_fwd.cpp index b3ca41282c..3cd9fab8f2 100644 --- a/example/ck_tile/01_fmha/fmha_fwd.cpp +++ b/example/ck_tile/01_fmha/fmha_fwd.cpp @@ -281,8 +281,8 @@ bool run(const ck_tile::ArgParser& arg_parser) #if !CK_TILE_FMHA_FWD_APPENDKV_API if(seqlen_knew != 0) { - std::cerr << "append-kv is not supported" << std::endl; - return false; + std::cerr << "kvcache is not supported. ignoring the 's_knew' option" << std::endl; + seqlen_knew = 0; } #endif if(seqlen_knew < 0)