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

One question about running inference #40

Open
Li-private opened this issue Jul 2, 2024 · 4 comments
Open

One question about running inference #40

Li-private opened this issue Jul 2, 2024 · 4 comments

Comments

@Li-private
Copy link

Thanks for your great work, but due to my poor knowledge, what's the 'hf_token' in your code of inference? How can I get it?

@Li-private Li-private reopened this Jul 3, 2024
@yunbinmo
Copy link

yunbinmo commented Jul 6, 2024

You can get a token here https://huggingface.co/settings/tokens and put it in a hf_token.txt and then replace .hf_token in the code with that.

@Li-private
Copy link
Author

You can get a token here https://huggingface.co/settings/tokens and put it in a hf_token.txt and then replace .hf_token in the code with that.

Thank you very much,I had tried to run inference with llama2+7b and I have 1 A100 with 80GB Memory,however when I used the inference code on GitHub I've noticed that loading the pre-trained weights for SigLIP, DINOv2, llama2-7b, and this model is quite time-consuming, especially the weights for llama2-7b. Do you have any good solutions?

@yunbinmo
Copy link

yunbinmo commented Jul 6, 2024

You can get a token here https://huggingface.co/settings/tokens and put it in a hf_token.txt and then replace .hf_token in the code with that.

Thank you very much,I had tried to run inference with llama2+7b and I have 1 A100 with 80GB Memory,however when I used the inference code on GitHub I've noticed that loading the pre-trained weights for SigLIP, DINOv2, llama2-7b, and this model is quite time-consuming, especially the weights for llama2-7b. Do you have any good solutions?

I noticed that too, I am using RTX3090 with 24GB memory, pretty slow for me too.

@Li-private
Copy link
Author

You can get a token here https://huggingface.co/settings/tokens and put it in a hf_token.txt and then replace .hf_token in the code with that.

Thank you very much,I had tried to run inference with llama2+7b and I have 1 A100 with 80GB Memory,however when I used the inference code on GitHub I've noticed that loading the pre-trained weights for SigLIP, DINOv2, llama2-7b, and this model is quite time-consuming, especially the weights for llama2-7b. Do you have any good solutions?

I noticed that too, I am using RTX3090 with 24GB memory, pretty slow for me too.

It's so sad.

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