Update train.py

This commit is contained in:
hoshi-hiyouga 2024-05-14 20:47:52 +08:00 committed by GitHub
parent 9089bc70c8
commit 1c3c498902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
import os
import torch
from transformers import is_torch_npu_available
from llmtuner.train.tuner import run_exp