Adds asyncio patch to MNIST tutorial.
"# NOTE: The high-performance executor components used in this tutorial are not\n",
"# yet included in the released pip package; you may need to compile from source.\n",
"!pip install --quiet tensorflow_federated\n",
- "!pip install --quiet tf-nightly"
+ "!pip install --quiet tf-nightly\n",
+ "\n",
+ "# NOTE: Jupyter requires a patch to asyncio.\n",
+ "!pip install --upgrade nest_asyncio\n",
+ "import nest_asyncio\n",
+ "nest_asyncio.apply()"
]
},
{
