You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add rpath to libcustom_ops_aot_lib.dylib and libquantized_ops_aot_lib… (#6499)
* Add rpath to libcustom_ops_aot_lib.dylib and libquantized_ops_aot_lib.dylib
Summary: As titled. This issue is from https://github.com/pytorch/torchchat/actions/runs/11523122333/job/32080481174?pr=1312
In that job when we try to load `libcustom_ops_aot_lib.dylib` into python,
it complains that it can't find `_portable_lib.cpython-310-darwin.so`.
This PR is trying to fix it by adding the relative path to
`_portable_lib.cpython-310-darwin.so` into `LC_RPATH`.
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
* Add smoke test
* Lint
0 commit comments