Commit c7948a7
Update llama cmake for custom ops (#10176)
Fix #10166
target_link_options_shared_lib has different behavior for macos and
other platforms; seems like whole-archive was causing issues.
Test Plan
`sh .ci/scripts/test_llama_torchao_lowbit.sh`
https://github.com/pytorch/executorch/blob/main/examples/models/llama/README.md#running-with-low-bit-kernels
(cherry picked from commit 5809428)1 parent 9176b12 commit c7948a7
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
0 commit comments