@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 944dd8edaf
Fork 0

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, 09:30 UTC

[CI/Build] Use commit hash references for github actions (#9430)

Russell Bryant committed Oct 18, 2024 at 00:54 UTC 944dd8edafd1873a80cd3302a0f73043f2a1d71b
7 files changed +17 -17
.github/workflows/add_label_automerge.yml
+1 -1
@@ -8,7 +8,7 @@ jobs:
8 runs-on: ubuntu-latest
9 steps:
10 - name: Add label
11 - uses: actions/github-script@v7
11 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
12 with:
13 script: |
14 github.rest.issues.addLabels({
.github/workflows/clang-format.yml
+3 -3
@@ -17,9 +17,9 @@ jobs:
17 matrix:
18 python-version: ["3.11"]
19 steps:
20 - - uses: actions/checkout@v4
20 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
21 - name: Set up Python ${{ matrix.python-version }}
22 - uses: actions/setup-python@v5
22 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
23 with:
24 python-version: ${{ matrix.python-version }}
25 - name: Install dependencies
@@ -38,4 +38,4 @@ jobs:
38 )
39 find csrc/ \( -name '*.h' -o -name '*.cpp' -o -name '*.cu' -o -name '*.cuh' \) -print \
40 | grep -vFf <(printf "%s\n" "${EXCLUDES[@]}") \
41 - | xargs clang-format --dry-run --Werror
\ No newline at end of file
41 + | xargs clang-format --dry-run --Werror
.github/workflows/mypy.yaml
+2 -2
@@ -17,9 +17,9 @@ jobs:
17 matrix:
18 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19 steps:
20 - - uses: actions/checkout@v4
20 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
21 - name: Set up Python ${{ matrix.python-version }}
22 - uses: actions/setup-python@v5
22 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
23 with:
24 python-version: ${{ matrix.python-version }}
25 - name: Install dependencies
.github/workflows/publish.yml
+6 -6
@@ -21,7 +21,7 @@ jobs:
21 upload_url: ${{ steps.create_release.outputs.upload_url }}
22 steps:
23 - name: Checkout
24 - uses: actions/checkout@v4
24 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
25
26 - name: Extract branch info
27 shell: bash
@@ -30,7 +30,7 @@ jobs:
30
31 - name: Create Release
32 id: create_release
33 - uses: "actions/github-script@v7"
33 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
34 env:
35 RELEASE_TAG: ${{ env.release_tag }}
36 with:
@@ -54,10 +54,10 @@ jobs:
54
55 steps:
56 - name: Checkout
57 - uses: actions/checkout@v4
57 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
58
59 - name: Setup ccache
60 - uses: hendrikmuhs/ccache-action@v1.2
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 }}
@@ -68,7 +68,7 @@ jobs:
68 bash -x .github/workflows/scripts/env.sh
69
70 - name: Set up Python
71 - uses: actions/setup-python@v5
71 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
72 with:
73 python-version: ${{ matrix.python-version }}
74
@@ -92,7 +92,7 @@ jobs:
92 echo "asset_name=${asset_name}" >> "$GITHUB_ENV"
93
94 - name: Upload Release Asset
95 - uses: actions/upload-release-asset@v1
95 + uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
96 env:
97 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98 with:
.github/workflows/reminder_comment.yml
+1 -1
@@ -8,7 +8,7 @@ jobs:
8 runs-on: ubuntu-latest
9 steps:
10 - name: Remind to run full CI on PR
11 - uses: actions/github-script@v7
11 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
12 with:
13 script: |
14 github.rest.issues.createComment({
.github/workflows/ruff.yml
+2 -2
@@ -17,9 +17,9 @@ jobs:
17 matrix:
18 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
19 steps:
20 - - uses: actions/checkout@v4
20 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
21 - name: Set up Python ${{ matrix.python-version }}
22 - uses: actions/setup-python@v5
22 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
23 with:
24 python-version: ${{ matrix.python-version }}
25 - name: Install dependencies
.github/workflows/yapf.yml
+2 -2
@@ -16,9 +16,9 @@ jobs:
16 matrix:
17 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
18 steps:
19 - - uses: actions/checkout@v4
19 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
20 - name: Set up Python ${{ matrix.python-version }}
21 - uses: actions/setup-python@v5
21 + uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
22 with:
23 python-version: ${{ matrix.python-version }}
24 - name: Install dependencies