Commit dd0b96a
Han Wang
fix(ci): install custom op .so to deepmd/lib before gen scripts
The gen scripts import deepmd.pt which loads custom ops from
deepmd/lib/. Without the .so installed there, the custom op
(tabulate_fusion_se_t_tebd) is unavailable and .pth export fails
for DPA2/DPA3 models, causing C++ tests to fail on missing files.
Fix: copy libdeepmd_op_pt.so from the build directory to the
deepmd package's lib/ directory after cmake --build, before
running gen scripts.1 parent 460ccf7 commit dd0b96a
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
38 | 48 | | |
39 | 49 | | |
40 | 50 | | |
| |||
0 commit comments