Skip to content

Commit

Permalink
Update pypi tag to 2.2.0.dev0 (#11895)
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-shaojun authored Aug 22, 2024
1 parent 18662dc commit c5b51d4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/llm_performance_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
shell: bash
run: |
test_version_date=`date -d 'yesterday' '+%Y%m%d'`
test_version=2.1.0b$test_version_date
test_version=2.2.0b$test_version_date
pip install --pre --upgrade ipex-llm[xpu]==$test_version --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/
if ! pip show ipex-llm | grep $test_version; then
echo "Did not install ipex-llm with excepted version $test_version"
Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:
shell: bash
run: |
test_version_date=`date -d 'yesterday' '+%Y%m%d'`
test_version=2.1.0b$test_version_date
test_version=2.2.0b$test_version_date
pip install --pre --upgrade ipex-llm[all]==$test_version --extra-index-url https://download.pytorch.org/whl/cpu
if ! pip show ipex-llm | grep $test_version; then
echo "Did not install ipex-llm with excepted version $test_version"
Expand Down Expand Up @@ -481,7 +481,7 @@ jobs:
shell: bash
run: |
test_version_date=`date -d 'yesterday' '+%Y%m%d'`
test_version=2.1.0b$test_version_date
test_version=2.2.0b$test_version_date
pip install --pre --upgrade ipex-llm[all]==$test_version
if ! pip show ipex-llm | grep $test_version; then
echo "Did not install ipex-llm with excepted version $test_version"
Expand Down Expand Up @@ -575,7 +575,7 @@ jobs:
shell: bash
run: |
test_version_date=`date -d 'yesterday' '+%Y%m%d'`
test_version=2.1.0b$test_version_date
test_version=2.2.0b$test_version_date
echo "TEST_VERSION=${test_version}" >> "$GITHUB_ENV"
- name: Install ipex-llm and other related packages (install from pypi)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-ipex-llm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
workflow_dispatch:
inputs:
version:
description: 'ipex-llm version (e.g. 2.1.0b1)'
description: 'ipex-llm version (e.g. 2.2.0b1)'
required: true
default: '2.1.0b0'
default: '2.2.0b0'
type: string

permissions:
Expand All @@ -26,7 +26,7 @@ jobs:

- name: set release version
env:
DEFAULT_VERSION: '2.1.0b0'
DEFAULT_VERSION: '2.2.0b0'
run: |
echo "RELEASE_VERSION=${{ github.event.inputs.version || env.DEFAULT_VERSION }}" >> $GITHUB_ENV
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
required: false
type: string
release-version:
description: 'ipex-llm version (e.g. 2.1.0b1)'
description: 'ipex-llm version (e.g. 2.2.0b1)'
required: false
type: string
schedule-event:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
run: |
if [[ "${{ inputs.schedule-event }}" == "true" ]]; then
export TIMESTAMP=`date '+%Y%m%d'`
export PYPI_VERSION=2.1.0
export PYPI_VERSION=2.2.0
export RELEASE_VERSION=${PYPI_VERSION}b${TIMESTAMP}
else
export RELEASE_VERSION=${{ inputs.release-version }}
Expand Down
2 changes: 1 addition & 1 deletion python/llm/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
IPEX_LLM_PYTHON_HOME = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
VERSION = open(os.path.join(IPEX_LLM_PYTHON_HOME,
'./llm/version.txt'), 'r').read().strip()
CORE_XE_VERSION = VERSION.replace("2.1.0", "2.5.0")
CORE_XE_VERSION = VERSION.replace("2.2.0", "2.5.0")
llm_home = os.path.join(os.path.dirname(os.path.abspath(__file__)), "src")
github_artifact_dir = os.path.join(llm_home, '../llm-binary')
libs_dir = os.path.join(llm_home, "ipex_llm", "libs")
Expand Down
2 changes: 1 addition & 1 deletion python/llm/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1.0.dev0
2.2.0.dev0

0 comments on commit c5b51d4

Please sign in to comment.