Skip to content

I see "adapters.model_mixin:There are adapters available but none are activated for the forward pass" #815

@LakshanKarunathilake

Description

@LakshanKarunathilake

Environment info

  • adapters version: 1.2.0
  • Platform: Colab, Linux, Max
  • Python version: 3.12
  • PyTorch version (GPU?): 2.6.0+cu124
  • Tensorflow version (GPU?):
  • Using GPU in script?: No
  • Using distributed or parallel set-up in script?:

Information

Model I am using (Bert, XLNet ...): roberta

Language I am using the model on (English, Chinese ...): English

Adapter setup I am using (if any):

The problem arises when using:

  • the official example scripts: (give details below)
  • my own modified scripts: (give details below)

The tasks I am working on is:

  • an official GLUE/SQUaD task: (give the name)
  • my own task or dataset: (give details below)

To reproduce

Steps to reproduce the behavior:

  1. Run the example https://colab.research.google.com/github/Adapter-Hub/adapters/blob/main/notebooks/01_Adapter_Training.ipynb
  2. Even the adapters were added it shows the message "adapters.model_mixin:There are adapters available but none are activated for the forward pass"

Expected behavior

i Checked the adapter list and it seems available and why this warning occur ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions