Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

kv_hybrid_parity: the tensor-core prompt kernel is sm_70+ (base launch gate), so a refusal below sm_70 passes

Niko12215389eb9db873
diff --git a/src/kernels/kv_hybrid_parity.cpp b/src/kernels/kv_hybrid_parity.cpp
index ca371782c..58d50a60c 100644
--- a/src/kernels/kv_hybrid_parity.cpp
+++ b/src/kernels/kv_hybrid_parity.cpp
@@ -333,8 +333,16 @@ int main() {
// AMD: the tensor-core prompt path is CUDA-only, so it refuses every pool and the old kernel runs
std::printf("[5/5] qsa_prompt_attn mode 3: PASS (refused on HIP - the old kernel runs)\n");
#else
- std::printf("[5/5] qsa_prompt_attn mode 3: FAIL (refused the hybrid pools)\n");
- g_fail = 1;
+ // a card below compute capability 7.0 (Pascal) never had the tensor-core prompt kernels: the old kernel runs
+ int dev5 = 0, major5 = 0;
+ cudaGetDevice(&dev5);
+ cudaDeviceGetAttribute(&major5, cudaDevAttrComputeCapabilityMajor, dev5);
+ if (major5 > 0 && major5 < 7) {
+ std::printf("[5/5] qsa_prompt_attn mode 3: PASS (refused below sm_70 - the old kernel runs)\n");
+ } else {
+ std::printf("[5/5] qsa_prompt_attn mode 3: FAIL (refused the hybrid pools)\n");
+ g_fail = 1;
+ }
#endif
} else {
k::fwht256_inplace_cuda(d_at4, QH, nullptr);