Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
fffiloni
/
Sa2VA-simple-demo
like
15
Running
on
Zero
App
Files
Files
Community
d59f323
Sa2VA-simple-demo
/
tools
/
train.py
fffiloni
Migrated from GitHub
d59f323
verified
2 days ago
raw
Copy download link
history
blame
Safe
194 Bytes
from
xtuner.tools.train
import
main
as
train
try
:
import
torch
import
torch_npu
from
torch_npu.contrib
import
transfer_to_npu
except
:
pass
if
__name__ ==
'__main__'
:
train()