-
Notifications
You must be signed in to change notification settings - Fork 294
Enable multi-GPU for dynamics target in Python #2509
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
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. |
|
CUDA Quantum Docs Bot: A preview of the documentation can be found here. |
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.
LGTM. Requesting a few changes, if possible. Thanks @1tnguyen.
Signed-off-by: Thien Nguyen <thiennguyen@nvidia.com>
|
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. |
* [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>
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.