We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8357c commit c7f2cf2Copy full SHA for c7f2cf2
.buildkite/check-wheel-size.py
@@ -25,6 +25,9 @@ def check_wheel_size(directory):
25
f"compare to the allowed size ({MAX_SIZE_MB} MB).")
26
print_top_10_largest_files(wheel_path)
27
return 1
28
+ else:
29
+ print(f"Wheel {wheel_path} is within the allowed size "
30
+ f"({wheel_size_mb} MB).")
31
return 0
32
33
.github/workflows/publish.yml
@@ -79,6 +79,8 @@ jobs:
79
80
- name: Build wheel
81
shell: bash
82
+ env:
83
+ CMAKE_BUILD_TYPE: Release # do not compile with debug symbol to reduce wheel size
84
run: |
85
bash -x .github/workflows/scripts/build.sh ${{ matrix.python-version }} ${{ matrix.cuda-version }}
86
wheel_name=$(ls dist/*whl | xargs -n 1 basename)
0 commit comments