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
ModelZoo
Qwen_lmdeploy
Commits
f4422fab
Unverified
Commit
f4422fab
authored
Oct 16, 2023
by
Chen Xin
Committed by
GitHub
Oct 16, 2023
Browse files
free runner disk (#552)
* free runner disk * limit cpu * docker.yml * keep swap * keep swap
parent
0b861c48
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
20 deletions
+47
-20
.github/workflows/docker.yml
.github/workflows/docker.yml
+12
-13
.github/workflows/linux-x64-gpu.yml
.github/workflows/linux-x64-gpu.yml
+23
-7
.github/workflows/pypi.yml
.github/workflows/pypi.yml
+12
-0
No files found.
.github/workflows/docker.yml
View file @
f4422fab
...
@@ -24,19 +24,18 @@ jobs:
...
@@ -24,19 +24,18 @@ jobs:
steps
:
steps
:
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
-
name
:
Check disk space
-
name
:
Free disk space
run
:
|
uses
:
jlumbroso/free-disk-space@main
df -h
with
:
ls /opt/hostedtoolcache
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
rm -rf ${GITHUB_WORKSPACE}/.git
tool-cache
:
false
rm -rf /opt/hostedtoolcache/go
docker-images
:
false
rm -rf /opt/hostedtoolcache/node
# All of these default to true, but feel free to set to "false" if necessary for your workflow
rm -rf /opt/hostedtoolcache/Ruby
android
:
true
rm -rf /opt/hostedtoolcache/CodeQL
dotnet
:
true
cat /proc/cpuinfo | grep -ic proc
haskell
:
true
free
large-packages
:
true
df -h
swap-storage
:
false
df . -h
-
name
:
Get docker info
-
name
:
Get docker info
run
:
|
run
:
|
docker info
docker info
...
...
.github/workflows/linux-x64-gpu.yml
View file @
f4422fab
...
@@ -27,14 +27,30 @@ permissions:
...
@@ -27,14 +27,30 @@ permissions:
jobs
:
jobs
:
cuda-118
:
cuda-118
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
container
:
openmmlab/lmdeploy-builder:cuda11.8
steps
:
steps
:
-
name
:
Free disk space
uses
:
jlumbroso/free-disk-space@main
with
:
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
tool-cache
:
false
docker-images
:
false
# All of these default to true, but feel free to set to "false" if necessary for your workflow
android
:
true
dotnet
:
true
haskell
:
true
large-packages
:
true
swap-storage
:
false
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
-
name
:
Build
-
name
:
Build
run
:
|
uses
:
addnab/docker-run-action@v3
source /opt/conda/bin/activate
with
:
conda activate py38
image
:
openmmlab/lmdeploy-builder:cuda11.8
mkdir build && cd build
options
:
-v ${{ github.workspace }}:/work --cpus=1.8
bash ../generate.sh
run
:
|
make -j$(nproc) && make install
cd /work
source /opt/conda/bin/activate
conda activate py38
mkdir build && cd build
bash ../generate.sh
make -j$(nproc) && make install
.github/workflows/pypi.yml
View file @
f4422fab
...
@@ -21,6 +21,18 @@ jobs:
...
@@ -21,6 +21,18 @@ jobs:
DOCKER_TAG
:
cuda11.8
DOCKER_TAG
:
cuda11.8
OUTPUT_FOLDER
:
cuda11.8_dist
OUTPUT_FOLDER
:
cuda11.8_dist
steps
:
steps
:
-
name
:
Free disk space
uses
:
jlumbroso/free-disk-space@main
with
:
# This might remove tools that are actually needed, if set to "true" but frees about 6 GB
tool-cache
:
false
docker-images
:
false
# All of these default to true, but feel free to set to "false" if necessary for your workflow
android
:
true
dotnet
:
true
haskell
:
true
large-packages
:
true
swap-storage
:
false
-
name
:
Checkout repository
-
name
:
Checkout repository
uses
:
actions/checkout@v3
uses
:
actions/checkout@v3
-
name
:
Build
-
name
:
Build
...
...
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