LAVIS icon indicating copy to clipboard operation
LAVIS copied to clipboard

Segmentation Fault

Open dfan opened this issue 1 year ago • 2 comments

I followed the installation instructions in the README and am running cuda 11.8. However, when I load the model, I get "segmentation fault (core dumped)". This happens whether I specify the device as cpu or cuda.

model, vis_processors, _ = load_model_and_preprocess(name="blip2_t5", model_type="pretrain_flant5xl", is_eval=True, device='cpu')

model, vis_processors, _ = load_model_and_preprocess(name="blip2_t5", model_type="pretrain_flant5xl", is_eval=True, device='cuda:0')

dfan avatar Feb 27 '24 18:02 dfan

same question

zhao2000hhh avatar Aug 30 '24 07:08 zhao2000hhh