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++
gfx906: the 0.1.40 tree does not build on HIP/gfx906 (three compile errors)
xxDomanf236dbb85c16
diff --git a/src/core/mtp.cpp b/src/core/mtp.cppindex b446b434c..a93f4c51f 100644--- a/src/core/mtp.cpp+++ b/src/core/mtp.cpp@@ -415,7 +415,7 @@ bool MtpDrafter::load(const std::string& rt_dir, const ModelGeometry& g, Session// --pipeline-windows 2 (the forcing graphs): the chain shares its card with stage 1's windows and the next launch// on stage 0 waits for it, so its stream gets the highest priority there (STRATA_MTP_PRIORITY=0: the default)bool prio = false;-#if !defined(STRATA_USE_HIP) // (HIP: the default priority)+#if !defined(STRATA_USE_HIP) && !defined(STRATA_HIP_GFX906) // (HIP: the default priority)static const bool hi_prio = [] { const char* v = std::getenv("STRATA_MTP_PRIORITY"); return v == nullptr || std::atoi(v) != 0; }();int prio_lo = 0, prio_hi = 0;if (force_on_ && hi_prio && cudaDeviceGetStreamPriorityRange(&prio_lo, &prio_hi) == cudaSuccess)diff --git a/src/core/vmm.cpp b/src/core/vmm.cppindex d66f17b50..9ada955dc 100644--- a/src/core/vmm.cpp+++ b/src/core/vmm.cpp@@ -1,6 +1,6 @@#include "strata/core/vmm.hpp"-#if !defined(STRATA_USE_HIP)+#if !defined(STRATA_USE_HIP) && !defined(STRATA_HIP_GFX906)#include <cuda.h>#include <cuda_runtime.h>diff --git a/src/kernels/cuda/fused_gr.cu b/src/kernels/cuda/fused_gr.cuindex a00c42424..210cf228c 100644--- a/src/kernels/cuda/fused_gr.cu+++ b/src/kernels/cuda/fused_gr.cu@@ -1740,7 +1740,7 @@ bool fused_gr_read_multi(const FusedGrArgs* a, int n_tok, float* xn_scratch, voistd::fprintf(stderr, "fused_gr_read_multi: %s\n", cudaGetErrorString(e));std::exit(1);}- return;+ return false; // the gfx906 STRATA_GR_SPLIT read: no q8_1 (the caller quantizes), like the v3 path above}#endif// the default read (STRATA_GR_V3 unset): v1, or the bitwise-equal v2 / v3 this card's check accepted