File size: 236 Bytes
7be134c
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import torch
from . import _quantization_gptq_8c16cd6
ops = torch.ops._quantization_gptq_8c16cd6

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