From a9a289c9dd550d3b1bd86ca74b6c7882890a0e91 Mon Sep 17 00:00:00 2001 From: "Di Xu (SWE)" Date: Thu, 23 Jan 2025 21:32:33 -0800 Subject: [PATCH] Add more context for buck users on the coreml pte2 quantization errors (#7891) Summary: Add more context for buck users on the coreml pte2 quantization errors - See D68522589 for details and context Reviewed By: cccclai Differential Revision: D68569845 --- extension/llm/export/partitioner_lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/llm/export/partitioner_lib.py b/extension/llm/export/partitioner_lib.py index 74a521a61b5..76e8c357119 100644 --- a/extension/llm/export/partitioner_lib.py +++ b/extension/llm/export/partitioner_lib.py @@ -82,6 +82,7 @@ def get_coreml_partitioner( except ImportError: raise ImportError( "Please install the CoreML backend follwing https://pytorch.org/executorch/main/build-run-coreml.html" + + "; for buck users, please add example dependancies: //executorch/backends/apple/coreml:backend, and etc" ) def _validate_ios_version() -> None: