Skip to content

Commit

Permalink
Remove dependency on tensorflow-addons (#12514)
Browse files Browse the repository at this point in the history
Remove dependency on tensorflow-addons

Copy tests for crf and metrics
  • Loading branch information
d61h6k4 committed Jun 19, 2023
1 parent a72376a commit 59639bb
Show file tree
Hide file tree
Showing 8 changed files with 1,019 additions and 94 deletions.
1 change: 1 addition & 0 deletions changelog/12514.improvement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove tensorflow-addons from dependencies as it is now deprecated.
96 changes: 21 additions & 75 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,6 @@ optional = true
version = "<1.10.10"
optional = true

[[tool.poetry.dependencies.tensorflow-addons]]
version = ">=0.18,<0.20"
markers = "sys_platform != 'linux' or (platform_machine != 'arm64' and platform_machine != 'aarch64')"

[[tool.poetry.dependencies.tensorflow-addons]]
version = "0.19.0"
markers = "sys_platform == 'linux' and (platform_machine == 'arm64' or platform_machine == 'aarch64')"

[tool.poetry.extras]
spacy = [ "spacy",]
jieba = [ "jieba",]
Expand Down
Loading

0 comments on commit 59639bb

Please sign in to comment.