Skip to content

Commit dc12bd6

Browse files
committed
Updated translate requirements
1 parent 3d00319 commit dc12bd6

File tree

4 files changed

+566
-172
lines changed

4 files changed

+566
-172
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,11 @@ dependencies = [
101101
# Requirements for machine translations
102102
"translate" = ["torch~=2.3", "argostranslate~=1.9.6"]
103103

104+
"translate-cpu" = ["torch==2.3.1+cpu", "argostranslate~=1.9.6"]
105+
104106
[tool.uv]
105107
default-groups = ["dev", "docs"]
108+
find-links = ["https://download.pytorch.org/whl/cpu/torch_stable.html"]
106109

107110
[tool.mypy]
108111
plugins = ["mypy_django_plugin.main"]

0 commit comments

Comments
 (0)