Skip to content

Commit

Permalink
Merge branch 'main' into test-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
justheuristic authored Nov 7, 2023
2 parents 8be7040 + dcce436 commit ce6b852
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ install_requires =
accelerate>=0.22.0
huggingface-hub>=0.11.1,<1.0.0
tokenizers>=0.13.3
transformers>=4.32.0,<5.0.0 # if you change this, please also change version assert in petals/__init__.py
transformers>=4.32.0,<4.35.0 # if you change this, please also change version assert in petals/__init__.py
speedtest-cli==2.1.3
pydantic>=1.10,<2.0 # 2.0 is incompatible with hivemind yet
hivemind==1.1.10.post2
Expand Down
4 changes: 2 additions & 2 deletions src/petals/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

if not os.getenv("PETALS_IGNORE_DEPENDENCY_VERSION"):
assert (
version.parse("4.32.0") <= version.parse(transformers.__version__) < version.parse("5.0.0")
), "Please install a proper transformers version: pip install transformers>=4.32.0,<5.0.0"
version.parse("4.32.0") <= version.parse(transformers.__version__) < version.parse("4.35.0")
), "Please install a proper transformers version: pip install transformers>=4.32.0,<4.35.0"


def _override_bfloat16_mode_default():
Expand Down

0 comments on commit ce6b852

Please sign in to comment.