diff --git a/ci/test.py b/ci/test.py
index ab41980d6b6bae18e8bf990f162b20b57edd82af..7772e4321d4974e699280ae419924b7874d2589d 100755
--- a/ci/test.py
+++ b/ci/test.py
@@ -37,6 +37,7 @@ if __name__ == "__main__":
         ]
     )
 
+    check_call([python_venv_executable(), "-m", "pip", "install", "torch"])
     check_call(
         [
             python_venv_executable(),