Update pypi tag to 2.2.0.dev0 (#11895)
This commit is contained in:
parent
18662dca1c
commit
c5b51d41fb
5 changed files with 11 additions and 11 deletions
8
.github/workflows/llm_performance_tests.yml
vendored
8
.github/workflows/llm_performance_tests.yml
vendored
|
|
@ -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"
|
||||
|
|
@ -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"
|
||||
|
|
@ -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"
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
6
.github/workflows/release-ipex-llm.yaml
vendored
6
.github/workflows/release-ipex-llm.yaml
vendored
|
|
@ -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:
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
4
.github/workflows/release-pypi.yml
vendored
4
.github/workflows/release-pypi.yml
vendored
|
|
@ -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:
|
||||
|
|
@ -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 }}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ exclude_patterns = ["*__pycache__*", "*ipynb_checkpoints*"]
|
|||
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")
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
2.1.0.dev0
|
||||
2.2.0.dev0
|
||||
|
|
|
|||
Loading…
Reference in a new issue