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++

Fix #3358: the HIP MMQ parity screen no longer builds a string from a null type name

Niko1221a6ffc04d6d0b
diff --git a/tests/hip/prefill_mmq_parity.cpp b/tests/hip/prefill_mmq_parity.cpp
index 4a204781d..3ebe8262f 100644
--- a/tests/hip/prefill_mmq_parity.cpp
+++ b/tests/hip/prefill_mmq_parity.cpp
@@ -330,7 +330,8 @@ int main(int argc, char ** argv) {
if (!supported((int) t)) { std::cout << "type " << (int) t << ": no MMQ instance in this build\n"; continue; }
const std::vector<int> counts{2, 3};
const auto src = permutation(5, 1, false), dst = permutation(5, 2, true);
- const std::string tn = ggml_type_name(t);
+ const char* known = ggml_type_name(t); // null when this ggml has no name for the id (no trellis types in it): #3358
+ const std::string tn = known ? known : "type" + std::to_string((int) t);
const char* rep = std::getenv("MMQ_PARITY_REPEAT"); // repeat each product (flakiness screen)
const int reps = rep ? std::max(1, std::atoi(rep)) : 1;
const auto wgu = synthetic_q2(2, 1280, 2560, 5, t), wd = synthetic_q2(2, 2560, 640, 6, t);