Skip RoFormer ONNX test if rjieba not installed (#16981)

* Skip RoFormer ONNX test if rjieba not installed

* Update deps table

* Skip RoFormer serialization test

* Fix RoFormer vocab

* Add rjieba to CircleCI
This commit is contained in:
lewtun
2022-05-04 10:04:10 +02:00
committed by GitHub
parent db034660fb
commit 4bb1d0ec84
6 changed files with 13 additions and 5 deletions

View File

@@ -140,6 +140,7 @@ _deps = [
"ray[tune]",
"regex!=2019.12.17",
"requests",
"rjieba",
"rouge-score",
"sacrebleu>=1.4.12,<2.0.0",
"sacremoses",
@@ -288,7 +289,8 @@ extras["testing"] = (
"nltk",
"GitPython",
"hf-doc-builder",
'sacremoses'
"sacremoses",
"rjieba"
)
+ extras["retrieval"]
+ extras["modelcreation"]