Spaces:
Build error
Build error
more fixes
Browse files
.github/workflows/build-ggml-cpp-wheel.yml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
name: Build GGML wheel in Docker
|
| 2 |
|
| 3 |
on:
|
| 4 |
-
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
build:
|
| 9 |
-
if: startsWith(github.event.release.tag_name, '*-ggml')
|
| 10 |
runs-on: self-hosted
|
| 11 |
permissions:
|
| 12 |
contents: write
|
|
@@ -25,10 +25,7 @@ jobs:
|
|
| 25 |
echo "::set-output name=prefix::$VERSION"
|
| 26 |
|
| 27 |
- name: Build Docker image
|
| 28 |
-
run: docker build . -t artifact-builder -f Dockerfile-
|
| 29 |
-
|
| 30 |
-
- name: Build Docker image
|
| 31 |
-
run: docker build . -t artifact-builder --build-arg CTRANSFORMERS_VERSION=${{ steps.separate.outputs.prefix }} -f Dockerfile-llama-cpp-wheel
|
| 32 |
|
| 33 |
- name: Copy GPU artifact from Docker container
|
| 34 |
run: |
|
|
|
|
| 1 |
name: Build GGML wheel in Docker
|
| 2 |
|
| 3 |
on:
|
| 4 |
+
push:
|
| 5 |
+
tags:
|
| 6 |
+
- '*-ggml' # Will match tags ending with -ggml
|
| 7 |
|
| 8 |
jobs:
|
| 9 |
build:
|
|
|
|
| 10 |
runs-on: self-hosted
|
| 11 |
permissions:
|
| 12 |
contents: write
|
|
|
|
| 25 |
echo "::set-output name=prefix::$VERSION"
|
| 26 |
|
| 27 |
- name: Build Docker image
|
| 28 |
+
run: docker build . -t artifact-builder --build-arg CTRANSFORMERS_VERSION=${{ steps.separate.outputs.prefix }} -f Dockerfile-ggml-cpp-wheel
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
- name: Copy GPU artifact from Docker container
|
| 31 |
run: |
|
.github/workflows/build-llama-cpp-wheel.yml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
name: Build Llama wheel in Docker
|
| 2 |
|
| 3 |
on:
|
| 4 |
-
|
| 5 |
-
|
|
|
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
build:
|
| 9 |
-
if: startsWith(github.event.release.tag_name, '*-llama')
|
| 10 |
runs-on: self-hosted
|
| 11 |
permissions:
|
| 12 |
contents: write
|
|
|
|
| 1 |
name: Build Llama wheel in Docker
|
| 2 |
|
| 3 |
on:
|
| 4 |
+
push:
|
| 5 |
+
tags:
|
| 6 |
+
- '*-llama'
|
| 7 |
|
| 8 |
jobs:
|
| 9 |
build:
|
|
|
|
| 10 |
runs-on: self-hosted
|
| 11 |
permissions:
|
| 12 |
contents: write
|