Skip to content

Commit d05e882

Browse files
committed
new image?
1 parent 0e1a4cb commit d05e882

File tree

3 files changed

+22
-4
lines changed

3 files changed

+22
-4
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: germeval25
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ RUN chown -R ${USER}:${USER} /localdir/
3333

3434
COPY . .
3535
RUN python -m pip install packaging wheel
36-
RUN python -m pip install --extra-index-url https://download.pytorch.org/whl/cu121 torch==2.3.1+cu121
37-
RUN python -m pip install --no-build-isolation --extra-index-url https://download.pytorch.org/whl/cu121 -r requirements.txt
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_vorschlag.txt
3838

3939
#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
4040
#RUN python -m pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" git+https://github.com/NVIDIA/apex/

requirements_vorschlag.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
bitsandbytes
2+
datasets
3+
debugpy
4+
flair==0.14.0
5+
flash-attn
6+
huggingface-hub
7+
hydra-core
8+
Jinja2
9+
loguru
10+
peft
11+
protobuf
12+
safetensors
13+
sentence-transformers==3.3.1
14+
sentencepiece
15+
tokenizers
16+
torch==2.5.1+cu121
17+
transformers
18+
uv

0 commit comments

Comments
 (0)