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
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:
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v3
-
name
:
Check disk space
run
:
|
df -h
ls /opt/hostedtoolcache
rm -rf ${GITHUB_WORKSPACE}/.git
rm -rf /opt/hostedtoolcache/go
rm -rf /opt/hostedtoolcache/node
rm -rf /opt/hostedtoolcache/Ruby
rm -rf /opt/hostedtoolcache/CodeQL
cat /proc/cpuinfo | grep -ic proc
free
df -h
df . -h
-
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
:
Get docker info
run
:
|
docker info
...
...
.github/workflows/linux-x64-gpu.yml
View file @
f4422fab
...
...
@@ -27,14 +27,30 @@ permissions:
jobs
:
cuda-118
:
runs-on
:
ubuntu-latest
container
:
openmmlab/lmdeploy-builder:cuda11.8
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
uses
:
actions/checkout@v3
-
name
:
Build
run
:
|
source /opt/conda/bin/activate
conda activate py38
mkdir build && cd build
bash ../generate.sh
make -j$(nproc) && make install
uses
:
addnab/docker-run-action@v3
with
:
image
:
openmmlab/lmdeploy-builder:cuda11.8
options
:
-v ${{ github.workspace }}:/work --cpus=1.8
run
:
|
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:
DOCKER_TAG
:
cuda11.8
OUTPUT_FOLDER
:
cuda11.8_dist
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
uses
:
actions/checkout@v3
-
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