-
Notifications
You must be signed in to change notification settings - Fork 19.9k
fix: Propagate version tag to WebUI asset download in self-hosted CI #23051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
47cf1f5
69d3634
a7f9a81
75f2129
172840e
17a822c
1285374
a0fa681
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -55,7 +55,22 @@ env: | |
| LLAMA_LOG_TIMESTAMPS: 1 | ||
|
|
||
| jobs: | ||
| determine-tag: | ||
| name: Determine tag name | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| tag_name: ${{ steps.tag.outputs.name }} | ||
| steps: | ||
| - name: Clone | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Determine tag name | ||
| id: tag | ||
| uses: ./.github/actions/get-tag-name | ||
|
|
||
|
Comment on lines
+58
to
+71
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we actually need a tag for these jobs? I don't think they require the webui at all.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've wondered myself, particularly because the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I'm running a test without this job: https://github.com/ggml-org/llama.cpp/actions/runs/26364823846 If it passes will open a PR. |
||
| ggml-ci-nvidia-cuda: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, Linux, NVIDIA] | ||
|
|
||
| steps: | ||
|
|
@@ -65,11 +80,14 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
|
allozaur marked this conversation as resolved.
Outdated
|
||
| run: | | ||
| nvidia-smi | ||
| GG_BUILD_CUDA=1 bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp | ||
|
|
||
| ggml-ci-nvidia-vulkan-cm: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, Linux, NVIDIA] | ||
|
|
||
| steps: | ||
|
|
@@ -79,11 +97,14 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| vulkaninfo --summary | ||
| GG_BUILD_VULKAN=1 GGML_VK_DISABLE_COOPMAT2=1 bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp | ||
|
|
||
| ggml-ci-nvidia-vulkan-cm2: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, Linux, NVIDIA, COOPMAT2] | ||
|
|
||
| steps: | ||
|
|
@@ -93,6 +114,8 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| vulkaninfo --summary | ||
| GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp | ||
|
|
@@ -172,6 +195,7 @@ jobs: | |
| # GG_BUILD_ROCM=1 GG_BUILD_AMDGPU_TARGETS="gfx1101" bash ./ci/run.sh ~/results/llama.cpp /mnt/llama.cpp | ||
|
|
||
| ggml-ci-mac-metal: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, macOS, ARM64] | ||
|
|
||
| steps: | ||
|
|
@@ -181,10 +205,13 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| GG_BUILD_METAL=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp | ||
|
|
||
| ggml-ci-mac-webgpu: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, macOS, ARM64] | ||
|
|
||
| steps: | ||
|
|
@@ -207,11 +234,14 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| GG_BUILD_WEBGPU=1 GG_BUILD_WEBGPU_DAWN_PREFIX="$GITHUB_WORKSPACE/dawn" \ | ||
| bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp | ||
|
|
||
| ggml-ci-mac-vulkan: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, macOS, ARM64] | ||
|
|
||
| steps: | ||
|
|
@@ -221,11 +251,14 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| vulkaninfo --summary | ||
| GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp | ||
|
|
||
| ggml-ci-linux-intel-vulkan: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, Linux, Intel] | ||
|
|
||
| steps: | ||
|
|
@@ -237,11 +270,14 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| vulkaninfo --summary | ||
| GG_BUILD_VULKAN=1 bash ./ci/run.sh ~/results/llama.cpp ~/mnt/llama.cpp | ||
|
|
||
| ggml-ci-win-intel-vulkan: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, Windows, X64, Intel] | ||
|
|
||
| steps: | ||
|
|
@@ -256,13 +292,15 @@ jobs: | |
| MSYSTEM: UCRT64 | ||
| CHERE_INVOKING: 1 | ||
| PATH: C:\msys64\ucrt64\bin;C:\msys64\usr\bin;C:\Windows\System32;${{ env.PATH }} | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| vulkaninfo --summary | ||
| # Skip python related tests with GG_BUILD_LOW_PERF=1 since Windows MSYS2 UCRT64 currently fails to create | ||
| # a valid python environment for testing | ||
| LLAMA_FATAL_WARNINGS=OFF GG_BUILD_NINJA=1 GG_BUILD_VULKAN=1 GG_BUILD_LOW_PERF=1 ./ci/run.sh ./results/llama.cpp ./mnt/llama.cpp | ||
|
|
||
| ggml-ci-intel-openvino-gpu-low-perf: | ||
| needs: determine-tag | ||
| runs-on: [self-hosted, Linux, Intel, OpenVINO] | ||
|
|
||
| concurrency: | ||
|
|
@@ -294,6 +332,8 @@ jobs: | |
|
|
||
| - name: Test | ||
| id: ggml-ci | ||
| env: | ||
| HF_WEBUI_VERSION: ${{ needs.determine-tag.outputs.tag_name || 'latest' }} | ||
| run: | | ||
| source ./openvino_toolkit/setupvars.sh | ||
| GG_BUILD_OPENVINO=1 GGML_OPENVINO_DEVICE=GPU GG_BUILD_LOW_PERF=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt | ||
Uh oh!
There was an error while loading. Please reload this page.