File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ install_requires =
3737 accelerate>=0.22.0
3838 huggingface-hub>=0.11.1,<1.0.0
3939 tokenizers>=0.13.3
40- transformers>=4.32.0,<5.0 .0 # if you change this, please also change version assert in petals/__init__.py
40+ transformers>=4.32.0,<4.35 .0 # if you change this, please also change version assert in petals/__init__.py
4141 speedtest-cli ==2.1.3
4242 pydantic>=1.10,<2.0 # 2.0 is incompatible with hivemind yet
4343 hivemind ==1.1.10.post2
Original file line number Diff line number Diff line change 2222
2323if not os .getenv ("PETALS_IGNORE_DEPENDENCY_VERSION" ):
2424 assert (
25- version .parse ("4.32.0" ) <= version .parse (transformers .__version__ ) < version .parse ("5.0 .0" )
26- ), "Please install a proper transformers version: pip install transformers>=4.32.0,<5.0 .0"
25+ version .parse ("4.32.0" ) <= version .parse (transformers .__version__ ) < version .parse ("4.35 .0" )
26+ ), "Please install a proper transformers version: pip install transformers>=4.32.0,<4.35 .0"
2727
2828
2929def _override_bfloat16_mode_default ():
You can’t perform that action at this time.
0 commit comments