Skip to content

Commit fe1af61

Browse files
committed
all in
1 parent 4cdba3a commit fe1af61

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/dockerimage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Create and publish a Docker image
55
on:
66
push:
77
branches:
8-
- main
8+
- germeval25
99

1010
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
1111
env:
@@ -50,7 +50,7 @@ jobs:
5050
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
5151
with:
5252
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
53-
tags: main
53+
tags: ${{ github.ref_name }}
5454
# This step uses the `docker/build-push-action` action to build the image, based on your repository's `Dockerfile`. If the build succeeds, it pushes the image to GitHub Packages.
5555
# It uses the `context` parameter to define the build's context as the set of files located in the specified path. For more information, see "[Usage](https://github.com/docker/build-push-action#usage)" in the README of the `docker/build-push-action` repository.
5656
# It uses the `tags` and `labels` parameters to tag and label the image with the output from the "meta" step.

k8s/templates/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM nvidia/cuda:12.1.1-devel-ubuntu22.04
2-
#FROM nvidia/cuda:12.3.1-devel-ubuntu22.04
1+
FROM nvidia/cuda:12.8.1-devel-ubuntu22.04
32

43
ARG USER={{lastname}}
54
ARG UID={{uuid}}
@@ -33,8 +32,8 @@ RUN chown -R ${USER}:${USER} /localdir/
3332

3433
COPY . .
3534
RUN python -m pip install packaging wheel
36-
RUN python -m pip install --extra-index-url https://download.pytorch.org/whl/cu121 torch==2.5.1+cu121
37-
RUN python -m pip install --no-build-isolation --extra-index-url https://download.pytorch.org/whl/cu121 -r requirements.txt
35+
RUN python -m pip install --extra-index-url https://download.pytorch.org/whl/cu128 torch==2.7.1+cu128
36+
RUN python -m pip install --no-build-isolation --extra-index-url https://download.pytorch.org/whl/cu128 -r requirements_core.txt
3837
Run python -m pip freeze
3938

4039
#RUN python -m pip install flash-attn==2.5.7 --no-build-isolation --extra-index-url https://download.pytorch.org/whl/cu121 -r requirements.txt

requirements_core.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ safetensors
1313
sentence-transformers==3.3.1
1414
sentencepiece
1515
tokenizers
16-
torch==2.5.1+cu121
16+
torch==2.7.1+cu128
1717
transformers
1818
uv

0 commit comments

Comments
 (0)