Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Lmdeploy
Commits
7990d252
Unverified
Commit
7990d252
authored
Dec 04, 2023
by
Chen Xin
Committed by
GitHub
Dec 04, 2023
Browse files
add cuda12.1 build check ci (#782)
* update cuda12.1 build check ci * use matrix
parent
7f943a26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
.github/workflows/linux-x64-gpu.yml
.github/workflows/linux-x64-gpu.yml
+7
-3
.github/workflows/windows-x64-gpu.yml
.github/workflows/windows-x64-gpu.yml
+6
-2
No files found.
.github/workflows/linux-x64-gpu.yml
View file @
7990d252
...
@@ -25,7 +25,11 @@ permissions:
...
@@ -25,7 +25,11 @@ permissions:
contents
:
read
contents
:
read
jobs
:
jobs
:
cuda-118
:
build
:
strategy
:
matrix
:
cudaver
:
[
11.8
,
12.1
]
name
:
cuda-${{ matrix.cudaver }}
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
name
:
Free disk space
-
name
:
Free disk space
...
@@ -45,8 +49,8 @@ jobs:
...
@@ -45,8 +49,8 @@ jobs:
-
name
:
Build
-
name
:
Build
uses
:
addnab/docker-run-action@v3
uses
:
addnab/docker-run-action@v3
with
:
with
:
image
:
openmmlab/lmdeploy-builder:cuda
11.8
image
:
openmmlab/lmdeploy-builder:cuda
${{ matrix.cudaver }}
options
:
-v ${{ github.workspace }}:/work
--cpus=1.8
options
:
-v ${{ github.workspace }}:/work
run
:
|
run
:
|
cd /work
cd /work
source /opt/conda/bin/activate
source /opt/conda/bin/activate
...
...
.github/workflows/windows-x64-gpu.yml
View file @
7990d252
...
@@ -25,7 +25,11 @@ permissions:
...
@@ -25,7 +25,11 @@ permissions:
contents
:
read
contents
:
read
jobs
:
jobs
:
cuda-118
:
build
:
strategy
:
matrix
:
cudaver
:
[
11.8.0
,
12.1.0
]
name
:
cuda-${{ matrix.cudaver }}
runs-on
:
windows-latest
runs-on
:
windows-latest
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
...
@@ -40,7 +44,7 @@ jobs:
...
@@ -40,7 +44,7 @@ jobs:
-
uses
:
Jimver/cuda-toolkit@v0.2.11
-
uses
:
Jimver/cuda-toolkit@v0.2.11
id
:
cuda-toolkit
id
:
cuda-toolkit
with
:
with
:
cuda
:
'
11.8.0'
cuda
:
${{ matrix.cudaver }}
use-github-cache
:
false
use-github-cache
:
false
-
name
:
Build wheel
-
name
:
Build wheel
run
:
|
run
:
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment