Skip to content

Commit

Permalink
Bump FARM to 0.4.9. Remove custom torch installation from colab tutor…
Browse files Browse the repository at this point in the history
…ials (#404)
  • Loading branch information
tholor authored Sep 21, 2020
1 parent 271ff30 commit 747e0c0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 19 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
farm==0.4.8
farm==0.4.9
--find-links=https://download.pytorch.org/whl/torch_stable.html
fastapi
uvicorn
Expand Down
5 changes: 2 additions & 3 deletions tutorials/Tutorial1_Basic_QA_Pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@
"# Install the latest release of Haystack in your own environment \n",
"#! pip install farm-haystack\n",
"\n",
"# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n",
"!pip install git+https://github.com/deepset-ai/haystack.git\n",
"!pip install torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html"
"# Install the latest master of Haystack\n",
"!pip install git+https://github.com/deepset-ai/haystack.git"
]
},
{
Expand Down
5 changes: 2 additions & 3 deletions tutorials/Tutorial2_Finetune_a_model_on_your_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
"# Install the latest release of Haystack in your own environment \n",
"#! pip install farm-haystack\n",
"\n",
"# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n",
"!pip install git+https://github.com/deepset-ai/haystack.git\n",
"!pip install torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html"
"# Install the latest master of Haystack\n",
"!pip install git+https://github.com/deepset-ai/haystack.git"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
"# Install the latest release of Haystack in your own environment \n",
"#! pip install farm-haystack\n",
"\n",
"# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n",
"!pip install git+https://github.com/deepset-ai/haystack.git\n",
"!pip install torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html"
"# Install the latest master of Haystack\n",
"!pip install git+https://github.com/deepset-ai/haystack.git"
]
},
{
Expand Down
5 changes: 2 additions & 3 deletions tutorials/Tutorial4_FAQ_style_QA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@
"# Install the latest release of Haystack in your own environment \n",
"#! pip install farm-haystack\n",
"\n",
"# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n",
"!pip install git+https://github.com/deepset-ai/haystack.git\n",
"!pip install torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html"
"# Install the latest master of Haystack\n",
"!pip install git+https://github.com/deepset-ai/haystack.git"
]
},
{
Expand Down
5 changes: 2 additions & 3 deletions tutorials/Tutorial5_Evaluation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
"# Install the latest release of Haystack in your own environment \n",
"#! pip install farm-haystack\n",
"\n",
"# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n",
"!pip install git+https://github.com/deepset-ai/haystack.git\n",
"!pip install torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html"
"# Install the latest master of Haystack\n",
"!pip install git+https://github.com/deepset-ai/haystack.git"
]
},
{
Expand Down
5 changes: 2 additions & 3 deletions tutorials/Tutorial6_Better_Retrieval_via_DPR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,8 @@
"# Install the latest release of Haystack in your own environment \n",
"#! pip install farm-haystack\n",
"\n",
"# Install the latest master of Haystack and install the version of torch that works with the colab GPUs\n",
"!pip install git+https://github.com/deepset-ai/haystack.git\n",
"!pip install torch==1.6.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html"
"# Install the latest master of Haystack\n",
"!pip install git+https://github.com/deepset-ai/haystack.git"
]
},
{
Expand Down

0 comments on commit 747e0c0

Please sign in to comment.