Skip to content

Commit

Permalink
update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-shaojun committed Mar 25, 2024
1 parent dc39902 commit 965afc6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/llm-nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ permissions:
on:
schedule:
- cron: "00 13 * * *" # GMT time, 13:00 GMT == 21:00 China
pull_request:
branches: [main]
paths:
- ".github/workflows/llm-nightly-test.yml"
- ".github/actions/llm/setup-llm-env/action.yml"
- ".github/actions/llm/remove-llm-env/action.yml"
- ".github/actions/llm/convert-test/action.yml"
# pull_request:
# branches: [main]
# paths:
# - ".github/workflows/llm-nightly-test.yml"
# - ".github/actions/llm/setup-llm-env/action.yml"
# - ".github/actions/llm/remove-llm-env/action.yml"
# - ".github/actions/llm/convert-test/action.yml"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/llm_example_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ permissions:
on:
# schedule:
# - cron: '00 13 * * *' # GMT time, 13:00 GMT == 21:00 China
pull_request:
branches: [ main ]
paths:
- '.github/workflows/llm_example_tests.yml'
- '.github/workflows/llm-binary-build.yml'
- '.github/actions/llm/example-test/action.yml'
- '.github/actions/llm/setup-llm-env/action.yml'
- '.github/actions/llm/remove-llm-env/action.yml'
- '.github/actions/llm/download-llm-binary/action.yml'
- 'python/llm/dev/test/run-example-tests.sh'
- 'python/llm/example/**'
# pull_request:
# branches: [ main ]
# paths:
# - '.github/workflows/llm_example_tests.yml'
# - '.github/workflows/llm-binary-build.yml'
# - '.github/actions/llm/example-test/action.yml'
# - '.github/actions/llm/setup-llm-env/action.yml'
# - '.github/actions/llm/remove-llm-env/action.yml'
# - '.github/actions/llm/download-llm-binary/action.yml'
# - 'python/llm/dev/test/run-example-tests.sh'
# - 'python/llm/example/**'
workflow_dispatch:
workflow_call:

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/llm_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ on:
- ".github/actions/llm/cli-test-linux/action.yml"
- ".github/actions/llm/cli-test-windows/action.yml"
- ".github/actions/llm/download-llm-binary/action.yml"
pull_request:
branches: [main]
paths:
- "python/llm/**"
- ".github/workflows/llm_unit_tests.yml"
- ".github/workflows/llm-binary-build.yml"
- ".github/actions/llm/setup-llm-env/action.yml"
- ".github/actions/llm/remove-llm-env/action.yml"
- ".github/actions/llm/cli-test-linux/action.yml"
- ".github/actions/llm/cli-test-windows/action.yml"
- ".github/actions/llm/download-llm-binary/action.yml"
# pull_request:
# branches: [main]
# paths:
# - "python/llm/**"
# - ".github/workflows/llm_unit_tests.yml"
# - ".github/workflows/llm-binary-build.yml"
# - ".github/actions/llm/setup-llm-env/action.yml"
# - ".github/actions/llm/remove-llm-env/action.yml"
# - ".github/actions/llm/cli-test-linux/action.yml"
# - ".github/actions/llm/cli-test-windows/action.yml"
# - ".github/actions/llm/download-llm-binary/action.yml"
workflow_dispatch:
workflow_call:

Expand Down
4 changes: 2 additions & 2 deletions python/llm/dev/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ upload=$3 # Whether to upload the whl to pypi

if [ "${version}" != "default" ]; then
echo "User specified version: ${version}"
echo $version > $BIGDL_DIR/python/version.txt
echo $version > $BIGDL_DIR/python/llm/version.txt
fi

ipex_llm_version=$(cat $BIGDL_DIR/python/version.txt | head -1)
ipex_llm_version=$(cat $BIGDL_DIR/python/llm/version.txt | head -1)
echo "The effective version is: ${ipex_llm_version}"

if [ "$platform" == "linux" ]; then
Expand Down

0 comments on commit 965afc6

Please sign in to comment.