parent
349bcb4bae
commit
60c2c0c3dc
3 changed files with 5 additions and 5 deletions
|
|
@ -14,6 +14,6 @@ runs:
|
||||||
mv linux-avx2/* python/llm/llm-binary/
|
mv linux-avx2/* python/llm/llm-binary/
|
||||||
mv linux-avx512/* python/llm/llm-binary/
|
mv linux-avx512/* python/llm/llm-binary/
|
||||||
mv windows-avx2/* python/llm/llm-binary/
|
mv windows-avx2/* python/llm/llm-binary/
|
||||||
rm -rf linux-avx2
|
rm -rf linux-avx2 || true
|
||||||
rm -rf linux-avx512
|
rm -rf linux-avx512 || true
|
||||||
rm -rf windows-avx2
|
rm -rf windows-avx2 || true
|
||||||
|
|
|
||||||
2
.github/workflows/llm-binary-build.yml
vendored
2
.github/workflows/llm-binary-build.yml
vendored
|
|
@ -11,7 +11,7 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- ".github/workflows/llm-pypi-release.yml"
|
- ".github/workflows/llm-binary-build.yml"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ exclude_patterns = ["*__pycache__*", "*ipynb_checkpoints*"]
|
||||||
BIGDL_PYTHON_HOME = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
BIGDL_PYTHON_HOME = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
VERSION = open(os.path.join(BIGDL_PYTHON_HOME, 'version.txt'), 'r').read().strip()
|
VERSION = open(os.path.join(BIGDL_PYTHON_HOME, 'version.txt'), 'r').read().strip()
|
||||||
llm_home = os.path.join(os.path.dirname(os.path.abspath(__file__)), "src")
|
llm_home = os.path.join(os.path.dirname(os.path.abspath(__file__)), "src")
|
||||||
github_artifact_dir = os.path.join(llm_home,'../llm-binary')
|
github_artifact_dir = os.path.join(llm_home, '../llm-binary')
|
||||||
libs_dir = os.path.join(llm_home, "bigdl", "llm", "libs")
|
libs_dir = os.path.join(llm_home, "bigdl", "llm", "libs")
|
||||||
CONVERT_DEP = ['numpy >= 1.22', 'torch', 'transformers', 'sentencepiece', 'accelerate']
|
CONVERT_DEP = ['numpy >= 1.22', 'torch', 'transformers', 'sentencepiece', 'accelerate']
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue