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

Metal: stubs for the Gyro Hadamard entry points (the engine does not run trellis experts; native_expert_supported refuses them at load)

Niko1221365c60e7a4b7
diff --git a/metal/src/engine/stubs_gyro.cpp b/metal/src/engine/stubs_gyro.cpp
new file mode 100644
index 000000000..4c2f336ea
--- /dev/null
+++ b/metal/src/engine/stubs_gyro.cpp
@@ -0,0 +1,25 @@
+// metal/src/engine/stubs_gyro.cpp - the Gyro (agentionai trellis experts) entry points the Metal engine does not implement:
+// the GPU Hadamard rotations of src/kernels/cuda/iq_kernels.cu. native_expert_supported() (iq_host.cpp) does not list the
+// trellis types, so a Gyro pack stops at load with its reason and these are never reached with a supported file.
+// Each stops the engine with its name, like stubs.cpp.
+
+#include <cstdint>
+
+#include "strata/kernels/iq_kernels.hpp"
+
+namespace strata::metal_engine {
+void missing(const char* name);
+}
+
+namespace strata::kernels {
+void hadamard_rows(const float*, float*, int64_t, int64_t, int, const float*, void*) {
+ strata::metal_engine::missing("strata::kernels::hadamard_rows");
+}
+void hadamard_rows_f16(uint16_t*, int64_t, int64_t, int, const float*, void*) {
+ strata::metal_engine::missing("strata::kernels::hadamard_rows_f16");
+}
+const float* hadamard_device_signs(const float*, int) {
+ strata::metal_engine::missing("strata::kernels::hadamard_device_signs");
+ return nullptr;
+}
+} // namespace strata::kernels