[GH-ISSUE #1475] expert_cache_segmented_test fails on HIP builds instead of skipping (--vram-elastic is CUDA-only) #592

Closed
opened 2026-11-04 01:44:19 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @jkuepker on GitHub (Oct 8, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1475

On HIP builds, expert_cache_segmented_test fails instead of skipping:

FAIL open ExpertCache: --vram-elastic (a segmented expert cache) is CUDA-only for now

CMakeLists.txt already registers it with SKIP_RETURN_CODE 77, so the fix is for the test to return 77 when it is built without CUDA (or when ExpertCache reports the segmented mode unsupported), the same way other backend-specific tests skip. #918 lists it as one of the "known" HIP ctest failures, so every AMD ctest run currently shows one failure that isn't a bug.

Seen on an R9700 (gfx1201): ctest 90/95. The other failures were ple_parity, expert_parity and pool_test (they need model fixtures) and hip_q2_zero (filed separately).

Environment: Strata v0.1.40.3 (d5ea713), Linux (Ubuntu 24.04), AMD Radeon AI PRO R9700 (gfx1201, 32 GB), Ryzen 9 9900X, TheRock ROCm 7.10.0a20251120 (gfx120X-all wheels, setup's default), built by ./setup.sh --backend hip, then cmake -DSTRATA_BUILD_TESTS=ON + ctest --test-dir build-hip.

Originally created by @jkuepker on GitHub (Oct 8, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/1475 On HIP builds, `expert_cache_segmented_test` fails instead of skipping: ``` FAIL open ExpertCache: --vram-elastic (a segmented expert cache) is CUDA-only for now ``` `CMakeLists.txt` already registers it with `SKIP_RETURN_CODE 77`, so the fix is for the test to `return 77` when it is built without CUDA (or when `ExpertCache` reports the segmented mode unsupported), the same way other backend-specific tests skip. #918 lists it as one of the "known" HIP ctest failures, so every AMD ctest run currently shows one failure that isn't a bug. Seen on an R9700 (gfx1201): ctest 90/95. The other failures were `ple_parity`, `expert_parity` and `pool_test` (they need model fixtures) and `hip_q2_zero` (filed separately). **Environment:** Strata v0.1.40.3 (d5ea713), Linux (Ubuntu 24.04), AMD Radeon AI PRO R9700 (gfx1201, 32 GB), Ryzen 9 9900X, TheRock ROCm 7.10.0a20251120 (`gfx120X-all` wheels, setup's default), built by `./setup.sh --backend hip`, then `cmake -DSTRATA_BUILD_TESTS=ON` + `ctest --test-dir build-hip`.
Author
Owner

@Niko1221 commented on GitHub (Oct 10, 2026):

Fixed in v0.1.42: expert_cache_segmented_test returns 77 (skip) when open reports that --vram-elastic is CUDA-only, so a HIP ctest run no longer counts it as a failure.

<!-- gh-comment-id:6099596115 --> @Niko1221 commented on GitHub (Oct 10, 2026): Fixed in v0.1.42: expert_cache_segmented_test returns 77 (skip) when open reports that --vram-elastic is CUDA-only, so a HIP ctest run no longer counts it as a failure.
Author
Owner

@Niko1221 commented on GitHub (Oct 13, 2026):

Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.

If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.

<!-- gh-comment-id:6156104813 --> @Niko1221 commented on GitHub (Oct 13, 2026): Thanks for the report. To keep the tracker current we are closing issues older than three days: [0.1.44](https://github.com/Niko1221/Strata/releases/tag/v0.1.44) is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1. If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#592
No description provided.