def METHOD_NAME(self, name):
    quantization_config = self.quantization_config
    if quantization_config is None:
        raise RuntimeError("quantization_config must be set for FP8 weight")
    return quantization_config.get(name)