Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensorflowonspark/TFNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def start_cluster_server(ctx, num_gpus=1, rdma=False):
cluster_spec = ctx.cluster_spec
logging.info("{0}: Cluster spec: {1}".format(ctx.worker_num, cluster_spec))

if tf.test.is_built_with_cuda():
if tf.test.is_built_with_cuda() and num_gpus > 0:
# GPU
gpu_initialized = False
retries = 3
Expand Down