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

Feeding outputs from one adapter to multiple adapters #571

Closed
SpaceHunterInf opened this issue Jul 25, 2023 · 4 comments
Closed

Feeding outputs from one adapter to multiple adapters #571

SpaceHunterInf opened this issue Jul 25, 2023 · 4 comments
Labels
question Further information is requested

Comments

@SpaceHunterInf
Copy link

Details

Greetings,

I wonder if it is compatible with the current code to do things like this. Suppose I have adapter BASE, A, B, C. I would like to pass the hidden states through BASE first. The output from BASE will be identically fed to adapter A,B and C, then be fused at the end.

Can I just do Stack(BASE,A), Stack(BASE,B) and Stack(BASE,C), then Fusion(A,B,C)? If not, which part of the code should I modify? Is it the best for me to create a new type of adapter?

Thank you very much for advising me on this.
SpaceHunter

@SpaceHunterInf SpaceHunterInf added the question Further information is requested label Jul 25, 2023
@bhavitvyamalik
Copy link

bhavitvyamalik commented Jul 25, 2023

Hey @SpaceHunterInf, Do you want to send identical data through A, B, and C after getting output from BASE or do you want different data to pass through A, B, and C?

@SpaceHunterInf
Copy link
Author

image
Thanks for replying. Forgive my bad drawing. Just as shown in the diagram, it's the same data.

@adapter-hub-bert
Copy link
Member

This issue has been automatically marked as stale because it has been without activity for 90 days. This issue will be closed in 14 days unless you comment or remove the stale label.

@adapter-hub-bert adapter-hub-bert closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2023
@calpt
Copy link
Member

calpt commented Nov 19, 2023

Solution for this can be found here.

@calpt calpt closed this as completed Nov 19, 2023
@adapter-hub adapter-hub deleted a comment from adapter-hub-bert Nov 19, 2023
@calpt calpt removed the Stale label Nov 19, 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

4 participants