federated icon indicating copy to clipboard operation
federated copied to clipboard

Command issue

Open Ishita200008 opened this issue 2 years ago • 1 comments

tff.backends.native.set_local_python_execution_context(clients_per_thread=5) [THIS IS THE COMMAND] AttributeError: module 'tensorflow_federated.python.core.backends.native' has no attribute 'set_local_python_execution_context' [ERROR]

this above command isn't working for me, could you tell me how to rectify it

Ishita200008 avatar May 24 '22 17:05 Ishita200008

Hi, which version of TFF are you using?

I tried running the command with the latest version, 0.26.0, and wasn't able to reproduce your failure.

hardik-vala avatar Jun 09 '22 20:06 hardik-vala

+1 to @hardik-vala question, I think this must be due to an older version of tensorflow-federated package.

https://www.tensorflow.org/federated/api_docs/python/tff/backends/native/set_local_python_execution_context

michaelreneer avatar Aug 19 '22 18:08 michaelreneer