mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-06-22 05:29:36 +00:00
[hotfix] update requirements-test (#701)
This commit is contained in:
parent
1ae94ea85a
commit
70e8dd418b
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -22,13 +22,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
pip install -U pip setuptools wheel --user
|
pip install -U pip setuptools wheel --user
|
||||||
pip install pytest tensorboard transformers
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}
|
ssh-key: ${{ secrets.SSH_KEY_FOR_CI }}
|
||||||
- name: Install Colossal-AI
|
- name: Install Colossal-AI
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements/requirements.txt
|
pip install -r requirements/requirements.txt
|
||||||
|
pip install -r requirements/requirements-test.txt
|
||||||
pip install -v --no-cache-dir .
|
pip install -v --no-cache-dir .
|
||||||
- name: Unit Testing
|
- name: Unit Testing
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/compatibility_test.yml
vendored
2
.github/workflows/compatibility_test.yml
vendored
@ -48,11 +48,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
pip install -U pip setuptools wheel --user
|
pip install -U pip setuptools wheel --user
|
||||||
pip install pytest tensorboard transformers
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install Colossal-AI
|
- name: Install Colossal-AI
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements/requirements.txt
|
pip install -r requirements/requirements.txt
|
||||||
|
pip install -r requirements/requirements-test.txt
|
||||||
pip install -v --no-cache-dir .
|
pip install -v --no-cache-dir .
|
||||||
- name: Unit Testing
|
- name: Unit Testing
|
||||||
run: |
|
run: |
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
pytest
|
pytest
|
||||||
rpyc
|
rpyc
|
||||||
matplotlib
|
matplotlib
|
||||||
|
tensorboard
|
||||||
|
transformers
|
||||||
|
Loading…
Reference in New Issue
Block a user