google-parfait / tensorflow-federated

An open-source framework for machine learning and other computations on decentralized data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tff.federated_computation(lambda: 'Hello World!')() stuck/hanging

Temitopeadekunle0906 opened this issue · comments

Help me urgently

I follow this documentation "https://www.tensorflow.org/federated/install"

!python -c "import tensorflow_federated as tff; print(tff.federated_computation(lambda: 'Hello World')())" the line of code keep running for over 6hrs now on google colab

On Python 3.10.12

HI @Temitopeadekunle0906. Can you provide the details of your environment from the bug template? In particular:

Environment (please complete the following information):

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • Python package versions (e.g., TensorFlow Federated, TensorFlow):
  • Python version:
  • Bazel version (if building from source):
  • CUDA/cuDNN version:
  • What TensorFlow Federated execution stack are you using?

Note: You can collect the Python package information by running pip3 freeze
from the command line and most of the other information can be collected using
TensorFlows environment capture
script.

Oh, are you using colab by any chance? I just tried out some tutorials there and noticed the indefinite hang.

I ask because this might be a duplicate of #4588 if you are.

Yes, I'm using google colab

Okay, I'm marking this as a duplicate of #4588, and will use that issue to communicate about this. I can repro this issue, will start to investigate.

Thanks Charles. Anticipating a prompt resolution