Commit c014d1f0 authored by thomwolf's avatar thomwolf
Browse files

fix the skipping

parent 0b22e47a
......@@ -23,7 +23,8 @@ import logging
from pytorch_transformers import is_tf_available
if is_tf_available():
# if is_tf_available():
if False:
from pytorch_transformers import (AutoConfig, BertConfig,
TFAutoModel, TFBertModel,
TFAutoModelWithLMHead, TFBertForMaskedLM,
......
......@@ -26,7 +26,7 @@ from .configuration_common_test import ConfigTester
from pytorch_transformers import BertConfig, is_tf_available
if False and is_tf_available():
if is_tf_available():
import tensorflow as tf
from pytorch_transformers.modeling_tf_bert import (TFBertModel, TFBertForMaskedLM,
TFBertForNextSentencePrediction,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment