diff --git a/.github/workflows/validate-binaries.yml b/.github/workflows/validate-binaries.yml index 25399cd01..f6f73b012 100644 --- a/.github/workflows/validate-binaries.yml +++ b/.github/workflows/validate-binaries.yml @@ -82,7 +82,7 @@ jobs: ref: ${{ inputs.ref || github.ref }} torchonly: ${{ inputs.torchonly }} version: ${{ inputs.version }} - release-matrix: ${{ fromJson(needs.generate-release-matrix.outputs.matrix) }} + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} linux: if: inputs.os == 'linux' || inputs.os == 'all' @@ -93,7 +93,7 @@ jobs: ref: ${{ inputs.ref || github.ref }} torchonly: ${{ inputs.torchonly }} version: ${{ inputs.version }} - release-matrix: ${{ fromJson(needs.generate-release-matrix.outputs.matrix) }} + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} linux-aarch64: if: inputs.os == 'linux-aarch64' @@ -104,7 +104,7 @@ jobs: ref: ${{ inputs.ref || github.ref }} torchonly: ${{ inputs.torchonly }} version: ${{ inputs.version }} - release-matrix: ${{ fromJson(needs.generate-release-matrix.outputs.matrix) }} + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} mac: if: inputs.os == 'macos' || inputs.os == 'all' needs: generate-release-matrix @@ -114,7 +114,7 @@ jobs: ref: ${{ inputs.ref || github.ref }} torchonly: ${{ inputs.torchonly }} version: ${{ inputs.version }} - release-matrix: ${{ fromJson(needs.generate-rlease-matrix.outputs.matrix) }} + release-matrix: ${{ needs.generate-rlease-matrix.outputs.matrix }} mac-arm64: if: inputs.os == 'macos' || inputs.os == 'all' @@ -125,4 +125,4 @@ jobs: ref: ${{ inputs.ref || github.ref }} torchonly: ${{ inputs.torchonly }} version: ${{ inputs.version }} - release-matrix: ${{ fromJson(needs.generate-release-matrix.outputs.matrix) }} + release-matrix: ${{ needs.generate-release-matrix.outputs.matrix }} diff --git a/.github/workflows/validate-linux-binaries.yml b/.github/workflows/validate-linux-binaries.yml index 8bf2b9c71..dcbfc93a0 100644 --- a/.github/workflows/validate-linux-binaries.yml +++ b/.github/workflows/validate-linux-binaries.yml @@ -88,6 +88,7 @@ jobs: export TARGET_OS="linux" eval "$(conda shell.bash hook)" printf '%s\n' ${{ toJson(inputs.release-matrix) }} > release_matrix.json + cat release_matrix.json # Special case PyPi installation package. And Install of PyPi package via poetry if [[ ${MATRIX_PACKAGE_TYPE} == "manywheel" && ${MATRIX_GPU_ARCH_VERSION} == "12.1" ]]; then diff --git a/test/smoke_test/smoke_test.py b/test/smoke_test/smoke_test.py index c34208771..382cb0bdb 100644 --- a/test/smoke_test/smoke_test.py +++ b/test/smoke_test/smoke_test.py @@ -282,11 +282,14 @@ def main() -> None: ) options = parser.parse_args() print(f"torch: {torch.__version__}") + print(f"torch expected: {release_version}") # if release_version is specified, override stable_version coming binary matrix if(release_version): + print(f"reading release_matrix for: {release_version}") release_matrix = read_release_matrix() stable_version = release_matrix["torch"] + print(f"new stable version : {stable_version}") check_version(options.package) smoke_test_conv2d()