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

Commit

Permalink
fix inc3.x install
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <[email protected]>
  • Loading branch information
XuehaoSun committed Jul 16, 2024
1 parent b12a11b commit a3d0b0d
Show file tree
Hide file tree
Showing 4 changed files with 37 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
2 changes: 1 addition & 1 deletion .github/workflows/unit-test-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
with:
submodules: "recursive"
ref: ${{ matrix.test_branch }}
fetch-tags: true
fetch-depth: 0

- name: Docker Build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test-neuralchat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
with:
submodules: "recursive"
ref: ${{ matrix.test_branch }}
fetch-tags: true
fetch-depth: 0

- name: docker Build
run: |
Expand Down

0 comments on commit a3d0b0d

Please sign in to comment.