Skip to content

Add phi-4 model

Add phi-4 model #18

Workflow file for this run

name: Build and push Docker images
on:
push:
jobs:
docker:
runs-on: koyeb-runner
strategy:
matrix:
model:
- name: meta-llama/Llama-3.1-8B-Instruct
tag: koyeb/meta-llama-3.1-8b-instruct:latest
- name: meta-llama/Llama-3.3-70B-Instruct
tag: koyeb/meta-llama-3.3-70b-instruct:latest
- name: meta-llama/Llama-3.2-1B-Instruct
tag: koyeb/meta-llama-3.2-1b-instruct:latest
- name: meta-llama/Llama-3.2-3B-Instruct
tag: koyeb/meta-llama-3.2-3b-instruct:latest
- name: meta-llama/Llama-3.2-11B-Vision-Instruct
tag: koyeb/meta-llama-3.2-11b-vision-instruct:latest
- name: NousResearch/Hermes-3-Llama-3.1-8B
tag: koyeb/nousresearch-hermes-3-llama-3.1-8b:latest
- name: mistralai/Mistral-7B-Instruct-v0.3
tag: koyeb/mistralai-mistral-7b-instruct-v0.3:latest
- name: google/gemma-2-9b-it
tag: koyeb/google-gemma-2-9b-it:latest
- name: Qwen/Qwen2.5-7B-Instruct
tag: koyeb/qwen-qwen2.5-7b-instruct:latest
- name: HuggingFaceTB/SmolLM2-1.7B-Instruct
tag: koyeb/huggingfacetb-smollm2-1.7b-instruct:latest
- name: HuggingFaceTB/SmolLM2-360M-Instruct
tag: koyeb/huggingfacetb-smollm2-360m-instruct:latest
- name: HuggingFaceTB/SmolLM2-135M-Instruct
tag: koyeb/huggingfacetb-smollm2-135m-instruct:latest
- name: microsoft/phi-4
tag: koyeb/microsoft-phi-4-14b:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD}}
- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
context: .
file: Dockerfile.bundled_model
tags: ${{ matrix.model.tag }}
outputs: |
type=registry,compression=zstd
build-args: |
MODEL_NAME=${{ matrix.model.name }}
secrets: |
"hf_token=${{ secrets.HUGGINGFACE_TOKEN }}"