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

tests: expert_cache_segmented_test skips on a HIP build, where --vram-elastic is CUDA-only (#1475)

Niko12213d6793a40860
diff --git a/tests/core/expert_cache_segmented_test.cpp b/tests/core/expert_cache_segmented_test.cpp
index cabf24a4c..9867e5415 100644
--- a/tests/core/expert_cache_segmented_test.cpp
+++ b/tests/core/expert_cache_segmented_test.cpp
@@ -58,7 +58,9 @@ int main() {
const bool ok = sized ? c.open_sized(std::vector<int64_t>(kSlots, kBlob), 4, 64, err)
: c.open(kSlots, 4, 64, kBlob, err);
if (!ok) {
- if (err.find("virtual memory management") != std::string::npos) {
+ // #1475: a HIP build has no segmented cache ("--vram-elastic ... is CUDA-only for now"): a skip, not a failure
+ if (err.find("virtual memory management") != std::string::npos ||
+ err.find("CUDA-only") != std::string::npos) {
std::printf("%s: skipped\n", err.c_str());
return 77;
}