diff --git a/setup.py b/setup.py index 39d994e999..d8aa8cde2c 100644 --- a/setup.py +++ b/setup.py @@ -137,7 +137,7 @@ def deps_list(*pkgs): setup( name="adapters", - version="1.0.0.dev0", + version="1.0.0", author="The AdapterHub team and community contributors", author_email="calpt@mail.de", description="A Unified Library for Parameter-Efficient and Modular Transfer Learning", diff --git a/src/adapters/__init__.py b/src/adapters/__init__.py index 0864a9bc95..6cb5b4edf2 100644 --- a/src/adapters/__init__.py +++ b/src/adapters/__init__.py @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "1.0.0.dev0" +__version__ = "1.0.0" from typing import TYPE_CHECKING diff --git a/tests/test_adapter_trainer.py b/tests/test_adapter_trainer.py index b865149500..fd1647865b 100644 --- a/tests/test_adapter_trainer.py +++ b/tests/test_adapter_trainer.py @@ -575,7 +575,7 @@ def tokenize(element): model.config.use_cache = False adapters.init(model) - model.add_adapter("task") + model.add_adapter("task", config=config) model.train_adapter("task") model.adapter_to("task", device=torch_device)