Skip to content

Commit

Permalink
Fix the OSS CUDA GPG key CI test failure (pytorch#1089)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: pytorch#1089

Check https://forums.developer.nvidia.com/t/notice-cuda-linux-repository-key-rotation/212772

This Diff fixes the OSS test failure in https://github.com/pytorch/FBGEMM/runs/6242695168?check_suite_focus=true

Reviewed By: brad-mengchi

Differential Revision: D36048995

fbshipit-source-id: 13fd7fc24c41f4042392849b22e29b8659b782b8
  • Loading branch information
jianyuh authored and facebook-github-bot committed May 1, 2022
1 parent 4b764bc commit 5f1b8df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/fbgemmci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ jobs:
run: |
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 apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub
# https://forums.developer.nvidia.com/t/notice-cuda-linux-repository-key-rotation/212772
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb
sudo dpkg -i cuda-keyring_1.0-1_all.deb
# sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /"
sudo apt-get update
sudo apt-get -y install cuda-minimal-build-11-3 cuda-nvrtc-dev-11-3 cuda-nvtx-11-3 cuda-libraries-dev-11-3
Expand Down

0 comments on commit 5f1b8df

Please sign in to comment.