danieldk's picture
danieldk HF Staff
Build uploaded using `kernels`.
10e1e04 verified
raw
history blame contribute delete
260 Bytes
import torch
from . import _quantization_bitsandbytes_e6f32d1
ops = torch.ops._quantization_bitsandbytes_e6f32d1
def add_op_namespace_prefix(op_name: str):
"""
Prefix op by namespace.
"""
return f"_quantization_bitsandbytes_e6f32d1::{op_name}"