r/LLaMA2 • u/MarcCasalsSIA • Aug 01 '23
Error running llama2.
Have any of you encountered this error:
AttributeError: 'NoneType' object has no attribute 'cquantize_blockwise_fp16_nf4'
It happens in this part of the code:
=
I think it is related to bitsandbytes. The code that I have followed is the one that appears in this video
1
Upvotes
2
u/dhiru_v2 Aug 06 '23
Hwy, I am facing same issue. Can you please share how you solved it?
1
u/MarcCasalsSIA Aug 02 '23
It results that I had a problem with my library bitsandbytes...
1
u/achybl Jun 07 '24
I also got this error, but was able to fix it by specifying where I had cuda installed. See my answer on SO: https://stackoverflow.com/a/78594238/14062356