Guest User

Untitled

a guest
Mar 19th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. INFO:tensorflow:Querying Tensorflow master (grpc://10.0.203.10:8470) for TPU system metadata.
  2. INFO:tensorflow:Found TPU system:
  3. INFO:tensorflow:*** Num TPU Cores: 8
  4. INFO:tensorflow:*** Num TPU Workers: 1
  5. INFO:tensorflow:*** Num TPU Cores Per Worker: 8
  6. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:CPU:0, CPU, -1, 1941375595625340814)
  7. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:XLA_CPU:0, XLA_CPU, 17179869184, 9079881000847066378)
  8. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:0, TPU, 17179869184, 6922694346479333534)
  9. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:1, TPU, 17179869184, 14324637633413341896)
  10. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:2, TPU, 17179869184, 3528106575831937158)
  11. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:3, TPU, 17179869184, 13852141601322651612)
  12. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:4, TPU, 17179869184, 10344791506504172772)
  13. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:5, TPU, 17179869184, 16666353711371098164)
  14. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:6, TPU, 17179869184, 3428083526573573796)
  15. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:7, TPU, 17179869184, 8632908473312514763)
  16. INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU_SYSTEM:0, TPU_SYSTEM, 17179869184, 9715206562754100387)
  17. WARNING:tensorflow:tpu_model (from tensorflow.contrib.tpu.python.tpu.keras_support) is experimental and may change or be removed at any time, and without warning.
  18. ---------------------------------------------------------------------------
  19. InvalidArgumentError Traceback (most recent call last)
  20. <ipython-input-11-b9f2a49a32bc> in <module>()
  21. 11 model,
  22. 12 strategy=tf.contrib.tpu.TPUDistributionStrategy(
  23. ---> 13 tf.contrib.cluster_resolver.TPUClusterResolver(TPU_WORKER)))
  24.  
  25. /usr/local/lib/python3.6/dist-packages/tensorflow/contrib/framework/python/framework/experimental.py in new_func(*args, **kwargs)
  26. 62 'any time, and without warning.',
  27. 63 decorator_utils.get_qualified_name(func), func.__module__)
  28. ---> 64 return func(*args, **kwargs)
  29. 65 new_func.__doc__ = _add_experimental_function_notice_to_docstring(
  30. 66 func.__doc__)
  31.  
  32. /usr/local/lib/python3.6/dist-packages/tensorflow/contrib/tpu/python/tpu/keras_support.py in tpu_model(model, strategy)
  33. 2223 model_weights = None
  34. 2224
  35. -> 2225 setup_tpu_session(strategy._tpu_cluster_resolver)
  36. 2226
  37. 2227 # Force initialization of the CPU model in the TPU session.
  38.  
  39. /usr/local/lib/python3.6/dist-packages/tensorflow/contrib/tpu/python/tpu/keras_support.py in setup_tpu_session(cluster_resolver)
  40. 159
  41. 160 tpu_session = tf_session.Session(target=master, config=config)
  42. --> 161 tpu_session.run(tpu.initialize_system())
  43. 162 tpu_session._tpu_initialized = True
  44. 163
  45.  
  46. /usr/local/lib/python3.6/dist-packages/tensorflow/contrib/tpu/python/tpu/tpu.py in initialize_system(embedding_config, job)
  47. 92 embedding_config.SerializeToString())
  48. 93 with ops.device(_tpu_system_device_name(job)):
  49. ---> 94 return tpu_ops.configure_distributed_tpu(embedding_config=config_string)
  50. 95
  51. 96
  52.  
  53. /usr/local/lib/python3.6/dist-packages/tensorflow/contrib/tpu/ops/gen_tpu_ops.py in configure_distributed_tpu(embedding_config, tpu_embedding_config, is_global_init, name)
  54. 298 else:
  55. 299 message = e.message
  56. --> 300 _six.raise_from(_core._status_to_exception(e.code, message), None)
  57. 301 # Add nodes to the TensorFlow graph.
  58. 302 if embedding_config is None:
  59.  
  60. /usr/local/lib/python3.6/dist-packages/six.py in raise_from(value, from_value)
  61.  
  62. InvalidArgumentError: /job:localhost/replica:0/task:0/device:TPU_SYSTEM:0 unknown device.
Advertisement
Add Comment
Please, Sign In to add comment