Skip to content

Commit

Permalink
Merge branch 'openAI' of https://github.com/CST-Group/cst-llms into o…
Browse files Browse the repository at this point in the history
…penAI
  • Loading branch information
wandemberg-eldorado committed Oct 9, 2024
2 parents 8c359f9 + 4522b4b commit 6ceeabc
Showing 1 changed file with 0 additions and 53 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/java-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,41 +11,6 @@ on:
- main

jobs:
ollama-e:
runs-on: ubuntu-22.04
name: ollama-e
steps:
- uses: actions/checkout@v1
#- uses: self-actuated/nvidia-run@master
- name: Install Ollama
run: |
curl -fsSL https://ollama.com/install.sh | sudo -E sh
- name: Start serving
run: |
# Run the background, there is no way to daemonise at the moment
ollama serve &
# A short pause is required before the HTTP port is opened
sleep 5
# This endpoint blocks until ready
time curl -i http://localhost:11434
- name: Pull llama3
run: |
ollama pull llama3
#- name: Invoke via the CLI
# run: |
# ollama run llama2 "What are the pros of MicroVMs for continous integrations, especially if Docker is the alternative?"

#- name: Invoke via API
# run: |
# curl -s http://localhost:11434/api/generate -d '{
# "model": "llama2",
# "stream": false,
# "prompt":"What are the risks of running privileged Docker containers for CI workloads?"
# }' | jq
build:
runs-on: ubuntu-22.04
strategy:
Expand All @@ -54,24 +19,6 @@ jobs:
name: JDK ${{ matrix.Java }} build
steps:
- uses: actions/[email protected]
- name: Install Ollama
run: |
curl -fsSL https://ollama.com/install.sh | sudo -E sh
- name: Start serving
run: |
# Run the background, there is no way to daemonise at the moment
ollama serve &
# A short pause is required before the HTTP port is opened
sleep 5
# This endpoint blocks until ready
time curl -i http://localhost:11434
- name: Pull llama3
run: |
ollama pull llama3
- name: Set up Java
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 6ceeabc

Please sign in to comment.