We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42bd62e + 8bdfc5b commit 25210b2Copy full SHA for 25210b2
tensorflowonspark/TFNode.py
@@ -70,7 +70,7 @@ def start_cluster_server(ctx, num_gpus=1, rdma=False):
70
cluster_spec = ctx.cluster_spec
71
logging.info("{0}: Cluster spec: {1}".format(ctx.worker_num, cluster_spec))
72
73
- if tf.test.is_built_with_cuda():
+ if tf.test.is_built_with_cuda() and num_gpus > 0:
74
# GPU
75
gpu_initialized = False
76
retries = 3
0 commit comments