mirror of
https://github.com/zebrajr/tensorflow.git
synced 2026-01-15 12:15:41 +00:00
Allow use of configure for gpu remote execution (i.e., no checks on local cuda)
PiperOrigin-RevId: 167995887
This commit is contained in:
committed by
TensorFlower Gardener
parent
10b966b95d
commit
24cbb2a8ce
@@ -995,7 +995,8 @@ def main():
|
||||
set_computecpp_toolkit_path(environ_cp)
|
||||
|
||||
set_action_env_var(environ_cp, 'TF_NEED_CUDA', 'CUDA', False)
|
||||
if environ_cp.get('TF_NEED_CUDA') == '1':
|
||||
if (environ_cp.get('TF_NEED_CUDA') == '1' and
|
||||
'TF_CUDA_CONFIG_REPO' not in environ_cp):
|
||||
set_tf_cuda_version(environ_cp)
|
||||
set_tf_cunn_version(environ_cp)
|
||||
set_tf_cuda_compute_capabilities(environ_cp)
|
||||
|
||||
Reference in New Issue
Block a user