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

Low-Rank Adaptation Matching #3

Open
yfpeng1234 opened this issue Apr 19, 2024 · 3 comments
Open

Low-Rank Adaptation Matching #3

yfpeng1234 opened this issue Apr 19, 2024 · 3 comments

Comments

@yfpeng1234
Copy link

Dear Author,
I noted that the new version of your paper in arxiv has "Low-Rank Adaptation Matching". I'm interested in how to implement it but I can't find the corresponding code in distill.py or buffer.py. Could you please share the code of Low-Rank Adaptation Matching.

@yfpeng1234
Copy link
Author

I also have another question.
I noted that figure2 in your paper also has a projection head for vision encoder. But in distill.py, it seems that only the vision encoder was considered when matching training trajectory. What if I want to keep the vision encoder frozon and matching the training trajectory of vision projection head.

Could you please give me some guidance on how to deal with it when you are available?
Thanks so much!

@yfpeng1234
Copy link
Author

Actually I try to use vit-base-patch16-224 as the visual encoder, but I encountered the oom error using a single A6000 GPU. So I hope to freeze the encoder and just train the projection head.

@aditisa24
Copy link

Hey, did you solve OOM issue? I am facing the issue while running distill.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants