Spaces:
Running
Running
feat: remove warning
Browse files
dev/inference/inference_pipeline.ipynb
CHANGED
@@ -1725,30 +1725,15 @@
|
|
1725 |
{
|
1726 |
"cell_type": "code",
|
1727 |
"metadata": {
|
1728 |
-
"id": "o1n_MF8DkU25"
|
1729 |
-
"outputId": "1ddf7fdd-a0f9-4273-bd0a-5ce5f508a2df",
|
1730 |
-
"colab": {
|
1731 |
-
"base_uri": "https://localhost:8080/"
|
1732 |
-
}
|
1733 |
},
|
1734 |
"source": [
|
1735 |
"# replicate parameters on all devices\n",
|
1736 |
"dalle_params = replicate(model.params)\n",
|
1737 |
"vqgan_params = replicate(vqgan.params)"
|
1738 |
],
|
1739 |
-
"execution_count":
|
1740 |
-
"outputs": [
|
1741 |
-
{
|
1742 |
-
"output_type": "stream",
|
1743 |
-
"text": [
|
1744 |
-
"/usr/local/lib/python3.7/dist-packages/jax/lib/xla_bridge.py:387: UserWarning: jax.host_count has been renamed to jax.process_count. This alias will eventually be removed; please update your code.\n",
|
1745 |
-
" \"jax.host_count has been renamed to jax.process_count. This alias \"\n",
|
1746 |
-
"/usr/local/lib/python3.7/dist-packages/jax/lib/xla_bridge.py:374: UserWarning: jax.host_id has been renamed to jax.process_index. This alias will eventually be removed; please update your code.\n",
|
1747 |
-
" \"jax.host_id has been renamed to jax.process_index. This alias \"\n"
|
1748 |
-
],
|
1749 |
-
"name": "stderr"
|
1750 |
-
}
|
1751 |
-
]
|
1752 |
},
|
1753 |
{
|
1754 |
"cell_type": "code",
|
|
|
1725 |
{
|
1726 |
"cell_type": "code",
|
1727 |
"metadata": {
|
1728 |
+
"id": "o1n_MF8DkU25"
|
|
|
|
|
|
|
|
|
1729 |
},
|
1730 |
"source": [
|
1731 |
"# replicate parameters on all devices\n",
|
1732 |
"dalle_params = replicate(model.params)\n",
|
1733 |
"vqgan_params = replicate(vqgan.params)"
|
1734 |
],
|
1735 |
+
"execution_count": null,
|
1736 |
+
"outputs": []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1737 |
},
|
1738 |
{
|
1739 |
"cell_type": "code",
|