message: Look for Cublas across all base_paths even if CUDA_TOOLKIT_PATH is set. Cublas
  is installed outside of Cuda installation directory with Cuda 10.1.
diff: @@ -423,9 +423,13 @@ def find_cuda_config():
  cuda_paths = _list_from_env("CUDA_TOOLKIT_PATH", base_paths)
  result.update(_find_cuda_config(cuda_paths, cuda_version))
  + cublas_paths = _list_from_env("CUBLAS_INSTALL_PATH", base_paths)
  + # Add cuda paths in case CuBLAS is installed under CUDA_TOOLKIT_PATH.
  + cublas_paths += list(set(cuda_paths) - set(cublas_paths))
  cuda_version = result["cuda_version"]
  cublas_version = os.environ.get("TF_CUBLAS_VERSION", "")
  - result.update(_find_cublas_config(cuda_paths, cublas_version, cuda_version))
  + result.update(
  + _find_cublas_config(cublas_paths, cublas_version, cuda_version))
  if "cudnn" in libraries:
  cudnn_paths = _list_from_env("CUDNN_INSTALL_PATH", base_paths)
  