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 fec964b
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 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 @@ -28,15 +28,15 @@ jobs:
include:
- 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-version: 3.10
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
Expand Down Expand Up @@ -98,8 +98,8 @@ jobs:
strategy:
matrix:
os: [linux.4xlarge.nvidia.gpu]
python-version: [3.8]
cuda-tag: ["cu11"]
python-version: [3.10]
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 fec964b

Please sign in to comment.