From 22d2f031c8a383692ff884ebc89f61c2125668db Mon Sep 17 00:00:00 2001 From: Ella Charlaix Date: Tue, 3 Oct 2023 10:32:07 +0200 Subject: [PATCH] tmp install transformers from source for tests --- .github/workflows/test_export_onnx_cli.yml | 1 + .github/workflows/test_onnxruntime.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test_export_onnx_cli.yml b/.github/workflows/test_export_onnx_cli.yml index 8fa4ebb045f..8b149383435 100644 --- a/.github/workflows/test_export_onnx_cli.yml +++ b/.github/workflows/test_export_onnx_cli.yml @@ -27,6 +27,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies for pytorch export run: | + pip install git+https://github.com/huggingface/transformers pip install .[tests,exporters] - name: Test with unittest working-directory: tests diff --git a/.github/workflows/test_onnxruntime.yml b/.github/workflows/test_onnxruntime.yml index 261235e6be4..5e13e38dc64 100644 --- a/.github/workflows/test_onnxruntime.yml +++ b/.github/workflows/test_onnxruntime.yml @@ -29,6 +29,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + pip install git+https://github.com/huggingface/transformers pip install .[tests,onnxruntime] - name: Test with pytest working-directory: tests