mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
skip transfo-xl tokenizer tests with tf for now
This commit is contained in:
parent
7f6a0c0d69
commit
04d2006f28
@ -22,6 +22,7 @@ from io import open
|
||||
from pytorch_transformers import is_torch_available
|
||||
|
||||
try:
|
||||
import torch
|
||||
from pytorch_transformers.tokenization_transfo_xl import TransfoXLTokenizer, VOCAB_FILES_NAMES
|
||||
except ImportError:
|
||||
pytestmark = pytest.mark.skip("Require Torch") # TODO: untangle Transfo-XL tokenizer from torch.load and torch.save
|
||||
|
Loading…
Reference in New Issue
Block a user