-
Notifications
You must be signed in to change notification settings - Fork 636
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into support-htc
- Loading branch information
Showing
65 changed files
with
1,461 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -268,12 +268,14 @@ jobs: | |
COLOR: ${{ steps.badge_status.conclusion == 'success' && 'green' || 'red' }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
build_cuda113_linux: | ||
build_cuda118_linux: | ||
needs: [build_cpu_model_convert, build_cpu_sdk, build_cuda117] | ||
runs-on: [self-hosted, linux-3090] | ||
container: | ||
image: openmmlab/mmdeploy:ubuntu20.04-cuda11.3 | ||
image: openmmlab/mmdeploy:ubuntu20.04-cuda11.8 | ||
options: "--gpus=all --ipc=host" | ||
volumes: | ||
- /data2/pip-cache:/root/.cache/pip | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
@@ -313,17 +315,17 @@ jobs: | |
if: always() | ||
uses: RubbaBoy/[email protected] | ||
with: | ||
NAME: build_cuda113_linux | ||
NAME: build_cuda118_linux | ||
LABEL: 'build' | ||
STATUS: ${{ steps.badge_status.conclusion == 'success' && 'passing' || 'failing' }} | ||
COLOR: ${{ steps.badge_status.conclusion == 'success' && 'green' || 'red' }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
build_cuda113_windows: | ||
build_cuda118_windows: | ||
needs: [build_cpu_model_convert, build_cpu_sdk, build_cuda117] | ||
runs-on: [self-hosted, win10-3080] | ||
env: | ||
BASE_ENV: cuda11.3-cudnn8.2-py3.8-torch1.10 | ||
BASE_ENV: mmdeploy-cuda11.8-torch2.0-py38 | ||
defaults: | ||
run: | ||
shell: powershell | ||
|
@@ -356,18 +358,18 @@ jobs: | |
python -V | ||
mkdir build | ||
cd build | ||
cmake .. -A x64 -T v142 ` | ||
cmake .. -A x64 -T v142,cuda=$env:CUDA_PATH ` | ||
-DMMDEPLOY_BUILD_TEST=ON ` | ||
-DMMDEPLOY_BUILD_SDK_CSHARP_API=ON ` | ||
-DMMDEPLOY_BUILD_SDK_PYTHON_API=ON ` | ||
-DMMDEPLOY_BUILD_SDK=ON ` | ||
-DMMDEPLOY_TARGET_DEVICES='cuda' ` | ||
-DMMDEPLOY_TARGET_BACKENDS='ort;trt' ` | ||
-DMMDEPLOY_CODEBASES='all' ` | ||
-Dpplcv_DIR="$env:PPLCV_DIR\pplcv-build\install\lib\cmake\ppl" ` | ||
-DOpenCV_DIR="$env:OPENCV_DIR\build\x64\vc15\lib" ` | ||
-Dpplcv_DIR="$env:pplcv_DIR" ` | ||
-DOpenCV_DIR="$env:OpenCV_DIR" ` | ||
-DTENSORRT_DIR="$env:TENSORRT_DIR" ` | ||
-DONNXRUNTIME_DIR="$env:ONNXRUNTIME_DIR" ` | ||
-DONNXRUNTIME_DIR="$env:ONNXRUNTIME_GPU_DIR" ` | ||
-DMMDEPLOY_BUILD_EXAMPLES=ON ` | ||
-DCUDNN_DIR="$env:CUDNN_DIR" | ||
cmake --build . --config Release -- /m | ||
|
@@ -382,21 +384,23 @@ jobs: | |
run: | | ||
conda activate $env:TEMP_ENV | ||
$env:path = "$pwd\build\bin\Release;" + $env:path | ||
$env:path = "$env:ONNXRUNTIME_GPU_DIR\lib;" + $env:path | ||
echo $env:path | ||
.github\scripts\windows\test_full_pipeline.ps1 -Backend trt -Device cuda | ||
- name: Clear temp env | ||
if: always() | ||
run: | | ||
conda env remove --prefix "$env:TEMP_ENV" | ||
badge_build_cuda113_windows: | ||
needs: build_cuda113_windows | ||
badge_build_cuda118_windows: | ||
needs: build_cuda118_windows | ||
if: always() | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: create badge | ||
uses: RubbaBoy/[email protected] | ||
with: | ||
NAME: build_cuda113_windows | ||
NAME: build_cuda118_windows | ||
LABEL: 'build' | ||
STATUS: ${{ needs.build_cuda113_windows.result == 'success' && 'passing' || needs.build_cuda113_windows.result }} | ||
COLOR: ${{ needs.build_cuda113_windows.result == 'success' && 'green' || 'red' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,7 @@ | |
0: 'batch' | ||
} | ||
}) | ||
|
||
codebase_config = dict( | ||
export_postprocess=False # do not export get_simcc_maximum | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.