-
Notifications
You must be signed in to change notification settings - Fork 98
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
AttributeError: 'NoneType' object has no attribute 'shape' #35
Comments
same |
wondering if this is a transformers version issue |
outs[j] = layer(inps[j].unsqueeze(0), attention_mask=attention_mask)[0] |
I have the same question and I just use the code " |
hi you can refer the code fo wanda: https://github.com/locuslab/wanda/blob/main/lib/prune.py,modify function of llama.py as prune_sparsegpt() |
hi you can refer the code fo wanda: https://github.com/locuslab/wanda/blob/main/lib/prune.py , modify function of llama.py as prune_sparsegpt() |
I get this same error trying locally.
|
@algorithmexplorer cache_position是啥 |
The text was updated successfully, but these errors were encountered: