Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managing Missing Adapters in Parallel #555

Closed
armin-zd opened this issue Jun 5, 2023 · 0 comments
Closed

Managing Missing Adapters in Parallel #555

armin-zd opened this issue Jun 5, 2023 · 0 comments
Labels
question Further information is requested

Comments

@armin-zd
Copy link

armin-zd commented Jun 5, 2023

I am exploring a personalization model that utilizes one adapter for each user.

When performing inference, I process a batch containing samples from various users. For users with insufficient training data, no adapters are available, and the None active adapter should be used to return the base model's outputs.

To reduce latency, my ideal solution would involve a single forward pass using Parallel composition. However, this method does not support None adapters. Are there any alternative approaches you are aware of?

I attempted to create an "identity" adapter using PfeifferConfig(non_linearity="linear", reduction_factor=1, ...), but the resulting outputs differ from those of the base model.

Thanks!

@armin-zd armin-zd added the question Further information is requested label Jun 5, 2023
@armin-zd armin-zd closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant