File tree Expand file tree Collapse file tree 6 files changed +13
-64
lines changed Expand file tree Collapse file tree 6 files changed +13
-64
lines changed Original file line number Diff line number Diff line change 29
29
nvidia-smi
30
30
- name : Install Tritonbench
31
31
run : |
32
- # todo: remove this when the new docker rolls out
32
+ # speedup install and skip compile by reusing the docker .so files
33
33
mkdir -p /workspace/tritonbench/.data
34
- # speedup install and skip compile
35
34
ln -s /workspace/tritonbench/.data .
36
- . "${SETUP_SCRIPT}"
37
- python install.py --colfax --tk --hstu
38
35
- name : Test Tritonbench operators on H100 GPU
39
36
run : |
40
37
bash ./.ci/tritonbench/test-gpu.sh
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ def setup_hip(args: argparse.Namespace):
82
82
# We have to disable all third-parties that donot support hip/rocm
83
83
args .all = False
84
84
args .liger = True
85
- args .hstu = True
86
85
87
86
88
87
if __name__ == "__main__" :
@@ -102,7 +101,6 @@ def setup_hip(args: argparse.Namespace):
102
101
parser .add_argument (
103
102
"--fa3" , action = "store_true" , help = "Install optional flash_attention 3 kernels"
104
103
)
105
- parser .add_argument ("--hstu" , action = "store_true" , help = "Install HSTU." )
106
104
parser .add_argument ("--jax" , action = "store_true" , help = "Install jax nightly" )
107
105
parser .add_argument ("--tk" , action = "store_true" , help = "Install ThunderKittens" )
108
106
parser .add_argument ("--liger" , action = "store_true" , help = "Install Liger-kernel" )
@@ -151,11 +149,6 @@ def setup_hip(args: argparse.Namespace):
151
149
from tools .xformers .install import install_xformers
152
150
153
151
install_xformers ()
154
- if args .hstu or args .all :
155
- logger .info ("[tritonbench] installing hstu..." )
156
- from tools .hstu .install import install_hstu
157
-
158
- install_hstu ()
159
152
logger .info ("[tritonbench] installation complete!" )
160
153
# run tests to check installation
161
154
if args .test :
Original file line number Diff line number Diff line change 18
18
fbcode_skip_file_path = "fb/skip_tests_h100_fbcode.yaml"
19
19
SKIP_FILE = importlib .resources .files (__package__ ).joinpath (fbcode_skip_file_path )
20
20
else :
21
- SKIP_FILE_NAME = "skip_tests_h100_pytorch.yaml"
22
- try :
23
- # test if it is Triton main branch
24
- import triton .tools .experimental_descriptor # @manual # noqa: F401
21
+ import triton # @manual
25
22
23
+ if "site-packages" in triton .__file__ :
24
+ SKIP_FILE_NAME = "skip_tests_h100_pytorch.yaml"
25
+ else :
26
26
SKIP_FILE_NAME = "skip_tests_h100_triton_main.yaml"
27
- except ModuleNotFoundError :
28
- pass
29
27
import os
30
28
31
29
SKIP_FILE = os .path .abspath (os .path .join (os .path .dirname (__file__ ), SKIP_FILE_NAME ))
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ bf16xint16_gemm:
10
10
flash_attention :
11
11
# thunderkittens cannot handle the default input shapes
12
12
- tk
13
+ # triton_op_flash_v2 will segfault on triton-pytorch
14
+ - triton_op_flash_v2
13
15
# triton_tutorial_* kernels require triton-main
14
16
- triton_tutorial_flash_v2
15
17
- triton_tutorial_flash_v2_opt
@@ -42,5 +44,11 @@ jagged_mean:
42
44
jagged_softmax :
43
45
jagged_sum :
44
46
ragged_attention :
47
+ # ../../../lib/Tools/LinearLayout.cpp:565: LinearLayout
48
+ # mlir::triton::LinearLayout::reshapeOuts(ArrayRef<std::pair<StringAttr, int32_t>>) const:
49
+ # Assertion `getTotalOutDimSize() == std::accumulate( newOutDims.begin(), newOutDims.end(),
50
+ # 1, [&](int32_t acc, auto &outDim) { return acc * outDim.second; })' failed.
51
+ - hstu_triton_ragged_attention
52
+ # presistent kernel is not ready for OSS
45
53
- hstu_triton_ragged_attention_persistent
46
54
test_op :
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments