NVIDIA / NVIDIA/cuQuantum

Releasing `qsim_mgpu` source on GitHub instead of only binaries the Docker container

Open
#106 2 comments 0 reactions 2 assignees View on GitHub

@mtjrider is already working on this.

Since Feb 12, 2024.

enhancement question
Dominant language
Jupyter Notebook
Stars
499
Forks
102
PR merge metrics
No merged PRs in 30d

Description

Dear cuQuantum developers,

After long struggles in trying to get qsim to compile with multi-GPU support, I found out that one cannot accomplish this using stock qsim. IMO this wasn't very clear from the documentation.

Ultimately, I found out by running the NVIDIA cuQuantum Appliance Docker container and checking the git diff --no-index between the original qsim_simulator.py and the ~/conda/envs/cuquantum-23.10/lib/python3.10/site-packages/qsimcirq/qsim_circuit.py file in the Docker container.

It turns out that this changed version uses a module qsim_mgpu which appears to be unavailable outside the said Docker container.

Unfortunately, my current software stack cannot integrate Docker containers (we need full control over the entire environment), yet the multi-GPU support offered by qsim_mgpu is essential for our work. We would greatly benefit from the ability to compile qsim_mgpu independently.

Could you please consider releasing the modified qsim code/fork with qsim_mgpu for standalone use? This would be immensely beneficial for us and potentially for others in the community facing similar challenges.

If there are reasons for keeping this code exclusive to the Docker environment, understanding them could help us explore alternative solutions.

Tagging the core maintainers: @leofang @ahehn-nv @mtjrider @Takuma-Yamaguchi

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.