Update build file and workflow (#1551)

* update build file

* update setup file

* update fairseq dep

* fix error log
This commit is contained in:
Yunlin Mao
2025-12-02 10:50:39 +08:00
committed by GitHub
parent 6f3200dfc2
commit 9cb7ce7029
9 changed files with 39 additions and 29 deletions

View File

@@ -32,7 +32,6 @@ jobs:
- name: Fetch LFS objects
run: |
git lfs install --local --force
git lfs pull
- name: Run unittest

View File

@@ -24,8 +24,7 @@ jobs:
- name: Build ModelScope
# Build AST template before packaging
run: |
python -c "from modelscope.utils.ast_utils import generate_ast_template; generate_ast_template()"
python setup.py sdist bdist_wheel
make whl
- name: Publish package to PyPI
run: |
pip install twine