Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
shi-labs
/
OLA-VLM
like
5
Running
on
Zero
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
main
OLA-VLM
/
ola_vlm
/
train
/
train_mem.py
Jitesh Jain
:zap: add code
9fa3d89
10 months ago
raw
Copy download link
history
blame
contribute
delete
187 Bytes
from
ola_vlm.train.train
import
train
if
__name__ ==
"__main__"
:
# try:
# train(attn_implementation="flash_attention_2")
# except:
train(attn_implementation=
"eager"
)