瀏覽代碼

Require transformers < 4.31.0 until we're compatible (#369)

Alexander Borzunov 2 年之前
父節點
當前提交
f97582fb5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup.cfg

+ 1 - 1
setup.cfg

@@ -36,7 +36,7 @@ install_requires =
     accelerate>=0.16.0,<0.21.0
     huggingface-hub>=0.11.1,<1.0.0
     tokenizers>=0.13.3
-    transformers>=4.30.1,<5.0.0
+    transformers>=4.30.1,<4.31.0
     speedtest-cli==2.1.3
     pydantic>=1.10,<2.0  # 2.0 is incompatible with hivemind==1.1.8
     hivemind==1.1.8