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
ca0364bb
Unverified
Commit
ca0364bb
authored
2 years ago
by
Mashiro
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Fix] Fix merge ci & multiprocessing unit test (#529)
* fix merge ci * make timeout larger
parent
75202103
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/merge_stage_test.yml
+6
-1
6 additions, 1 deletion
.github/workflows/merge_stage_test.yml
mmengine/testing/_internal/distributed.py
+1
-1
1 addition, 1 deletion
mmengine/testing/_internal/distributed.py
with
7 additions
and
2 deletions
.github/workflows/merge_stage_test.yml
+
6
−
1
View file @
ca0364bb
...
@@ -169,5 +169,10 @@ jobs:
...
@@ -169,5 +169,10 @@ jobs:
pip install -r requirements/tests.txt
pip install -r requirements/tests.txt
pip install openmim
pip install openmim
mim install 'mmcv>=2.0.0rc1'
mim install 'mmcv>=2.0.0rc1'
-
name
:
Run unittests
-
name
:
Run
CPU
unittests
run
:
pytest tests/
run
:
pytest tests/
if
:
${{ matrix.platform == 'cpu' }}
-
name
:
Run GPU unittests
# Skip testing distributed related unit tests since the memory of windows CI is limited
run
:
pytest tests/ --ignore tests/test_dist --ignore tests/test_optim/test_optimizer/test_optimizer_wrapper.py --ignore tests/test_model/test_wrappers/test_model_wrapper.py
if
:
${{ matrix.platform == 'cu111' }}
This diff is collapsed.
Click to expand it.
mmengine/testing/_internal/distributed.py
+
1
−
1
View file @
ca0364bb
...
@@ -73,7 +73,7 @@ class MultiProcessTestCase(TestCase):
...
@@ -73,7 +73,7 @@ class MultiProcessTestCase(TestCase):
@property
@property
def
timeout
(
self
)
->
int
:
def
timeout
(
self
)
->
int
:
return
5
00
return
10
00
def
join_or_run
(
self
,
fn
):
def
join_or_run
(
self
,
fn
):
...
...
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