Skip to content

Commit 4eb6547

Browse files
committed
Fix hstu
1 parent a6a8aed commit 4eb6547

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

.github/workflows/pr.yaml

+3-5
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ jobs:
1919
steps:
2020
- name: Checkout Tritonbench
2121
uses: actions/checkout@v3
22-
- name: Tune Nvidia GPU
23-
run: |
24-
sudo nvidia-smi -pm 1
25-
sudo ldconfig
26-
nvidia-smi
22+
with:
23+
# no need to checkout submodules recursively
24+
submodules: true
2725
- name: Test Tritonbench operators
2826
run: |
2927
bash ./.ci/tritonbench/test-operators.sh

tritonbench/operators/ragged_attention/hstu.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
try:
66
# Internal Import
7-
from hammer.generative_recommenders.ops.triton.triton_ragged_hstu_attention import (
7+
from hammer.oss.generative_recommenders.ops.triton.triton_ragged_hstu_attention import (
88
_ragged_hstu_attn_fwd,
99
_ragged_hstu_attn_fwd_persistent,
1010
)

tritonbench/operators/sum/operator.py

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
import os
55
from typing import Callable, Generator, List, Optional, Tuple
66

7-
import matplotlib.pyplot as plt
8-
97
import torch
108
import triton
119
import triton.language as tl

0 commit comments

Comments
 (0)