When I run the blip caption script it just try to start the process and then gets killed. Below is the output of the script running:
python caption_blip2.py --parent_dir ./example_material --model_type 'pretrain_flant5xxl'
/home/jota/anaconda3/envs/Cap3D/lib/python3.9/site-packages/fairscale/experimental/nn/offload.py:19: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead.
return torch.cuda.amp.custom_fwd(orig_func) # type: ignore
/home/jota/anaconda3/envs/Cap3D/lib/python3.9/site-packages/fairscale/experimental/nn/offload.py:30: FutureWarning: torch.cuda.amp.custom_bwd(args...) is deprecated. Please use torch.amp.custom_bwd(args..., device_type='cuda') instead.
return torch.cuda.amp.custom_bwd(orig_func) # type: ignore
number of annotations so far 0
/home/jota/anaconda3/envs/Cap3D/lib/python3.9/site-packages/huggingface_hub/file_download.py:943: FutureWarning: resume_download is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True.
warnings.warn(
[1] 292739 killed python caption_blip2.py --parent_dir ./example_material --model_type
When I run the blip caption script it just try to start the process and then gets killed. Below is the output of the script running:
python caption_blip2.py --parent_dir ./example_material --model_type 'pretrain_flant5xxl'
/home/jota/anaconda3/envs/Cap3D/lib/python3.9/site-packages/fairscale/experimental/nn/offload.py:19: FutureWarning:
torch.cuda.amp.custom_fwd(args...)is deprecated. Please usetorch.amp.custom_fwd(args..., device_type='cuda')instead.return torch.cuda.amp.custom_fwd(orig_func) # type: ignore
/home/jota/anaconda3/envs/Cap3D/lib/python3.9/site-packages/fairscale/experimental/nn/offload.py:30: FutureWarning:
torch.cuda.amp.custom_bwd(args...)is deprecated. Please usetorch.amp.custom_bwd(args..., device_type='cuda')instead.return torch.cuda.amp.custom_bwd(orig_func) # type: ignore
number of annotations so far 0
/home/jota/anaconda3/envs/Cap3D/lib/python3.9/site-packages/huggingface_hub/file_download.py:943: FutureWarning:
resume_downloadis deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, useforce_download=True.warnings.warn(
[1] 292739 killed python caption_blip2.py --parent_dir ./example_material --model_type