mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
Holdable on its own: with it held back the Mac still builds (commit 6 took the two pieces that had to go with src/dsv41); this one removes what is dead since then. - metal/src/engine: ds4_ctx.cpp, ds4_finish.cpp, ds4_host.cpp, ds4_vision_metal.cpp, stubs_ds4.cpp (unreferenced objects of the strata_metal_kernels glob) and msl/ds4_*.metal (6; the Qwen engine never loaded them, msl_libs.h; packaging/mac/build_engine.sh copied every msl/*.metal into the Qwen package, so they leave the package too). - metal/include/metal_compat: ds4_metal_host.h, ds4_vision_metal.h and cublas_v2.h (the cuBLAS shim of the DeepSeek sources; no Qwen source on the Mac includes it); cuda_runtime.h loses the ds4_metal_flush / kick declarations; mtl_rt.h loses start_keepalive (defined only for the DeepSeek runtime). - metal/src/mtl_rt.mm (26 blocks) and metal/src/gpu/runtime.cpp (35 blocks): the `#if defined(STRATA_DS4_RUNTIME)` blocks go. The macro was set only on strata_ds4's own copies of these two files, so every other target read them without the blocks already. - metal/tests ds4_* / dsu_* / dsv41/, metal/probe/busy_flag_probe.mm, the dsu_ref_vs_ggml target, third_party/antirez-ds4 (it covered the Metal vision tower only); metal/CMakeLists.txt comments.