boris commited on
Commit
3087839
1 Parent(s): a8b4257

feat: remove warnings

Browse files
dev/inference/inference_pipeline.ipynb CHANGED
@@ -1441,27 +1441,15 @@
1441
  {
1442
  "cell_type": "code",
1443
  "metadata": {
1444
- "id": "hiD9ZlHu_PsA",
1445
- "colab": {
1446
- "base_uri": "https://localhost:8080/"
1447
- },
1448
- "outputId": "a9cb8c25-0271-4d19-a20b-9c2d42f5dd4b"
1449
  },
1450
  "source": [
1451
  "# set up model and processor\n",
1452
  "clip = FlaxCLIPModel.from_pretrained(\"openai/clip-vit-base-patch32\")\n",
1453
  "processor = CLIPProcessor.from_pretrained(\"openai/clip-vit-base-patch32\")"
1454
  ],
1455
- "execution_count": 19,
1456
- "outputs": [
1457
- {
1458
- "output_type": "stream",
1459
- "text": [
1460
- "ftfy or spacy is not installed using BERT BasicTokenizer instead of ftfy.\n"
1461
- ],
1462
- "name": "stderr"
1463
- }
1464
- ]
1465
  },
1466
  {
1467
  "cell_type": "code",
@@ -1758,30 +1746,15 @@
1758
  {
1759
  "cell_type": "code",
1760
  "metadata": {
1761
- "colab": {
1762
- "base_uri": "https://localhost:8080/"
1763
- },
1764
- "id": "o1n_MF8DkU25",
1765
- "outputId": "8624c006-414d-4e47-c9c6-dfc6496eaefd"
1766
  },
1767
  "source": [
1768
  "# replicate parameters on all devices\n",
1769
  "dalle_params = replicate(model.params)\n",
1770
  "vqgan_params = replicate(vqgan.params)"
1771
  ],
1772
- "execution_count": 26,
1773
- "outputs": [
1774
- {
1775
- "output_type": "stream",
1776
- "text": [
1777
- "/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",
1778
- " \"jax.host_count has been renamed to jax.process_count. This alias \"\n",
1779
- "/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",
1780
- " \"jax.host_id has been renamed to jax.process_index. This alias \"\n"
1781
- ],
1782
- "name": "stderr"
1783
- }
1784
- ]
1785
  },
1786
  {
1787
  "cell_type": "code",
 
1441
  {
1442
  "cell_type": "code",
1443
  "metadata": {
1444
+ "id": "hiD9ZlHu_PsA"
 
 
 
 
1445
  },
1446
  "source": [
1447
  "# set up model and processor\n",
1448
  "clip = FlaxCLIPModel.from_pretrained(\"openai/clip-vit-base-patch32\")\n",
1449
  "processor = CLIPProcessor.from_pretrained(\"openai/clip-vit-base-patch32\")"
1450
  ],
1451
+ "execution_count": null,
1452
+ "outputs": []
 
 
 
 
 
 
 
 
1453
  },
1454
  {
1455
  "cell_type": "code",
 
1746
  {
1747
  "cell_type": "code",
1748
  "metadata": {
1749
+ "id": "o1n_MF8DkU25"
 
 
 
 
1750
  },
1751
  "source": [
1752
  "# replicate parameters on all devices\n",
1753
  "dalle_params = replicate(model.params)\n",
1754
  "vqgan_params = replicate(vqgan.params)"
1755
  ],
1756
+ "execution_count": null,
1757
+ "outputs": []
 
 
 
 
 
 
 
 
 
 
 
1758
  },
1759
  {
1760
  "cell_type": "code",