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