XPretrain
XPretrain copied to clipboard
Error on starting horovod
When we run
horovodrun -np 1 python src/pretrain/run_pretrain.py --config src/configs/msrvtt_retrieval/msrvtt_retrieval_vip_base_32.json
We get the following error:
<stderr>: File "src/pretrain/run_pretrain.py", line 22, in <module>
<stderr>: from transformers import CLIPTokenizerFast
<stderr>:ImportError: cannot import name 'CLIPTokenizerFast' from 'transformers' (/usr/local/lib/python3.7/dist-packages/transformers/__init__.py) ```