Parcourir la source

Require pydantic < 2.0 (2.0 is incompatible with hivemind 1.1.8) (#337)

See https://github.com/learning-at-home/hivemind/pull/573.
Alexander Borzunov il y a 2 ans
Parent
commit
66a47c763e
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      setup.cfg

+ 1 - 0
setup.cfg

@@ -38,6 +38,7 @@ install_requires =
     tokenizers>=0.13.3
     transformers>=4.30.1,<5.0.0
     speedtest-cli==2.1.3
+    pydantic>=1.8.1,<2.0  # 2.0 is incompatible with hivemind==1.1.8
     hivemind==1.1.8
     tensor_parallel==1.0.23
     humanfriendly