Skip to content

Commit

Permalink
Update context_flashattention_nopad.py To fix triton 2.0.0 import err…
Browse files Browse the repository at this point in the history
…or. (#364)
  • Loading branch information
hiworldwzj committed Mar 19, 2024
1 parent c96e5d5 commit 56940dd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ def context_attention_fwd(q, k, v, o, b_start_loc, b_seq_len, max_input_len):
num_stages=1,
)
return

context_attention_fwd_no_prompt_cache = None

else:
raise Exception("error triton version!")
Expand Down

0 comments on commit 56940dd

Please sign in to comment.