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