浏览代码

Bump torch to >=1.9.0 (#522)

This is necessary for #521 to work. The minimal version where `torch.inference_mode()` works is 1.9.0.

(cherry picked from commit 1242cfb539e4752bd6a6c619d60652083520a160)
Alexander Borzunov 2 年之前
父节点
当前提交
ff0c2bd4bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      requirements.txt

+ 1 - 1
requirements.txt

@@ -1,5 +1,5 @@
 PyYAML
 PyYAML
-torch>=1.6.0
+torch>=1.9.0
 numpy>=1.17
 numpy>=1.17
 scipy>=1.2.1
 scipy>=1.2.1
 prefetch_generator>=1.0.1
 prefetch_generator>=1.0.1