Skip to content

Commit

Permalink
Merge pull request #588 from qiboteam/rmq2cupy
Browse files Browse the repository at this point in the history
testing distributed circuits with cupy
  • Loading branch information
scarrazza committed May 23, 2022
2 parents 16ffea1 + 076037c commit b13c7c6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ jobs:
pip install .[tests,docs]
pip install git+https://github.com/qiboteam/qibojit
pip install tensorflow
- name: Install cupy on linux
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin
sudo mv cuda-ubuntu2004.pin /etc/apt/preferences.d/cuda-repository-pin-600
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
sudo apt-get update
sudo apt install cuda-11-6
pip install cupy-cuda116
- name: Test with pylint
run: |
pip install pylint
Expand Down

0 comments on commit b13c7c6

Please sign in to comment.