diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 608a1812590770ec8fba36f04207646657faf38a..86269478c03c14db5b6adc98a3d691e8100c9b23 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,7 +13,7 @@ python_run:
     - sh -c "sed -i 's/main/main contrib non-free/g' /etc/apt/sources.list"
     - apt update && DEBIAN_FRONTEND=noninteractive apt --no-install-recommends -y install nvidia-cuda-toolkit
     - apt clean && apt autoremove && rm -rf /var/lib/apt/lists/*
-    - pip install 1.7.1+cu92 -f https://download.pytorch.org/whl/cu100/torch_stable.html
+    - pip install torch==1.7.1+cu92 -f https://download.pytorch.org/whl/cu100/torch_stable.html
     - pip install flair
     - pip install pandas
     - ./mc cp S3Uni/steimann/CommentsApril2017.csv .