Require paddlepaddle>=3.0.0 with new `*.pdiparams (#13552)

This commit is contained in:
Glenn Jocher authored and GitHub committed 2025-03-27 15:38:14 +01:00
1 parent 324bcfd6d7
commit 3fee72b5e8
2 files changed
+19 -7

No files matched your search

+1 -1
View File
@@ -510,7 +510,7 @@ def export_paddle(model, im, file, metadata, prefix=colorstr("PaddlePaddle:")):
$ pip install paddlepaddle x2paddle
```
"""
check_requirements(("paddlepaddle<3.0.0", "x2paddle"))
check_requirements(("paddlepaddle>=3.0.0", "x2paddle"))
import x2paddle
from x2paddle.convert import pytorch2paddle