Skip to content

Commit

Permalink
Fix pyre issue for diff train
Browse files Browse the repository at this point in the history
Differential Revision: D67315650

Pull Request resolved: pytorch#7336
  • Loading branch information
iseeyuan authored Dec 17, 2024
1 parent 0fb2ccf commit 9d1a310
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extension/llm/export/partitioner_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ def _validate_ios_version() -> None:
# On iPhone 15 Pro, CPU decode model is over 8x faster than GPU for stories110M,
# so default to CPU_ONLY
coreml_compute_units = "cpu_only"
# pyre-ignore
coreml_compute_units = {
"cpu_only": ct.ComputeUnit.CPU_ONLY,
"cpu_and_ne": ct.ComputeUnit.CPU_AND_NE,
Expand Down

0 comments on commit 9d1a310

Please sign in to comment.