{"record":{"id":"6301b76776a0e62e","repo":"2noise/ChatTTS","slug":"currently-the-pt-format-is-not-supported-for-mi","errorCode":null,"errorMessage":"Currently, the 'pt' format is not supported for Mixtral. Please use the 'safetensors' format instead. ","messagePattern":"Currently, the 'pt' format is not supported for Mixtral\\. Please use the 'safetensors' format instead\\. ","errorType":"validation","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"ChatTTS/model/velocity/configs.py","lineNumber":144,"sourceCode":"                f\"Unknown load format: {self.load_format}. Must be one of \"\n                \"'auto', 'pt', 'safetensors', 'npcache', or 'dummy'.\"\n            )\n        if is_hip() and load_format in rocm_not_supported_load_format:\n            rocm_supported_load_format = [\n                f\n                for f in supported_load_format\n                if (f not in rocm_not_supported_load_format)\n            ]\n            raise ValueError(\n                f\"load format '{load_format}' is not supported in ROCm. \"\n                f\"Supported load format are \"\n                f\"{rocm_supported_load_format}\"\n            )\n\n        # TODO: Remove this check once HF updates the pt weights of Mixtral.\n        architectures = getattr(self.hf_config, \"architectures\", [])\n        if \"MixtralForCausalLM\" in architectures and load_format == \"pt\":\n            raise ValueError(\n                \"Currently, the 'pt' format is not supported for Mixtral. \"\n                \"Please use the 'safetensors' format instead. \"\n            )\n        self.load_format = load_format\n\n    def _verify_tokenizer_mode(self) -> None:\n        tokenizer_mode = self.tokenizer_mode.lower()\n        if tokenizer_mode not in [\"auto\", \"slow\"]:\n            raise ValueError(\n                f\"Unknown tokenizer mode: {self.tokenizer_mode}. Must be \"\n                \"either 'auto' or 'slow'.\"\n            )\n        self.tokenizer_mode = tokenizer_mode\n\n    def _verify_quantization(self) -> None:\n        supported_quantization = [\"awq\", \"gptq\", \"squeezellm\"]\n        rocm_not_supported_quantization = [\"awq\"]\n        if self.quantization is not None:","sourceCodeStart":126,"sourceCodeEnd":162,"githubUrl":"https://github.com/2noise/ChatTTS/blob/77b89ee281cd479f5b1a787ada330dc975ca1f2a/ChatTTS/model/velocity/configs.py#L126-L162","documentation":"Error \"Currently, the 'pt' format is not supported for Mixtral. Please use the 'safetensors' format instead. \" thrown in 2noise/ChatTTS.","triggerScenarios":"Thrown at ChatTTS/model/velocity/configs.py:144 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"77b89ee281cd479f5b1a787ada330dc975ca1f2a","analyzedAt":"2026-08-26T17:48:24.233Z","schemaVersion":2},"datasetVersion":"2026-08-26T21:11:00.512Z"}