Skip to content

Commit

Permalink
enable unit test gpu (#2228)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #2228

# context

Differential Revision: D51095381
  • Loading branch information
TroyGarden authored and facebook-github-bot committed Jul 13, 2024
1 parent 3b39ad3 commit 9558fcf
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/unittest_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ name: Unit Test CI

on:
# TODO: re-enable when GPU unit tests are working
# push:
# paths-ignore:
# - "docs/*"
# - "third_party/*"
# - .gitignore
# - "*.md"
# pull_request:
# paths-ignore:
# - "docs/*"
# - "third_party/*"
# - .gitignore
# - "*.md"
push:
paths-ignore:
- "docs/*"
- "third_party/*"
- .gitignore
- "*.md"
pull_request:
paths-ignore:
- "docs/*"
- "third_party/*"
- .gitignore
- "*.md"
workflow_dispatch:

jobs:
Expand All @@ -29,19 +29,19 @@ jobs:
- os: linux.2xlarge
# ideally we run on 3.9 and 3.10 as well, however we are limited in resources.
python-version: 3.8
python-tag: "py38"
cuda-tag: "cu11"
python-tag: "py39"
cuda-tag: "cu12"
steps:
# Checkout the repository to the GitHub Actions runner
- name: Check ldd --version
run: ldd --version
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Update pip
run: |
sudo yum update -y
sudo yum -y install git python3-pip
sudo pip3 install --upgrade pip
# sudo pip3 install --upgrade pip
- name: Setup conda
run: |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
matrix:
os: [linux.4xlarge.nvidia.gpu]
python-version: [3.8]
cuda-tag: ["cu11"]
cuda-tag: ["cu12"]
needs: build_on_cpu
# the glibc version should match the version of the one we used to build the binary
# for this case, it's 2.26
Expand Down

0 comments on commit 9558fcf

Please sign in to comment.