danieldk's picture
danieldk HF Staff
Build
331b7e6
raw
history blame
248 Bytes
import torch
from . import _paged_attention_pervvqmod6pi4
ops = torch.ops._paged_attention_pervvqmod6pi4
def add_op_namespace_prefix(op_name: str):
"""
Prefix op by namespace.
"""
return f"_paged_attention_pervvqmod6pi4::{op_name}"