Skip to content

Commit d88bcad

Browse files
YifanShenSZcccclai
andauthored
Fix pyre error 3
Co-authored-by: cccclai <[email protected]>
1 parent 9a7cd6d commit d88bcad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/llm/export/partitioner_lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_mps_partitioner(use_kv_cache: bool = False):
5555
return MPSPartitioner(compile_specs)
5656

5757

58-
def get_coreml_partitioner(use_kv_cache: bool = False, pt2e_quantize: str = None):
58+
def get_coreml_partitioner(use_kv_cache: bool = False, pt2e_quantize: Optional[str] = None):
5959
assert (
6060
use_kv_cache is True
6161
), "CoreML backend currently only supports static shape and use_kv_cache=True is the only way to support it at the moment"

0 commit comments

Comments
 (0)