2noise/ChatTTS · error · ValueError
{self.quantization} quantization is currently not supported
Error message
{self.quantization} quantization is currently not supported in ROCm. What it means
Error "{self.quantization} quantization is currently not supported in ROCm." thrown in 2noise/ChatTTS.
Source
Thrown at ChatTTS/model/velocity/configs.py:186
hf_quant_method = str(hf_quant_config["quant_method"]).lower()
if self.quantization is None:
self.quantization = hf_quant_method
elif self.quantization != hf_quant_method:
raise ValueError(
"Quantization method specified in the model config "
f"({hf_quant_method}) does not match the quantization "
f"method specified in the `quantization` argument "
f"({self.quantization})."
)
if self.quantization is not None:
if self.quantization not in supported_quantization:
raise ValueError(
f"Unknown quantization method: {self.quantization}. Must "
f"be one of {supported_quantization}."
)
if is_hip() and self.quantization in rocm_not_supported_quantization:
raise ValueError(
f"{self.quantization} quantization is currently not supported "
f"in ROCm."
)
logger.warning(
f"{self.quantization} quantization is not fully "
"optimized yet. The speed can be slower than "
"non-quantized models."
)
def _verify_cuda_graph(self) -> None:
if self.max_context_len_to_capture is None:
self.max_context_len_to_capture = self.max_model_len
self.max_context_len_to_capture = min(
self.max_context_len_to_capture, self.max_model_len
)
def verify_with_parallel_config(
self,View on GitHub (pinned to 77b89ee281)
When it happens
Trigger: Thrown at ChatTTS/model/velocity/configs.py:186 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of 2noise/ChatTTS@77b89ee281 (2026-08-26).
Data as JSON: /api/errors/f6e8f5ca3cc9a6e0.
Report an issue: GitHub.