Skip to content

Commit

Permalink
update mindspore dependency version in the requirements for main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
PingqiLi committed Jul 19, 2024
1 parent 2378249 commit 5b6b1d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ut_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
PYTHON_VERSION=$(python --version)
if [[ "$PYTHON_VERSION" == *"3.8"* ]]; then
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/2.3.0/MindSpore/unified/x86_64/mindspore-2.3.0-cp38-cp38-linux_x86_64.whl \
--trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
elif [[ "$PYTHON_VERSION" == *"3.9"* ]]; then
pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/2.3.0/MindSpore/unified/x86_64/mindspore-2.3.0-cp39-cp39-linux_x86_64.whl \
--trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
fi
pip install -r requirements-dev.txt
- name: Lint with pre-commit
uses: pre-commit/action@v3.0.0
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mindspore==2.0.0
mindspore==2.3.0
numpy>=1.17.0, <2
scipy>=1.6.0
pyyaml>=5.3
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mindspore==2.0.0
mindspore==2.3.0
numpy>=1.17.0, <2
scipy>=1.6.0
pyyaml>=5.3
Expand Down

0 comments on commit 5b6b1d5

Please sign in to comment.