Unverified Commit 0deece9c authored by Skye Wanderman-Milne's avatar Skye Wanderman-Milne Committed by GitHub
Browse files

Don't warn that models aren't available if Flax is available. (#8841)

parent 2b7fc9a0
...@@ -903,9 +903,9 @@ else: ...@@ -903,9 +903,9 @@ else:
from .utils.dummy_flax_objects import * from .utils.dummy_flax_objects import *
if not is_tf_available() and not is_torch_available(): if not is_tf_available() and not is_torch_available() and not is_flax_available():
logger.warning( logger.warning(
"Neither PyTorch nor TensorFlow >= 2.0 have been found. " "None of PyTorch, TensorFlow >= 2.0, or Flax have been found. "
"Models won't be available and only tokenizers, configuration " "Models won't be available and only tokenizers, configuration "
"and file/data utilities can be used." "and file/data utilities can be used."
) )
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