im getting this error for my training script,
File "/usr/local/lib/python3.10/dist-packages/peft/tuners/lora.py", line 356, in forward result = F.linear(x, transpose(self.weight, self.fan_in_fan_out), bias=self.bias) RuntimeError: mat1 and mat2 shapes cannot be multiplied (32768x4096 and 1x8388608)
Which model are you using? Make sure the model directory contains the files from one of the Llama 2 models - example (except safetensors).
What tokenizer are you using? The tokenizer must be merged with the original Llama tokenizer and it should be in hf format, can't directly use the SentencePiece model.
This shape -> 1x8388608 is very weird. Are you making any changes to the original model?
im getting this error for my training script,
File "/usr/local/lib/python3.10/dist-packages/peft/tuners/lora.py", line 356, in forward result = F.linear(x, transpose(self.weight, self.fan_in_fan_out), bias=self.bias) RuntimeError: mat1 and mat2 shapes cannot be multiplied (32768x4096 and 1x8388608)
here is my command ,
and here is my requirement list
How to solve this.