-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'adapter-hub:main' into implement_vera
- Loading branch information
Showing
13 changed files
with
565 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule hf_transformers
updated
892 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
[tool.black] | ||
line-length = 119 | ||
target-version = ['py38', 'py39', 'py310'] | ||
|
||
# copied from HF for testing | ||
[tool.pytest.ini_options] | ||
markers = [ | ||
"flash_attn_test: marks tests related to flash attention (deselect with '-m \"not flash_attn_test\"')", | ||
"bitsandbytes: select (or deselect with `not`) bitsandbytes integration tests", | ||
"generate: marks tests that use the GenerationTesterMixin" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
"isort>=5.5.4", | ||
"Jinja2==2.11.3", | ||
"nltk", | ||
"packaging", | ||
"parameterized", | ||
"pillow", | ||
"protobuf", | ||
|
@@ -60,7 +61,7 @@ | |
"timeout-decorator", | ||
"torch", | ||
"torchvision", | ||
"transformers~=4.45.2", | ||
"transformers~=4.46.3", | ||
] | ||
|
||
|
||
|
@@ -136,11 +137,12 @@ def deps_list(*pkgs): | |
# when modifying the following list, make sure to update src/transformers/dependency_versions_check.py | ||
install_requires = [ | ||
deps["transformers"], | ||
deps["packaging"], | ||
] | ||
|
||
setup( | ||
name="adapters", | ||
version="1.0.1", | ||
version="1.1.0.dev0", | ||
author="The AdapterHub team and community contributors", | ||
author_email="[email protected]", | ||
description="A Unified Library for Parameter-Efficient and Modular Transfer Learning", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.