diff --git a/infra/k8s/argo/gpu-test-pipeline-template.yaml b/infra/k8s/argo/gpu-test-pipeline-template.yaml index 8653870ef..c9f9c10e0 100644 --- a/infra/k8s/argo/gpu-test-pipeline-template.yaml +++ b/infra/k8s/argo/gpu-test-pipeline-template.yaml @@ -208,6 +208,9 @@ spec: export PATH="${CARGO_HOME}/bin:${PATH}" export CUDA_COMPUTE_CAP={{workflow.parameters.cuda-compute-cap}} + # --- Clean stale test binaries (PVC incremental cache) --- + cargo clean -p ml -p ml-core -p ml-dqn -p ml-ppo 2>/dev/null || true + # --- PTX cache invalidation --- # Purge stale cached PTX if any CUDA kernel source changed since last run. bash scripts/ptx-cache-invalidate.sh "${CARGO_TARGET_DIR}/.ptx_cache"