MiniGPT-4 icon indicating copy to clipboard operation
MiniGPT-4 copied to clipboard

NameError: name 'cuda_setup' is not defined

Open etali opened this issue 1 year ago • 3 comments

image

Does anyone know how to fix it?

etali avatar Apr 20 '23 11:04 etali

When I execute "python demo.py --cfg-path eval_configs/minigpt4_eval.yaml"

etali avatar Apr 20 '23 11:04 etali

Just delete the error message or run pip install -U bitsandbytes to update this package

Lotayou avatar Apr 20 '23 11:04 Lotayou

Just delete the error message or run pip install -U bitsandbytes to update this package

I met this issue too And the upgrade package is useless for me, so I comment on the corresponding if and else (easy to forget), and then I can run it. Thank you!

Wenbobobo avatar Apr 21 '23 14:04 Wenbobobo