{
  "id": 217016,
  "title": "To the organizers and all those who solved the problem",
  "url": "/competitions/rfcx-species-audio-detection/discussion/217016",
  "author_name": "",
  "post_date": "2021-02-04T22:34:53.679770200Z",
  "votes": 6,
  "comment_count": 3,
  "views": 0,
  "content": "<p>Organizers none of my notebooks with TPU work, I wrote about it before. In addition to me, several other people have faced this problem (Several discussions on this topic have appeared at the same time). Notebooks have worked well until recently. I do not see the reason for the error, Google Colab does NOT have this problem! This is not a problem for me because I use colab. But if only a part of the users encountered the problem, it is at least wrong from a sports point of view.</p>\n<p>UnavailableError: 7 root error(s) found.<br>\n  (0) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n     [[Pad_12/_144]]<br>\n  (1) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n     [[IteratorGetNext_2/_12]]<br>\n  (2) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n  (3) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n     [[tpu_compile_succeeded_assert/_4487815273615 … [truncated]</p>\n<p>Maybe someone has already solved this problem? </p>",
  "messages": [
    {
      "id": "1186564",
      "postDate": "02/04/2021 22:34:53",
      "content": "<p>Organizers none of my notebooks with TPU work, I wrote about it before. In addition to me, several other people have faced this problem (Several discussions on this topic have appeared at the same time). Notebooks have worked well until recently. I do not see the reason for the error, Google Colab does NOT have this problem! This is not a problem for me because I use colab. But if only a part of the users encountered the problem, it is at least wrong from a sports point of view.</p>\n<p>UnavailableError: 7 root error(s) found.<br>\n  (0) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n     [[Pad_12/_144]]<br>\n  (1) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n     [[IteratorGetNext_2/_12]]<br>\n  (2) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n  (3) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses<br>\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:<br>\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}<br>\n     [[{{node StatefulPartitionedCall}}]]<br>\n     [[MultiDeviceIteratorGetNextFromShard]]<br>\n     [[RemoteCall]]<br>\n     [[IteratorGetNext]]<br>\n     [[tpu_compile_succeeded_assert/_4487815273615 … [truncated]</p>\n<p>Maybe someone has already solved this problem? </p>",
      "rawMarkdown": "Organizers none of my notebooks with TPU work, I wrote about it before. In addition to me, several other people have faced this problem (Several discussions on this topic have appeared at the same time). Notebooks have worked well until recently. I do not see the reason for the error, Google Colab does NOT have this problem! This is not a problem for me because I use colab. But if only a part of the users encountered the problem, it is at least wrong from a sports point of view.\n\n\nUnavailableError: 7 root error(s) found.\n  (0) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[Pad_12/_144]]\n  (1) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[IteratorGetNext_2/_12]]\n  (2) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n  (3) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[tpu_compile_succeeded_assert/_4487815273615 ... [truncated]\n\n\nMaybe someone has already solved this problem?",
      "votes": null
    },
    {
      "id": "1186568",
      "postDate": "02/04/2021 22:39:02",
      "content": "<p>Another thought came to me: does anyone know the Kaggle team did not update the basic version of tensorflow? It is in the style of this library after the next update there are new incomprehensible errors that are unclear how to fix, it is easier to install the previous version :-).</p>",
      "rawMarkdown": "Another thought came to me: does anyone know the Kaggle team did not update the basic version of tensorflow? It is in the style of this library after the next update there are new incomprehensible errors that are unclear how to fix, it is easier to install the previous version :-).",
      "votes": null
    },
    {
      "id": "1186707",
      "postDate": "02/05/2021 02:22:10",
      "content": "<p>I faced the same problem. The docker file environment can't be changed with TPU. I don't know why. I guess it's because of the package upgrade.</p>",
      "rawMarkdown": "I faced the same problem. The docker file environment can't be changed with TPU. I don't know why. I guess it's because of the package upgrade.",
      "votes": null
    },
    {
      "id": "1186850",
      "postDate": "02/05/2021 04:49:12",
      "content": "<p>There is a workaround available now. See comments by Kaggle support staff in :<br>\n<a href=\"https://www.kaggle.com/c/rfcx-species-audio-detection/discussion/216408\" target=\"_blank\">https://www.kaggle.com/c/rfcx-species-audio-detection/discussion/216408</a></p>",
      "rawMarkdown": "There is a workaround available now. See comments by Kaggle support staff in :\nhttps://www.kaggle.com/c/rfcx-species-audio-detection/discussion/216408",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1186568,
      "author_name": "aikhmelnytskyy",
      "author_url": "",
      "post_date": "02/04/2021 22:39:02",
      "content": "<p>Another thought came to me: does anyone know the Kaggle team did not update the basic version of tensorflow? It is in the style of this library after the next update there are new incomprehensible errors that are unclear how to fix, it is easier to install the previous version :-).</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1186707,
      "author_name": "gengzll",
      "author_url": "",
      "post_date": "02/05/2021 02:22:10",
      "content": "<p>I faced the same problem. The docker file environment can't be changed with TPU. I don't know why. I guess it's because of the package upgrade.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1186850,
      "author_name": "allohvk",
      "author_url": "",
      "post_date": "02/05/2021 04:49:12",
      "content": "<p>There is a workaround available now. See comments by Kaggle support staff in :<br>\n<a href=\"https://www.kaggle.com/c/rfcx-species-audio-detection/discussion/216408\" target=\"_blank\">https://www.kaggle.com/c/rfcx-species-audio-detection/discussion/216408</a></p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1186564": "Organizers none of my notebooks with TPU work, I wrote about it before. In addition to me, several other people have faced this problem (Several discussions on this topic have appeared at the same time). Notebooks have worked well until recently. I do not see the reason for the error, Google Colab does NOT have this problem! This is not a problem for me because I use colab. But if only a part of the users encountered the problem, it is at least wrong from a sports point of view.\n\n\nUnavailableError: 7 root error(s) found.\n  (0) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[Pad_12/_144]]\n  (1) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[IteratorGetNext_2/_12]]\n  (2) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n  (3) Unavailable: {{function_node __inference_train_function_91692}} failed to connect to all addresses\nAdditional GRPC error information from remote target /job:localhost/replica:0/task:0/device:CPU:0:\n:{\"created\":\"@1612477044.916429830\",\"description\":\"Failed to pick subchannel\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/client_channel.cc\",\"file_line\":4143,\"referenced_errors\":[{\"created\":\"@1612477044.916423940\",\"description\":\"failed to connect to all addresses\",\"file\":\"third_party/grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc\",\"file_line\":398,\"grpc_status\":14}]}\n\t [[{{node StatefulPartitionedCall}}]]\n\t [[MultiDeviceIteratorGetNextFromShard]]\n\t [[RemoteCall]]\n\t [[IteratorGetNext]]\n\t [[tpu_compile_succeeded_assert/_4487815273615 ... [truncated]\n\n\nMaybe someone has already solved this problem?",
    "1186568": "Another thought came to me: does anyone know the Kaggle team did not update the basic version of tensorflow? It is in the style of this library after the next update there are new incomprehensible errors that are unclear how to fix, it is easier to install the previous version :-).",
    "1186707": "I faced the same problem. The docker file environment can't be changed with TPU. I don't know why. I guess it's because of the package upgrade.",
    "1186850": "There is a workaround available now. See comments by Kaggle support staff in :\nhttps://www.kaggle.com/c/rfcx-species-audio-detection/discussion/216408"
  },
  "source": "meta"
}