A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 16, 04:30 UTC
[CI][Misc] Remove Github Action Release Workflow (#11274)
Simon Mo committed
Dec 18, 2024 at 10:16 UTC
362cff1eb3d6c1af434d29e8ed022dec048211fa
1 file changed
+62
-61
.github/workflows/publish.yml
+62
-61
@@ -39,67 +39,68 @@ jobs:
39
const script = require('.github/workflows/scripts/create_release.js')
40
await script(github, context, core)
41
42
- wheel:
43
- name: Build Wheel
44
- runs-on: ${{ matrix.os }}
45
- needs: release
46
-
47
- strategy:
48
- fail-fast: false
49
- matrix:
50
- os: ['ubuntu-20.04']
51
- python-version: ['3.9', '3.10', '3.11', '3.12']
52
- pytorch-version: ['2.4.0'] # Must be the most recent version that meets requirements-cuda.txt.
53
- cuda-version: ['11.8', '12.1']
54
-
55
- steps:
56
- - name: Checkout
57
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58
-
59
- - name: Setup ccache
60
- uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 # v1.2.14
61
- with:
62
- create-symlink: true
63
- key: ${{ github.job }}-${{ matrix.python-version }}-${{ matrix.cuda-version }}
64
-
65
- - name: Set up Linux Env
66
- if: ${{ runner.os == 'Linux' }}
67
- run: |
68
- bash -x .github/workflows/scripts/env.sh
69
-
70
- - name: Set up Python
71
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
72
- with:
73
- python-version: ${{ matrix.python-version }}
74
-
75
- - name: Install CUDA ${{ matrix.cuda-version }}
76
- run: |
77
- bash -x .github/workflows/scripts/cuda-install.sh ${{ matrix.cuda-version }} ${{ matrix.os }}
78
-
79
- - name: Install PyTorch ${{ matrix.pytorch-version }} with CUDA ${{ matrix.cuda-version }}
80
- run: |
81
- bash -x .github/workflows/scripts/pytorch-install.sh ${{ matrix.python-version }} ${{ matrix.pytorch-version }} ${{ matrix.cuda-version }}
82
-
83
- - name: Build wheel
84
- shell: bash
85
- env:
86
- CMAKE_BUILD_TYPE: Release # do not compile with debug symbol to reduce wheel size
87
- run: |
88
- bash -x .github/workflows/scripts/build.sh ${{ matrix.python-version }} ${{ matrix.cuda-version }}
89
- wheel_name=$(find dist -name "*whl" -print0 | xargs -0 -n 1 basename)
90
- asset_name=${wheel_name//"linux"/"manylinux1"}
91
- echo "wheel_name=${wheel_name}" >> "$GITHUB_ENV"
92
- echo "asset_name=${asset_name}" >> "$GITHUB_ENV"
93
-
94
- - name: Upload Release Asset
95
- uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
96
- env:
97
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98
- with:
99
- upload_url: ${{ needs.release.outputs.upload_url }}
100
- asset_path: ./dist/${{ env.wheel_name }}
101
- asset_name: ${{ env.asset_name }}
102
- asset_content_type: application/*
42
+ # NOTE(simon): No longer build wheel using Github Actions. See buildkite's release workflow.
43
+ # wheel:
44
+ # name: Build Wheel
45
+ # runs-on: ${{ matrix.os }}
46
+ # needs: release
47
+
48
+ # strategy:
49
+ # fail-fast: false
50
+ # matrix:
51
+ # os: ['ubuntu-20.04']
52
+ # python-version: ['3.9', '3.10', '3.11', '3.12']
53
+ # pytorch-version: ['2.4.0'] # Must be the most recent version that meets requirements-cuda.txt.
54
+ # cuda-version: ['11.8', '12.1']
55
+
56
+ # steps:
57
+ # - name: Checkout
58
+ # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
59
+
60
+ # - name: Setup ccache
61
+ # uses: hendrikmuhs/ccache-action@ed74d11c0b343532753ecead8a951bb09bb34bc9 # v1.2.14
62
+ # with:
63
+ # create-symlink: true
64
+ # key: ${{ github.job }}-${{ matrix.python-version }}-${{ matrix.cuda-version }}
65
+
66
+ # - name: Set up Linux Env
67
+ # if: ${{ runner.os == 'Linux' }}
68
+ # run: |
69
+ # bash -x .github/workflows/scripts/env.sh
70
+
71
+ # - name: Set up Python
72
+ # uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
73
+ # with:
74
+ # python-version: ${{ matrix.python-version }}
75
+
76
+ # - name: Install CUDA ${{ matrix.cuda-version }}
77
+ # run: |
78
+ # bash -x .github/workflows/scripts/cuda-install.sh ${{ matrix.cuda-version }} ${{ matrix.os }}
79
+
80
+ # - name: Install PyTorch ${{ matrix.pytorch-version }} with CUDA ${{ matrix.cuda-version }}
81
+ # run: |
82
+ # bash -x .github/workflows/scripts/pytorch-install.sh ${{ matrix.python-version }} ${{ matrix.pytorch-version }} ${{ matrix.cuda-version }}
83
+
84
+ # - name: Build wheel
85
+ # shell: bash
86
+ # env:
87
+ # CMAKE_BUILD_TYPE: Release # do not compile with debug symbol to reduce wheel size
88
+ # run: |
89
+ # bash -x .github/workflows/scripts/build.sh ${{ matrix.python-version }} ${{ matrix.cuda-version }}
90
+ # wheel_name=$(find dist -name "*whl" -print0 | xargs -0 -n 1 basename)
91
+ # asset_name=${wheel_name//"linux"/"manylinux1"}
92
+ # echo "wheel_name=${wheel_name}" >> "$GITHUB_ENV"
93
+ # echo "asset_name=${asset_name}" >> "$GITHUB_ENV"
94
+
95
+ # - name: Upload Release Asset
96
+ # uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
97
+ # env:
98
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99
+ # with:
100
+ # upload_url: ${{ needs.release.outputs.upload_url }}
101
+ # asset_path: ./dist/${{ env.wheel_name }}
102
+ # asset_name: ${{ env.asset_name }}
103
+ # asset_content_type: application/*
104
105
# (Danielkinz): This last step will publish the .whl to pypi. Warning: untested
106
# - name: Publish package