File size: 193 Bytes
d62e31c
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import torch
ops = torch.ops._fp8_fbgemm_5f3c84f_dirty

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