OLA-VLM / ola_vlm /train /sherlock_dsg_train_mem.py
praeclarumjj3's picture
:zap: add code
9fa3d89
raw
history blame
269 Bytes
from ola_vlm.train.sherlock_dsg_train import train
import torch.multiprocessing as mp
if __name__ == "__main__":
# mp.set_start_method('spawn')
# try:
# train(attn_implementation="flash_attention_2")
# except:
train(attn_implementation="eager")