From 8dc2d0eedac7760deb65254a8ef89878743299d7 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 12 Mar 2019 01:41:05 -0700 Subject: [PATCH] Change compute capability < 3.5 check from error into warning. See issue #26394. PiperOrigin-RevId: 237971151 --- configure.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure.py b/configure.py index 3dc0cb241cd..92b2a3ddaa0 100644 --- a/configure.py +++ b/configure.py @@ -1305,11 +1305,14 @@ def set_tf_cuda_compute_capabilities(environ_cp): all_valid = False else: ver = float(m.group(0)) - if ver < 3.5: - print('ERROR: TensorFlow only supports CUDA compute capabilities 3.5 ' + if ver < 3.0: + print('ERROR: TensorFlow only supports CUDA compute capabilities 3.0 ' 'and higher. Please re-specify the list of compute ' 'capabilities excluding version %s.' % ver) all_valid = False + if ver < 3.5: + print('WARNING: XLA does not support CUDA compute capabilities ' + 'lower than 3.5. Disable XLA when running on older GPUs.') if all_valid: break