-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gpu linux tests in github actions
Summary: Pull Request: #5293 Migrate circleci gpu test to github actions the rocm version of torch was being installed earlier: {F1644370316} Now torch should be the cuda version Differential Revision: D57598325
- Loading branch information
1 parent
219404e
commit 5f90fcc
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: "Install GPU Dependencies" | ||
env: | ||
DISTRO: "ubuntu2004" | ||
ARCH: "x86_64" | ||
runs: | ||
using: composite | ||
steps: | ||
- name: Install GPU Dependencies | ||
shell: bash | ||
run: | | ||
uname -r | ||
# https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#network-repo-installation-for-ubuntu | ||
# wget https://developer.download.nvidia.com/compute/cuda/repos/"$DISTRO"/"$ARCH"/cuda-keyring_1.1-1_all.deb | ||
# sudo dpkg -i cuda-keyring_1.1-1_all.deb | ||
|
||
sudo apt-get update | ||
sudo apt-get install cuda-toolkit | ||
sudo apt-get install nvidia-gds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters