Adding adapters and fusion layer to UNIPELT #657
-
Instead of the single adapter in UNIPELT, I am trying to add multiple adapters and a fusion layer on top using - config = ConfigUnion(LoRAConfig(r=8, use_gating=True), PrefixTuningConfig(prefix_length=10, use_gating=True)) (or) lora_config = LoRAConfig(r=8, use_gating=True) I end up getting this error in both cases - File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl How do I resolve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hey @san-deep-reddy, thanks for reporting this. The setup you describe should be possible to run with Adapters, but is indeed currently not working with the current implementation. I've converted this into an issue in #664 and will look into enabling it. |
Beta Was this translation helpful? Give feedback.
Hey @san-deep-reddy, thanks for reporting this. The setup you describe should be possible to run with Adapters, but is indeed currently not working with the current implementation. I've converted this into an issue in #664 and will look into enabling it.