-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Liora Milbaum <[email protected]>
- Loading branch information
Showing
4 changed files
with
21 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,12 +32,6 @@ jobs: | |
directory: llamacpp_python | ||
platforms: linux/amd64,linux/arm64 | ||
no_gpu: 1 | ||
#- image_name: llamacpp_python_vulkan | ||
# model: mistral | ||
# flavor: vulkan | ||
# directory: llamacpp_python | ||
# platforms: linux/arm64 | ||
# vulkan: 1 | ||
- image_name: llamacpp_python_cuda | ||
model: mistral | ||
flavor: cuda | ||
|
@@ -100,13 +94,6 @@ jobs: | |
if: ${{ matrix.no_gpu }} | ||
run: make test REGISTRY=${{ env.REGISTRY }} IMAGE_NAME=${{ env.REGISTRY_ORG }}/${{ matrix.image_name}}:latest | ||
|
||
# - name: Run cuda test # we dont have cuda tests | ||
# working-directory: ./model_servers/${{ matrix.directory }}/ | ||
# if: ${{ matrix.cuda }} | ||
# run: make test-cuda | ||
# env: | ||
# IMAGE_NAME: ${{ matrix.image_name }} | ||
|
||
- name: Login to Container Registry | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
uses: redhat-actions/[email protected] | ||
|
@@ -116,7 +103,6 @@ jobs: | |
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Push image | ||
id: push_image | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
uses: redhat-actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
FROM quay.io/opendatahub/workbench-images:cuda-ubi9-python-3.9-20231206 | ||
WORKDIR /locallm | ||
COPY src . | ||
RUN pip install --upgrade pip | ||
ENV CMAKE_ARGS="-DLLAMA_CUBLAS=on" | ||
ENV FORCE_CMAKE=1 | ||
RUN pip install --no-cache-dir --upgrade -r /locallm/requirements.txt | ||
ENTRYPOINT [ "sh", "run.sh" ] | ||
RUN pip install --no-cache-dir -r ./requirements.txt | ||
ENTRYPOINT [ "sh", "run.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters