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

Commit

Permalink
update test (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
VincyZhang authored Mar 21, 2024
1 parent 494a571 commit 62b1e88
Show file tree
Hide file tree
Showing 15 changed files with 14 additions and 65 deletions.
8 changes: 0 additions & 8 deletions .github/checkgroup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,6 @@ subprojects:
checks:
- "Windows-Binary-Test"

- id: "SparseLib Tests workflow"
paths:
- "intel_extension_for_transformers/transformers/runtime/kernels/**"
- ".github/workflows/sparse_lib_CI.yml"
- ".github/workflows/script/SparseLibCI"
checks:
- "sparselib"

- id: "LLM Model Test workflow"
paths:
- ".github/workflows/llm-test.yml"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/deploy-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,6 @@ jobs:
-v /dataset/cache/huggingface:/root/.cache/huggingface \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/format_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ jobs:
-v ${{ github.workspace }}:/intel-extension-for-transformers \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Code scan check
run: |
docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/optimize-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ jobs:
-v ~/.cache/oneAPI:/cache \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/script/formatScan/pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

source /intel-extension-for-transformers/.github/workflows/script/change_color.sh
cd /intel-extension-for-transformers
pip install -U pip
$BOLD_YELLOW && echo "---------------- git submodule update --init --recursive -------------" && $RESET
git config --global --add safe.directory "*"
git submodule update --init --recursive
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/script/install_binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source /intel-extension-for-transformers/.github/workflows/script/change_color.s

cd /intel-extension-for-transformers
export CMAKE_ARGS="-DNE_DNNL_CACHE_DIR=/cache"
pip install -U pip
$BOLD_YELLOW && echo "---------------- git submodule update --init --recursive -------------" && $RESET
git config --global --add safe.directory "*"
git submodule update --init --recursive
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/script/prepare_env_with_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ fi

conda create -n ${conda_env_name} python=${python_version} -y
source activate ${conda_env_name} || conda activate ${conda_env_name}
pip install -U pip

if [ -f "requirements.txt" ]; then
python -m pip install --default-timeout=100 -r requirements.txt
pip list
else
echo "Not found requirements.txt file."
fi
#pip install -U pip
#
#if [ -f "requirements.txt" ]; then
# python -m pip install --default-timeout=100 -r requirements.txt
# pip list
#else
# echo "Not found requirements.txt file."
#fi
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ function main() {
wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
dpkg -i libssl1.1_1.1.1f-1ubuntu2.19_amd64.deb
python -m pip install --upgrade --force-reinstall torch==2.2.0
pip install paddlepaddle==2.4.2 paddlenlp==2.5.2 paddlespeech==1.4.1 paddle2onnx==1.0.6 fastapi==0.103.2
python -m pip install fastapi==0.103.2
cd ${WORKING_DIR} || exit 1
echo "test on ${test_name}"
if [[ $test_name == "PR-test" ]]; then
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/sparse_lib_CI.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
name: SparseLib

on:
pull_request:
branches: [main]
paths:
- 'intel_extension_for_transformers/transformers/runtime/kernels/**'
- '.github/workflows/sparse_lib_CI.yml'
- '.github/workflows/script/SparseLibCI'
workflow_dispatch:

# If there is a new commit, the previous jobs will be canceled
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/unit-test-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ jobs:
-v /dataset/cache/huggingface:/root/.cache/huggingface \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/unit-test-kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ jobs:
-v ~/.cache/oneAPI:/cache \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/unit-test-neuralchat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ jobs:
-v /dataset/tf_dataset2:/tf_dataset2 \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/unit-test-neuralspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ jobs:
-v ~/.cache/oneAPI:/cache \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }}-${{ runner.name }} \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/unit-test-optimize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ jobs:
-v ~/.cache/oneAPI:/cache \
${{ env.REPO_NAME }}:${{ env.REPO_TAG }}
- name: Env build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
bash /intel-extension-for-transformers/.github/workflows/script/prepare_env.sh
- name: Binary build
run: |
docker exec ${{ env.CONTAINER_NAME }} \
Expand Down
5 changes: 3 additions & 2 deletions docs/publication.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Full Publications/Events (41)
Full Publications/Events (42)
==========

## 2024 (2)
* Blog of Intel Developer News: [Use the neural-chat-7b Model for Advanced Fraud Detection: An AI-Driven Approach in Cybersecurity](https://www.intel.com/content/www/us/en/developer/articles/technical/bilics-approach-cybersecurity-using-neuralchat-7b.html) (March 2024)
* CES 2024: [CES 2024 Great Minds Keynote: Bringing the Limitless Potential of AI Everywhere: Intel Hybrid Copilot demo](https://youtu.be/70J3uO3eLZA?t=1348) (Jan 2024)


## 2023 (33)
## 2023 (34)
* Blog published on Hugging Face: [2023, year of open LLMs](https://huggingface.co/blog/2023-in-llms) (Dec 2023)
* Blog published on Medium: [Connect an AI agent with your API: Intel Neural-Chat 7b LLM can replace Open AI Function Calling](https://medium.com/11tensors/connect-an-ai-agent-with-your-api-intel-neural-chat-7b-llm-can-replace-open-ai-function-calling-242d771e7c79) (Dec 2023)
* Blog published on 360 EEA (A News Platform about AI and LLMs): [Intel neural-chat-7b-v3-1](https://360eea.com/intel-neural-chat-7b-v3-1/) (Dec 2023)
* Apple Podcasts from Papers Read on AI: [Efficient LLM Inference on CPUs](https://podcasts.apple.com/us/podcast/efficient-llm-inference-on-cpus/id1577699357?i=1000637269932) (Dec 2023)
Expand Down

0 comments on commit 62b1e88

Please sign in to comment.