@@ -682,7 +682,7 @@ jobs:
682682 echo "docker_output=type=local,dest=/tmp/wheels" >> $GITHUB_OUTPUT
683683 env :
684684 GH_TOKEN : ${{ secrets.REPO_BOT_ACCESS_TOKEN }}
685-
685+
686686 - name : Log in to DockerHub
687687 uses : docker/login-action@v3
688688 with :
@@ -942,6 +942,7 @@ jobs:
942942 cuda_version_suffix="$(echo ${{ matrix.cuda_version }} | tr . -)"
943943 apt-get update && apt-get install -y --no-install-recommends \
944944 libcublas-$cuda_version_suffix \
945+ libcurand-$cuda_version_suffix \
945946 cuda-cudart-$cuda_version_suffix \
946947 libcusolver-$cuda_version_suffix \
947948 cuda-nvrtc-$cuda_version_suffix
@@ -1000,15 +1001,17 @@ jobs:
10001001 wheel_validation_piponly :
10011002 name : Wheel validation, pip only
10021003 needs : [assets, cudaq_wheels, cudaq_metapackages]
1003- runs-on : linux-amd64-gpu-v100-latest-1
10041004 permissions :
10051005 contents : read
10061006
10071007 strategy :
10081008 matrix :
1009+ platform : ['amd64-gpu-v100', 'arm64-gpu-a100']
10091010 cuda_major : ['', '11', '12']
10101011 fail-fast : false
10111012
1013+ runs-on : linux-${{ matrix.platform }}-latest-1
1014+
10121015 container :
10131016 image : ubuntu:22.04
10141017 options : --user root
@@ -1036,11 +1039,11 @@ jobs:
10361039 name : ${{ needs.cudaq_metapackages.outputs.artifact_name }}
10371040 path : /tmp/packages
10381041
1039- - name : Run x86 validation
1042+ - name : Run basic validation
10401043 shell : bash
10411044 run : |
1042- # These simple steps are only expected to work for x86 and only for
1043- # targets and test cases that don't require MPI.
1045+ # These simple steps are only expected to work for
1046+ # test cases that don't require MPI.
10441047 # Create clean python3 environment.
10451048 apt-get update && apt-get install -y --no-install-recommends python3 python3-pip
10461049 mkdir -p /tmp/packages && mv /tmp/wheels/* /tmp/packages && rmdir /tmp/wheels
@@ -1124,7 +1127,7 @@ jobs:
11241127 pattern : ' *-wheels'
11251128 path : /tmp/wheels
11261129 merge-multiple : true
1127-
1130+
11281131 - name : Load metapackage
11291132 uses : actions/download-artifact@v4
11301133 with :
@@ -1211,10 +1214,16 @@ jobs:
12111214 for installer in `find installers/ -type f -not -name '*.whl'`; do
12121215 mv -v "$installer" "$(basename -- "$installer")"
12131216 done
1214- for dir in `ls wheelhouse/`; do
1215- mv -v "wheelhouse/$dir"/* wheelhouse/ && rmdir "wheelhouse/$dir"
1217+ # A single wheelhouse.zip file is too big. Split it up by platform.
1218+ platforms=$(ls wheelhouse | cut -d- -f1 | sort | uniq)
1219+ for p in $platforms; do
1220+ mkdir wheelhouse-${p}
1221+ for fulldir in wheelhouse/${p}-*; do
1222+ dir=$(basename $fulldir)
1223+ mv -v "wheelhouse/$dir"/* wheelhouse-${p}/ && rmdir "wheelhouse/$dir"
1224+ done
1225+ zip -r wheelhouse-${p}.zip wheelhouse-${p}
12161226 done
1217- zip -r wheelhouse.zip wheelhouse
12181227 zip -r metapackages.zip metapackages
12191228
12201229 release_id=${{ inputs.assets_from_run || github.run_id }}
@@ -1231,7 +1240,7 @@ jobs:
12311240 --target $github_commit --draft $prerelease \
12321241 --generate-notes --notes-start-tag $latest_tag --notes "$rel_notes"
12331242 gh release upload $release_id -R ${{ github.repository }} install_cuda_quantum* --clobber
1234- gh release upload $release_id -R ${{ github.repository }} wheelhouse.zip --clobber
1243+ gh release upload $release_id -R ${{ github.repository }} wheelhouse-* .zip --clobber
12351244 gh release upload $release_id -R ${{ github.repository }} metapackages.zip --clobber
12361245 gh release edit $release_id -R ${{ github.repository }} \
12371246 --title "$release_title" --tag $version $prerelease # --draft=false
0 commit comments