Closed Carol-gutianle closed 6 months ago
If you are using accelerate version >0.21.0, try downgrading by: pip install accelerate==0.21.0
If you are using accelerate version >0.21.0, try downgrading by:
pip install accelerate==0.21.0
Thank you for your reply and the second problem can be solved, but the third one is still a problem.
I find the solutions to the third question. It's my fault that I forgot to reset the conv
before the next sample, so the |IMAGE| of the last sample will be added to next sampele.
I find the solutions to the third question. It's my fault that I forgot to reset the before the next sample, so the |IMAGE| of the last sample will be added to next sampele.
conv
Hello, can you give a detailed answer to the third question
I downloaded the weights from the official link showed in README.md. However, I encountered a lot of errors when I tried to use quickstart code to inference.
Trying to set a tensor of shape torch.Size([151851, 4096]) in "weight" (which has shape torch.Size([151936, 4096])), this look incorrect.
I guess the vocab size for the model weights in the repo is 151851. However, the setting in the config.json shows that it is 151936. So I modified the vocab_size in config.json and pass the first error.