-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'openAI' of https://github.com/CST-Group/cst-llms into o…
…penAI
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 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 |
---|---|---|
|
@@ -54,6 +54,24 @@ 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: | ||
|