Move tests/utils.py -> transformers/testing_utils.py (#5350)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import unittest
|
||||
|
||||
from transformers import AutoTokenizer, TrainingArguments, is_torch_available
|
||||
|
||||
from .utils import require_torch
|
||||
from transformers.testing_utils import require_torch
|
||||
|
||||
|
||||
if is_torch_available():
|
||||
|
||||
Reference in New Issue
Block a user