Commit 6f42c37
[Deterministic] Move paddle version batch invariant pkg to Fastdeploy (#4763)
* Move batch invariant pkg to Fastdeploy
* fix problem and pre-commit
* move test
* Change testcase to FD style
* Add testcase for log_softmax
* Add testcase for mean
* Add testcase for addmm
* fix pre-commit
* API check v0.9
* move to layers and add comment about log_softmax
* Update fastdeploy/model_executor/layers/batch_invariant_ops/batch_invariant_ops.py
存在于原版代码注释中的版本控制遗留的内容,确实应该去除
Co-authored-by: Copilot <[email protected]>
* Update tests/batch_invariant/test_batch_invariance_op_mean.py
Co-authored-by: Copilot <[email protected]>
* Update tests/batch_invariant/test_batch_invariance_op_logsoftmax.py
Co-authored-by: Copilot <[email protected]>
* Update fastdeploy/model_executor/layers/batch_invariant_ops/batch_invariant_ops.py
Co-authored-by: Copilot <[email protected]>
* change comment after copilot fix
* fix bug about addmm
* avoid global effect by enable_torch_proxy
---------
Co-authored-by: Copilot <[email protected]>
Co-authored-by: YuBaoku <[email protected]>1 parent 70ec1e1 commit 6f42c37
File tree
6 files changed
+943
-0
lines changed- fastdeploy/model_executor/layers/batch_invariant_ops
- tests/batch_invariant
6 files changed
+943
-0
lines changedLines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments