-
Notifications
You must be signed in to change notification settings - Fork 672
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
T5 conversion issue #7
Comments
Hi @chessgecko , Great catch ! This should be accessible once this PR gets merged: huggingface/transformers#18579 Hope this helps and thanks a lot! |
Closing the issue as huggingface/transformers#18579 has been merged |
Should this work for all T5 models or just t5-3b-sharded? |
…uantiles fix kEstimateQuantiles kernel
Not sure where this issue belongs, but figured I'd put it here in case anyone else has the same issue
when running generate on a converted t5 model I got the following error:
AttributeError: 'Parameter' object has no attribute 'CB'
It turned out that
T5ForConditionalGeneration.named_parameters()
didn't iterate overlm_head
, so I was able to fix it by changinghttps://github.com/huggingface/transformers/blob/c8b6ae858d61e5bc10e388d095aa74f7690d1021/src/transformers/utils/bitsandbytes.py#L139-L142
to
not sure if it's just my version of torch or where to put the issue but env:
torch: 1.13.0a0+340c412
cuda: 11.7
bnb: 0.31.8
transformers: 4.22.0.dev0
The text was updated successfully, but these errors were encountered: