Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
c7f2cf2b
Unverified
Commit
c7f2cf2b
authored
May 04, 2024
by
Simon Mo
Committed by
GitHub
May 04, 2024
Browse files
[CI] Reduce wheel size by not shipping debug symbols (#4602)
parent
8d8357c8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
.buildkite/check-wheel-size.py
.buildkite/check-wheel-size.py
+3
-0
.github/workflows/publish.yml
.github/workflows/publish.yml
+2
-0
No files found.
.buildkite/check-wheel-size.py
View file @
c7f2cf2b
...
...
@@ -25,6 +25,9 @@ def check_wheel_size(directory):
f
"compare to the allowed size (
{
MAX_SIZE_MB
}
MB)."
)
print_top_10_largest_files
(
wheel_path
)
return
1
else
:
print
(
f
"Wheel
{
wheel_path
}
is within the allowed size "
f
"(
{
wheel_size_mb
}
MB)."
)
return
0
...
...
.github/workflows/publish.yml
View file @
c7f2cf2b
...
...
@@ -79,6 +79,8 @@ jobs:
-
name
:
Build wheel
shell
:
bash
env
:
CMAKE_BUILD_TYPE
:
Release
# do not compile with debug symbol to reduce wheel size
run
:
|
bash -x .github/workflows/scripts/build.sh ${{ matrix.python-version }} ${{ matrix.cuda-version }}
wheel_name=$(ls dist/*whl | xargs -n 1 basename)
...
...
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