File size: 207 Bytes
9c1f92e
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import torch
ops = torch.ops._triton_layer_norm_4dc3a9b_dirty

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