Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ name: integration
on:
repository_dispatch:
type: [integration-test-command]
push:
branches:
- add-spatial-resample

jobs:
integration-py3:
container:
image: nvcr.io/nvidia/pytorch:20.12-py3 # CUDA 11.1
image: nvcr.io/nvidia/pytorch:21.12-py3 # CUDA 11.5
options: --gpus all
runs-on: [self-hosted, linux, x64, common]
steps:
Expand All @@ -37,7 +34,7 @@ jobs:
which python
python -m pip install --upgrade pip wheel
python -m pip uninstall -y torch torchvision
python -m pip install torch==1.11+cu111 torchvision==0.12+cu111 -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install torch==1.11.0+cu115 torchvision==0.12.0+cu115 -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install -r requirements-dev.txt
- name: Run integration tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/min_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def run_testsuit():
"test_integration_unet_2d",
"test_integration_workflows",
"test_integration_workflows_gan",
"test_integration_bundle_run",
"test_invertd",
"test_iterable_dataset",
"test_keep_largest_connected_component",
Expand Down Expand Up @@ -159,7 +160,6 @@ def run_testsuit():
"test_zoomd",
"test_prepare_batch_default_dist",
"test_parallel_execution_dist",
"test_bundle_run",
"test_bundle_verify_metadata",
]
assert sorted(exclude_cases) == sorted(set(exclude_cases)), f"Duplicated items in {exclude_cases}"
Expand Down
File renamed without changes.
18 changes: 9 additions & 9 deletions tests/testing_data/inference.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"in_channels": 1,
"out_channels": 2,
"channels": [
16,
32,
64,
128,
256
2,
2,
4,
8,
4
],
"strides": [
2,
Expand Down Expand Up @@ -63,12 +63,12 @@
"inferer": {
"_target_": "SlidingWindowInferer",
"roi_size": [
96,
96,
96
64,
Comment thread
wyli marked this conversation as resolved.
64,
32
],
"sw_batch_size": 4,
"overlap": 0.5
"overlap": 0.25
},
"postprocessing": {
"_target_": "Compose",
Expand Down
18 changes: 9 additions & 9 deletions tests/testing_data/inference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ network_def:
in_channels: 1
out_channels: 2
channels:
- 16
- 32
- 64
- 128
- 256
- 2
- 2
- 4
- 8
- 4
strides:
- 2
- 2
Expand Down Expand Up @@ -46,11 +46,11 @@ dataloader:
inferer:
_target_: SlidingWindowInferer
roi_size:
- 96
- 96
- 96
- 64
- 64
- 32
sw_batch_size: 4
overlap: 0.5
overlap: 0.25
postprocessing:
_target_: Compose
transforms:
Expand Down