File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -116,13 +116,15 @@ jobs:
116116 ;;
117117 esac
118118
119- # Create unique artifact name
119+ # Create unique artifact name per configuration
120120 ARTIFACT="lib_${{ inputs.backend }}_${BUILD_OS}_${ARCH}"
121121 if [[ "${{ inputs.backend }}" == "cuda" ]]; then
122- ARTIFACT="${ARTIFACT}_${{ inputs.cuda_version }}"
122+ ARTIFACT="${ARTIFACT}_${{ inputs.cuda_version }}_${{ inputs.gpu_type }}"
123+ else
124+ ARTIFACT="${ARTIFACT}_${{ inputs.cpu_type }}"
123125 fi
124- # Add run ID to make artifacts unique across workflow runs
125- ARTIFACT="${ARTIFACT}_${{ github.run_id }}_${{ github.run_attempt }}"
126+ # Add torch version and run ID to ensure uniqueness
127+ ARTIFACT="${ARTIFACT}_torch${{ inputs.torch_version }} _${{ github.run_id }}_${{ github.run_attempt }}"
126128
127129 echo "build_runner=${BUILD_RUNNER}" >> $GITHUB_OUTPUT
128130 echo "test_runner=${TEST_RUNNER}" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments