Commit 79c84b4
fix(paddle): Revert strict=True to strict=False in zip() calls
- Reverted all zip() strict=True back to strict=False due to Paddle JIT incompatibility
- Affected files: deep_eval.py, se_a.py, transform_output.py, dataloader.py, nlist.py
- Fixes TypeError: convert_zip() got an unexpected keyword argument 'strict'
The strict parameter is not supported in Paddle's JIT-compiled code, causing test failures in test_dpa2.py and potentially other tests. Reverting to strict=False resolves this compatibility issue.
Co-authored-by: njzjz <9496702+njzjz@users.noreply.github.com>1 parent 734734a commit 79c84b4
5 files changed
Lines changed: 5 additions & 5 deletions
File tree
- deepmd/pd
- infer
- model
- descriptor
- model
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
388 | | - | |
| 388 | + | |
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
| 772 | + | |
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
| |||
0 commit comments