Files
ROCmFPX-BUILDER/scripts
John SmithandClaude dc0ad7d584 fix(scripts): auto-detect the Radeon 8060S as the ROCm target in run_yarn_1m
HIP_VISIBLE_DEVICES=0 defaulted the server onto the RX 7900 XTX (gfx1100)
instead of the 8060S iGPU (gfx1151). The launcher's HSA_OVERRIDE_GFX_VERSION
=11.5.1 forces gfx1151 ISA, which fails to launch on the 7900 XTX at the
first compute ("ROCm error: unspecified launch failure" in ggml_cuda_cpy /
hipMemcpyAsync; "current device: -1" because cudaGetDevice itself fails,
ggml-cuda.cu:129). The 24 GB card also can't hold 1M KV + MTP + mmproj.

- Auto-detect the 8060S by name from `--list-devices` (common/arg.cpp:1101)
  and set HIP_VISIBLE_DEVICES to it; respect an explicit env pin / --hip-device
- Loud fallback warning to HIP_VISIBLE_DEVICES=0 if detection fails
- Add optional --strict (--spec-mtp-strict-qwen) for greedy==no-spec output
- Banner/help updated; mmproj auto-attach unchanged

Co-Authored-By: Claude <[email protected]>
2026-08-31 00:39:44 -04:00
..