Commit dd75039
Han Wang
fix(ci): add install prefix to LD_LIBRARY_PATH for gen scripts
The custom op .so (libdeepmd_op_pt.so) has undefined symbols for
compute kernels (tabulate_fusion_se_t_tebd_cpu etc.) that live in
libdeepmd.so. Without dp_test/lib/ in LD_LIBRARY_PATH, dlopen
succeeds (lazy binding) but torch.jit.script fails when it tries
to resolve the symbols.1 parent dd0b96a commit dd75039
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments