Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
7c71c10d
Commit
7c71c10d
authored
Jul 11, 2023
by
Jeffrey Morgan
Browse files
fix compilation issue in Dockerfile, remove from `README.md` until ready
parent
dcb6ba38
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
4 deletions
+2
-4
.gitignore
.gitignore
+0
-1
Dockerfile
Dockerfile
+0
-2
README.md
README.md
+0
-1
llama/ggml-metal.m
llama/ggml-metal.m
+2
-0
No files found.
.gitignore
View file @
7c71c10d
...
...
@@ -2,6 +2,5 @@
.vscode
.env
.venv
*.spec
dist
ollama
Dockerfile
View file @
7c71c10d
FROM
golang:1.20
RUN
apt-get update
&&
apt-get
install
-y
cmake
WORKDIR
/go/src/github.com/jmorganca/ollama
COPY
. .
RUN
cmake
-S
llama
-B
llama/build
&&
cmake
--build
llama/build
RUN
CGO_ENABLED
=
1 go build
-ldflags
'-linkmode external -extldflags "-static"'
.
FROM
alpine
...
...
README.md
View file @
7c71c10d
...
...
@@ -18,7 +18,6 @@ Run large language models with `llama.cpp`.
-
[
Download
](
https://ollama.ai/download
)
for macOS
-
Download for Windows (coming soon)
-
Docker:
`docker run -p 11434:11434 ollama/ollama`
You can also build the
[
binary from source
](
#building
)
.
...
...
llama/ggml-metal.m
View file @
7c71c10d
// +build darwin
/**
* llama.cpp - git 5bf2a2771886ee86137e01dbc7492f78fb392066
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment