File tree 1 file changed +4
-4
lines changed
.github/actions/inductor-test
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Test build/test linux gpu
2
-
3
2
on :
4
3
push :
5
4
branches : [ master, main ]
9
8
description : ' Triton branch or commit to pin'
10
9
default : ' main'
11
10
required : false
11
+ type : string
12
12
pytorch_pin :
13
13
description : ' PyTorch branch or commit to pin'
14
14
default : ' main'
15
15
required : false
16
+ type : string
16
17
17
18
jobs :
18
19
build-test :
@@ -22,15 +23,14 @@ jobs:
22
23
gpu-arch-type : cuda
23
24
gpu-arch-version : " 12.1"
24
25
timeout : 360
25
- # docker-image: nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
26
26
script : |
27
27
set -x
28
28
pushd ..
29
29
echo "Installing triton"
30
30
git clone https://github.com/triton-lang/triton.git
31
31
pushd triton
32
32
echo "Checking out triton branch or commit"
33
- git checkout ${{ inputs.triton_pin || 'main' }}
33
+ git checkout ${{ github.event. inputs.triton_pin || 'main' }}
34
34
sudo yum install -y zlib-devel
35
35
echo "Installing build-time dependencies"
36
36
pip install ninja==1.11.1.1 cmake==3.30.2 wheel==0.44.0
58
58
git clone https://github.com/pytorch/pytorch.git
59
59
pushd pytorch
60
60
echo "Checking out pytorch branch or commit"
61
- git checkout ${{ inputs.pytorch_pin || 'main' }}
61
+ git checkout ${{ github.event. inputs.pytorch_pin || 'main' }}
62
62
git submodule sync
63
63
git submodule update --init --recursive
64
64
pip install -r requirements.txt
You can’t perform that action at this time.
0 commit comments