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

Inference code #1

Open
VladAndronik opened this issue Jan 11, 2024 · 1 comment
Open

Inference code #1

VladAndronik opened this issue Jan 11, 2024 · 1 comment

Comments

@VladAndronik
Copy link

Could you please provide a working code for inference?
I tried working around the code from eval/model_vqa.py but struggle to get the working model out of it.
I did not try the float16, because I am getting out of memory error on my L4, while 8bit is not working and I am getting an error on merging stage.
I tried merging on CPU, save and load in 8bit, then, but getting rubbish results from the model.
Also, you have hardcoded paths to base model and vision encoder in your config.
It would be very helpful if you provided your version.

@storuky
Copy link

storuky commented Feb 13, 2024

answered here

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