Skip to content

Commit

Permalink
clean up more
Browse files Browse the repository at this point in the history
  • Loading branch information
micmelesse committed Oct 26, 2024
1 parent 9411609 commit a9c2ab7
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 2,272 deletions.
1 change: 0 additions & 1 deletion flash_attn/flash_attn_triton_amd/bwd_prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import triton
import triton.language as tl
from .utils import get_shape_from_layout, get_strides_from_layout, DEBUG
DEBUG = False

@triton.jit
def _bwd_preprocess_use_o(
Expand Down
1 change: 0 additions & 1 deletion flash_attn/flash_attn_triton_amd/bwd_ref.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import torch
import math
from .utils import DEBUG
DEBUG = False

def attention_backward_core_ref_impl(
do, q, k, v, o, softmax_lse, sm_scale, causal, use_exp2
Expand Down
661 changes: 0 additions & 661 deletions flash_attn/flash_attn_triton_amd/fwd_old.py

This file was deleted.

1 change: 0 additions & 1 deletion flash_attn/flash_attn_triton_amd/fwd_prefill.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import triton
import triton.language as tl
from .utils import get_shape_from_layout, get_strides_from_layout, is_cdna, is_rdna, DEBUG, AUTOTUNE
DEBUG = False

@triton.jit
def cdiv_fn(x, y):
Expand Down
1 change: 0 additions & 1 deletion flash_attn/flash_attn_triton_amd/fwd_ref.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import torch
import math
from .utils import DEBUG
DEBUG = False

def attention_forward_core_ref_impl(q, k, v, sm_scale, causal, use_exp2):
if DEBUG:
Expand Down
Loading

0 comments on commit a9c2ab7

Please sign in to comment.