Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICV-mmengine_basecode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Schiffel
ICV-mmengine_basecode
Commits
c22e900f
Unverified
Commit
c22e900f
authored
2 years ago
by
Mashiro
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add torch1.13 checking in CI (#752)
* Update CI * Update CI * restore python -m pip to pip * refine
parent
6a3028c0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.circleci/test.yml
+2
-2
2 additions, 2 deletions
.circleci/test.yml
.github/workflows/merge_stage_test.yml
+52
-4
52 additions, 4 deletions
.github/workflows/merge_stage_test.yml
.github/workflows/pr_stage_test.yml
+1
-1
1 addition, 1 deletion
.github/workflows/pr_stage_test.yml
with
55 additions
and
7 deletions
.circleci/test.yml
+
2
−
2
View file @
c22e900f
...
...
@@ -168,8 +168,8 @@ workflows:
-
lint
-
build_cpu
:
name
:
maximum_version_cpu
torch
:
1.1
2.1
torchvision
:
0.1
3.1
torch
:
1.1
3.0
torchvision
:
0.1
4.0
python
:
3.9.0
requires
:
-
minimum_version_cpu
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/merge_stage_test.yml
+
52
−
4
View file @
c22e900f
...
...
@@ -36,7 +36,7 @@ jobs:
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Upgrade pip
run
:
pip install pip --upgrade
run
:
python -m
pip install pip --upgrade
-
name
:
Install PyTorch
run
:
pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
-
name
:
Build MMEngine from source
...
...
@@ -57,7 +57,7 @@ jobs:
strategy
:
matrix
:
python-version
:
[
3.7
]
torch
:
[
1.6.0
,
1.7.1
,
1.8.1
,
1.9.1
,
1.10.1
,
1.11.0
,
1.12.0
]
torch
:
[
1.6.0
,
1.7.1
,
1.8.1
,
1.9.1
,
1.10.1
,
1.11.0
,
1.12.0
,
1.13.0
]
include
:
-
torch
:
1.6.0
torchvision
:
0.7.0
...
...
@@ -80,7 +80,7 @@ jobs:
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Upgrade pip
run
:
pip install pip --upgrade
run
:
python -m
pip install pip --upgrade
-
name
:
Install PyTorch
run
:
pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
-
name
:
Build MMEngine from source
...
...
@@ -125,7 +125,7 @@ jobs:
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Upgrade pip
run
:
pip install pip --upgrade
run
:
python -m
pip install pip --upgrade
-
name
:
Fetch GPG keys
run
:
|
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
...
...
@@ -145,6 +145,54 @@ jobs:
coverage xml
coverage report -m
build_cu116
:
runs-on
:
ubuntu-18.04
container
:
image
:
pytorch/pytorch:1.13.0-cuda11.6-cudnn8-devel
strategy
:
matrix
:
python-version
:
[
3.7
]
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v2
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Upgrade pip
run
:
python -m pip install pip --upgrade
-
name
:
Fetch GPG keys
run
:
|
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
-
name
:
Install system dependencies
run
:
apt-get update && apt-get install -y git ffmpeg libturbojpeg
-
name
:
Build MMEngine from source
run
:
pip install -e . -v
-
name
:
Install unit tests dependencies
run
:
|
pip install -r requirements/tests.txt
pip install openmim
mim install 'mmcv>=2.0.0rc1'
-
name
:
Run unittests and generate coverage report
run
:
|
coverage run --branch --source mmengine -m pytest tests/
coverage xml
coverage report -m
build_macos
:
runs-on
:
macos-latest
strategy
:
matrix
:
python-version
:
[
3.7
]
torch
:
[
1.6.0
,
1.8.1
,
1.13.0
]
include
:
-
torch
:
1.6.0
torchvision
:
0.7.0
-
torch
:
1.8.1
torchvision
:
0.9.1
-
torch
:
1.13.0
torchvision
:
0.14.0
build_windows
:
runs-on
:
${{ matrix.os }}
strategy
:
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/pr_stage_test.yml
+
1
−
1
View file @
c22e900f
...
...
@@ -33,7 +33,7 @@ jobs:
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Upgrade pip
run
:
pip install pip --upgrade
run
:
python -m
pip install pip --upgrade
-
name
:
Install PyTorch
run
:
pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
-
name
:
Build MMEngine from source
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment