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

Create MPS Simulation State from Tensors #1711

Merged

Conversation

1tnguyen
Copy link
Collaborator

@1tnguyen 1tnguyen commented May 24, 2024

Description

Ability to do state::from_data with a list of MPS tensors (could be host or device memory)

  • Tensors retrieved from the MPS simulator backend.

  • Externally-provided tensors. For Python, these could be numpy or cupy ndarrays.

@1tnguyen 1tnguyen force-pushed the tnguyen/state_from_tensors branch from de6fae4 to ab18212 Compare May 27, 2024 03:07
github-actions bot pushed a commit that referenced this pull request May 27, 2024
@1tnguyen 1tnguyen marked this pull request as ready for review May 27, 2024 07:33
@1tnguyen 1tnguyen changed the title [WIP] Create MPS Simulation State from Tensors Create MPS Simulation State from Tensors May 27, 2024
github-actions bot pushed a commit that referenced this pull request May 27, 2024
Copy link
Collaborator

@amccaskey amccaskey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@1tnguyen 1tnguyen merged commit b1398d7 into NVIDIA:experimental/stateHandling May 28, 2024
123 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants