-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (36 loc) · 1.02 KB
/
_linux-test-h100.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: linux-test-h100
on:
workflow_call:
inputs:
conda_env:
required: True
type: string
description: |
Conda environment to activate when testing Triton
jobs:
linux-test-h100:
if: github.repository_owner == 'pytorch-labs'
runs-on: [gcp-h100-runner]
timeout-minutes: 240
environment: docker-s3-upload
env:
SETUP_SCRIPT: "/workspace/setup_instance.sh"
CONDA_ENV: ${{ inputs.conda_env }}
steps:
- name: Checkout Tritonbench
uses: actions/checkout@v3
with:
submodules: recursive
- name: Tune Nvidia GPU
run: |
sudo nvidia-smi -pm 1
sudo ldconfig
nvidia-smi
- name: Install Tritonbench
run: |
# speedup install and skip compile by reusing the docker .so files
mkdir -p /workspace/tritonbench/.data
ln -s /workspace/tritonbench/.data .
- name: Test Tritonbench operators on H100 GPU
run: |
bash ./.ci/tritonbench/test-gpu.sh