From f8a772353fbfdca1e2320a47544b6c3c7b80597d Mon Sep 17 00:00:00 2001 From: VincyZhang Date: Wed, 15 May 2024 00:48:13 -0700 Subject: [PATCH] fix url issue (#1547) --- .github/workflows/llm-test.yml | 7 +++---- .github/workflows/optimize-test.yml | 2 +- .../workflows/script/SparseLibCI/generate_sparse_lib.sh | 2 +- .github/workflows/unit-test-engine.yml | 4 +--- 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/llm-test.yml b/.github/workflows/llm-test.yml index ef7013d47e1..02b8e484b5f 100644 --- a/.github/workflows/llm-test.yml +++ b/.github/workflows/llm-test.yml @@ -51,9 +51,8 @@ jobs: run: | cd ${{ github.workspace }} conda activate llm-test || source activate llm-test - pip install build --upgrade - pip install -r requirements.txt - pip install torch==2.0 --extra-index-url https://download.pytorch.org/whl/cpu + compiler_version=11.1.0 + conda install --update-deps -c conda-forge gxx==${compiler_version} gcc==${compiler_version} gxx_linux-64==${compiler_version} libstdcxx-ng sysroot_linux-64 libxcrypt -y python setup.py sdist bdist_wheel pip install dist/intel_extension_for_transformers*.whl pip list @@ -127,7 +126,7 @@ jobs: cd ${{ env.OUT_SCRIPT_PATH }} /usr/bin/bash generate_report.sh --workflow=deploy env: - RUN_DISPLAY_URL: https://github.com/VincyZhang/intel-extension-for-transformers/actions/runs/${{ github.run_id }} + RUN_DISPLAY_URL: https://github.com/intel/intel-extension-for-transformers/actions/runs/${{ github.run_id }} BUILD_NUMBER: ${{ github.run_id }} JOB_STATUS: succeed MR_source_branch: ${{ github.event.pull_request._links.html.href }} diff --git a/.github/workflows/optimize-test.yml b/.github/workflows/optimize-test.yml index 8e406e30577..b0bf5922146 100644 --- a/.github/workflows/optimize-test.yml +++ b/.github/workflows/optimize-test.yml @@ -183,7 +183,7 @@ jobs: cd ${{ env.OUT_SCRIPT_PATH }} /usr/bin/bash generate_report.sh --workflow=optimize env: - RUN_DISPLAY_URL: https://github.com/VincyZhang/intel-extension-for-transformers/actions/runs/${{ github.run_id }} + RUN_DISPLAY_URL: https://github.com/intel/intel-extension-for-transformers/actions/runs/${{ github.run_id }} BUILD_NUMBER: ${{ github.run_id }} JOB_STATUS: succeed MR_source_branch: ${{ github.event.pull_request._links.html.href }} diff --git a/.github/workflows/script/SparseLibCI/generate_sparse_lib.sh b/.github/workflows/script/SparseLibCI/generate_sparse_lib.sh index 70ffc8b9e1f..6564d78f04d 100644 --- a/.github/workflows/script/SparseLibCI/generate_sparse_lib.sh +++ b/.github/workflows/script/SparseLibCI/generate_sparse_lib.sh @@ -42,7 +42,7 @@ function generate_html_overview {

Sparse Lib Tests ${PR_TITLE} - [ Job-${BUILD_NUMBER} ]

+ [ Job-${BUILD_NUMBER} ]

Test Status: ${github_actions_job_status}

Summary

${pr_comment_opt} diff --git a/.github/workflows/unit-test-engine.yml b/.github/workflows/unit-test-engine.yml index 7343ef82ea9..fef1f600514 100644 --- a/.github/workflows/unit-test-engine.yml +++ b/.github/workflows/unit-test-engine.yml @@ -84,9 +84,7 @@ jobs: run: | docker exec ${{ env.CONTAINER_NAME }} \ bash -c "cd /intel-extension-for-transformers/.github/workflows/script \ - && pip install torch==2.0 --extra-index-url https://download.pytorch.org/whl/cpu \ - && bash install_binary.sh \ - && pip install onnx" + && bash install_binary.sh" - name: Run UT run: |