Enable multi-GPU for dynamics target in Python#2509
Merged
1tnguyen merged 27 commits intoNVIDIA:mainfrom Jan 24, 2025
Merged
Conversation
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
sacpis
reviewed
Jan 20, 2025
sacpis
reviewed
Jan 20, 2025
sacpis
reviewed
Jan 20, 2025
sacpis
reviewed
Jan 20, 2025
sacpis
reviewed
Jan 20, 2025
sacpis
reviewed
Jan 20, 2025
sacpis
reviewed
Jan 20, 2025
sacpis
reviewed
Jan 20, 2025
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
sacpis
approved these changes
Jan 20, 2025
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
annagrin
pushed a commit
to annagrin/cuda-quantum
that referenced
this pull request
Jun 17, 2025
* [WIP] dynamics mgmn Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Fix a copy and paste error Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Handle initial state enum Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Update initial state enum example Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Add uniform state init Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Add uniform state init Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Update examples Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Code format Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Spelling Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Add more MPI API to CUDAQ comm plugin interface Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Refactor for dependency isolation Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Code format Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * More isolation Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * connect cuda-q mpi plugin to cudensitymat Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Fix for CI Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Code format: python Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Support initial state enum for non-dynamics case and add test Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Code tidy up and add docs Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Add MPI tests Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Add a link to the example directory Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Fix a typo Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> * Address CR: docs and comments edits; refactor to reduce code duplicate Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> --------- Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com> Signed-off-by: Anna Gringauze <agringauze@nvidia.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Add initial state
enum(zero state or uniformly distributed state) as an input toevolve.Add support for cudensitymat multi-gpu: properly set the MPI Comm in the context and set the state data according to cudm state's
local_info(slice offsets and dimensions).Make cudaq backend shared lib compatible with cudm distributed interface: delegate necessary MPI calls to cuda-q MPI plugin interface.
Add tests and docs.