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

mtp: the draft graph node listing (STRATA_VERIFY_NODES) is CUDA/HIP only; the Metal build had no cudaGraphNodeGetType (merge fallout of f-latency into the Mac branch)

Niko12210e7a4694e50f
diff --git a/src/core/mtp.cpp b/src/core/mtp.cpp
index c550c7322..c36841c6c 100644
--- a/src/core/mtp.cpp
+++ b/src/core/mtp.cpp
@@ -815,6 +815,9 @@ MtpProf g_mp;
// STRATA_VERIFY_NODES=1 also lists the draft graphs' nodes (kernel names on HIP; counts on CUDA)
void mtp_list_nodes(cudaGraph_t graph, const char* what) {
if (std::getenv("STRATA_VERIFY_NODES") == nullptr || graph == nullptr) return;
+#if defined(STRATA_GPU_METAL)
+ (void) what; // Metal has no graph nodes to list
+#else
#if defined(STRATA_USE_HIP)
using NodeT = hipGraphNode_t;
using NodeTypeT = hipGraphNodeType;
@@ -856,6 +859,7 @@ void mtp_list_nodes(cudaGraph_t graph, const char* what) {
std::fprintf(stderr, "strata mtp: the %s graph has %zu nodes:", what, nn);
for (auto& k : kinds) std::fprintf(stderr, "\n %4d x %.110s", k.second, k.first.c_str());
std::fprintf(stderr, "\n");
+#endif
}
} // namespace