Provide GPU support in released qsimcirq wheel

Aperta
#430 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@mhucka ci sta già lavorando.

Dal 30/7/2025.

  • #479 di @95-martin-orion — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

a: gpu P2

Currently, qsimcirq users who want to run on GPU must compile the code locally, as the wheels are built on Github Actions runners which do not have the CUDA SDK. Compared to the CPU workflow of pip install qsimcirq, this is incovenient; it would be preferable if GPU support was built into the released wheels.

In order to provide this support, we need to investigate the following options (listed from most to least preferable):

  1. Create an image with the CUDA SDK and use it in the release.
    • Minimizes the impact to our release speed
    • Still need to determine if this is possible in Github Actions
  2. Install the CUDA SDK on the Github Actions runner during each release.
    • Definitely possible in Github Actions (an action exists for installing the SDK)
    • May increase release (not CI) runtime by 10+ minutes
  3. Establish a secondary workflow for releasing the GPU wheels.
    • Allows us to use our own devices with the CUDA SDK pre-installed
    • Increases maintenance costs, and a single wheel would be preferable
Lingua principale
C++
Stelle
702
Fork
219
Merge medio
1g 2h
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di quantumlib/qsim

Tutte le issue di quantumlib/qsim

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.