Kernels
File size: 236 Bytes
172e232
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import torch
from . import _flash_attn2_5dab8ba_dirty
ops = torch.ops._flash_attn2_5dab8ba_dirty

def add_op_namespace_prefix(op_name: str):
    """
    Prefix op by namespace.
    """
    return f"_flash_attn2_5dab8ba_dirty::{op_name}"