Sfoglia il codice sorgente

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

ditsuke 1 anno fa
parent
commit
1e920018d3
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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"