Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into hengguo/h2o
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaoSun authored Jul 16, 2024
2 parents 3fad641 + bc268c5 commit 46fa4d7
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 3 deletions.
34 changes: 34 additions & 0 deletions .github/checkgroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,40 @@ subprojects:
- "optimize-unit-test-PR-test"
- "Genreate-OptimizeUT-Report"

# - id: "NeuralChat Unit Test"
# paths:
# - ".github/workflows/unit-test-neuralchat.yml"
# - ".github/workflows/script/unitTest/run_unit_test_neuralchat.sh"
# - "intel_extension_for_transformers/neural_chat/**"
# - "requirements.txt"
# - "setup.py"
# - "intel_extension_for_transformers/transformers/llm/finetuning/**"
# - "intel_extension_for_transformers/transformers/llm/quantization/**"
# - "intel_extension_for_transformers/transformers/**"
# - "intel_extension_for_transformers/langchain/**"
# - "!intel_extension_for_transformers/neural_chat/docs/**"
# - "!intel_extension_for_transformers/neural_chat/examples/**"
# - "!intel_extension_for_transformers/neural_chat/assets/**"
# - "!intel_extension_for_transformers/neural_chat/README.md"
# checks:
# - "neuralchat-unit-test-baseline"
# - "neuralchat-unit-test-PR-test"
# - "Generate-NeuralChat-Report"

- id: "Engine Unit Test workflow"
paths:
- ".github/workflows/unit-test-engine.yml"
- "requirements.txt"
- "setup.py"
- intel_extension_for_transformers/transformers/**
- "intel_extension_for_transformers/transformers/runtime/**"
- "!intel_extension_for_transformers/transformers/runtime/kernels/**"
- "!intel_extension_for_transformers/transformers/runtime/third_party/**"
- "!intel_extension_for_transformers/transformers/runtime/docs/**"
checks:
- "engine-unit-test-baseline"
- "engine-unit-test-PR-test"
- "Genreate-Engine-Report"

# - id: "Windows Binary Test"
# paths:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/script/unitTest/env_setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pip list

inc=$(pip list | grep -c 'neural-compressor') || true # Prevent from exiting when 'inc' not found
inc=$(pip list | grep -c 'neural[-_]compressor') || true # Prevent from exiting when 'inc' not found
if [ ${inc} != 0 ]; then
pip uninstall neural-compressor -y
pip list
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit-test-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
engine-unit-test:
runs-on: [self-hosted, linux, X64, itrex-node]
strategy:
fail-fast: true
matrix:
include:
- test_branch: ${{ github.ref }}
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
with:
submodules: "recursive"
ref: ${{ matrix.test_branch }}
fetch-tags: true
fetch-depth: 0

- name: Docker Build
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit-test-neuralchat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
neuralchat-unit-test:
runs-on: [self-hosted, Linux, X64, itrex-node]
strategy:
fail-fast: true
matrix:
include:
- test_branch: ${{ github.ref }}
Expand Down Expand Up @@ -69,7 +70,7 @@ jobs:
with:
submodules: "recursive"
ref: ${{ matrix.test_branch }}
fetch-tags: true
fetch-depth: 0

- name: docker Build
run: |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
--extra-index-url https://download.pytorch.org/whl/cpu
accelerate
datasets
git+https://github.com/huggingface/optimum-intel.git@50d867c13b22c22eda451ddb67bddb8159670f85
intel-extension-for-pytorch==2.3.0
intel-tensorflow==2.12.0
onnx
Expand Down

0 comments on commit 46fa4d7

Please sign in to comment.