This repository has been archived by the owner on Feb 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Add C++ support for raw CUDA pointer backed state-vector #16
Open
mlxd
wants to merge
23
commits into
main
Choose a base branch
from
statevec_raw
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
3b73b33
Add support for raw CUDA pointer state-vector
mlxd a2db981
Update formatting
mlxd cbd2e61
Temporarily use Lightning master
mlxd a215696
Update naming for classes
mlxd a569d97
Update built modules for import
mlxd 87e23a4
Avoid duplicate symbols in exntesion modules
mlxd 52246ad
Add support for void ptr constructed bindings
mlxd 33f7919
Add prelim changes for unmanaged memory SV type
mlxd 451923c
Merge branch 'main' into statevec_raw
mlxd 60ffc59
Track compilation paths
mlxd 74d0802
Removed unneeded methods and class as backprop direct integration unf…
mlxd f330dac
Merge branch 'main' into statevec_raw
mlxd b7ba6de
Formatting fix
mlxd 4e4d39f
Add Torch tensor support to LightningGPU C++ backend
mlxd 453dca2
Add Torch tensor support to LightningGPU C++ backend & assoc changes
mlxd a40a1a8
Fix formatting
mlxd 110c92d
Update repair wheel command
mlxd 4edb592
Examine removing unnecessary files from CI image due to out of storag…
mlxd b1eafae
Retrigger buld with extra space
mlxd 00603c9
Retrigger CI
mlxd a4e4a11
Remove android dotnet and haskell
mlxd 1c33153
Allow 20GB min free storage on root during build
mlxd 1a3ce63
Remove new action in favour of explicit commands
mlxd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
from .lightning_gpu_qubit_ops import ( | ||
LightningGPU_StateVectorCudaManaged_C128, | ||
LightningGPU_StateVectorCudaManaged_C64, | ||
LightningGPU_StateVectorCudaRaw_C128, | ||
LightningGPU_StateVectorCudaRaw_C64, | ||
AdjointJacobianGPU_C128, | ||
AdjointJacobianGPU_C64, | ||
ObsStructGPU_C128, | ||
ObsStructGPU_C64, | ||
OpsStructGPU_C128, | ||
OpsStructGPU_C64, | ||
device_reset, | ||
is_gpu_supported, | ||
get_gpu_arch, | ||
DevPool, | ||
) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!