Ver Fonte

doc: Add context for why we add an explicit pytorch source

ditsuke há 1 ano atrás
pai
commit
1e920018d3
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      pyproject.toml

+ 3 - 0
pyproject.toml

@@ -26,6 +26,9 @@ torch = { version = "^2.2.0", source = "pytorch" }
 [tool.poetry.dev-dependencies]
 pytest = "^5.2"
 
+
+# Force wheel + cpu
+# For discussion and context see https://github.com/python-poetry/poetry#6409
 [[tool.poetry.source]]
 name = "pytorch"
 url = "https://download.pytorch.org/whl/cpu"