fffiloni's picture
Migrated from GitHub
d59f323 verified
raw
history blame contribute delete
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()