Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build and test support for CUDA 12 #606

Merged
merged 35 commits into from
Feb 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
110b4f2
Add build and test support for CUDA 12
mlxd Feb 2, 2024
6681f48
Auto update version
github-actions[bot] Feb 2, 2024
ddc0a65
Fix name
mlxd Feb 2, 2024
aa5d5dc
Merge branch 'update/lgpu_cuda12' of github.com:PennyLaneAI/pennylane…
mlxd Feb 2, 2024
0c4471a
Avoid overstepping with CUDA 11 on 12
mlxd Feb 2, 2024
eb10a24
Fix wheel output naming
mlxd Feb 2, 2024
b82b4d7
Remove unneeded strings
mlxd Feb 2, 2024
8570193
Add missing 0 to CUDA 11 install
mlxd Feb 2, 2024
115a844
Trigger CI
mlxd Feb 2, 2024
3f8c8f7
Update to allow CUDA 11 wheels to build also
mlxd Feb 5, 2024
a2aaac3
Update fromJSON usage
mlxd Feb 5, 2024
f2d4115
Update int to str in json map
mlxd Feb 5, 2024
198c396
Aim to keep cuda 11.5 wheels for now
mlxd Feb 5, 2024
6566608
Remove CUDA 11
mlxd Feb 5, 2024
8c0e238
Migrate windows tests to clangcl to avoid failures
mlxd Feb 6, 2024
44fcb00
Ensure VS generator used
mlxd Feb 6, 2024
47e7387
Update for auditwheel 6.0 changes
mlxd Feb 6, 2024
e98f183
Ensure devtoolset values are used in CUDA 12 build
mlxd Feb 7, 2024
baedf47
Remove unneeded deref
mlxd Feb 7, 2024
69ddde1
Retry installing cuda 12.0
mlxd Feb 7, 2024
c285319
Fix auditwheel arch check
mlxd Feb 7, 2024
9a21ea9
Fix auditwheel arch check again
mlxd Feb 7, 2024
38450e9
Revert windows tests
mlxd Feb 7, 2024
a52e40f
Lower overhead of Windows CI tests (#610)
mlxd Feb 7, 2024
9cc12d4
Update changelog
mlxd Feb 7, 2024
a9feabf
Remove trainability from stateprep in test
mlxd Feb 9, 2024
49f3d6e
Update dev reqs to use cu12
mlxd Feb 9, 2024
0f7caa2
Fix formatting
mlxd Feb 9, 2024
655d966
Update the MPI modules in CI
mlxd Feb 9, 2024
7f0bf00
Add ls to module dirs
mlxd Feb 9, 2024
a7e7eae
Remove additional cu11 deps
mlxd Feb 9, 2024
29427b4
Use mpirun from PATH
mlxd Feb 9, 2024
12e4f56
Update to cu12 in missing locations
mlxd Feb 9, 2024
4812a93
Remove opt path specifics
mlxd Feb 9, 2024
c0c5a25
Ensure cuda version env vars are inlcuded on Python tests for MPI
mlxd Feb 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update to cu12 in missing locations
  • Loading branch information
mlxd committed Feb 9, 2024
commit 12e4f56fed097c7aa71f16bc6ec4706d4f80efb3
2 changes: 1 addition & 1 deletion .github/workflows/compat-check-latest-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pennylane-version: latest
tests_lgpu_gpu:
name: Lightning Compatibility test (tests_lgpu_gpu) - latest/latest
uses: ./.github/workflows/tests_gpu_cu11.yml
uses: ./.github/workflows/tests_gpu_cuda.yml
with:
lightning-version: latest
pennylane-version: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compat-check-latest-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pennylane-version: stable
tests_lgpu_gpu:
name: Lightning Compatibility test (tests_lgpu_gpu) - latest/stable
uses: ./.github/workflows/tests_gpu_cu11.yml
uses: ./.github/workflows/tests_gpu_cuda.yml
with:
lightning-version: latest
pennylane-version: stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compat-check-release-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pennylane-version: release
tests_lgpu_gpu:
name: Lightning Compatibility test (tests_lgpu_gpu) - release/release
uses: ./.github/workflows/tests_gpu_cu11.yml
uses: ./.github/workflows/tests_gpu_cuda.yml
with:
lightning-version: release
pennylane-version: release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compat-check-stable-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pennylane-version: latest
tests_lgpu_gpu:
name: Lightning Compatibility test (tests_lgpu_gpu) - stable/latest
uses: ./.github/workflows/tests_gpu_cu11.yml
uses: ./.github/workflows/tests_gpu_cuda.yml
with:
lightning-version: stable
pennylane-version: latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compat-check-stable-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pennylane-version: stable
tests_lgpu_gpu:
name: Lightning Compatibility test (tests_lgpu_gpu) - stable/stable
uses: ./.github/workflows/tests_gpu_cu11.yml
uses: ./.github/workflows/tests_gpu_cuda.yml
with:
lightning-version: stable
pennylane-version: stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_gpu_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

upload-to-codecov-linux-cpp:
needs: [cpptestswithLGPU_cu11]
needs: [cpptestswithLGPU]
name: Upload coverage data to codecov
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel_linux_x86_64_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
types: [published]

concurrency:
group: wheel_linux_x86_64_cu11-${{ github.ref }}
group: wheel_linux_x86_64_cu12-${{ github.ref }}
cancel-in-progress: true

jobs:
Expand Down
Loading