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
a82eb275
Commit
a82eb275
authored
Aug 30, 2023
by
Jeffrey Morgan
Browse files
update docs for subprocess
parent
f964aea9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
+13
-4
.gitignore
.gitignore
+1
-0
.gitmodules
.gitmodules
+1
-0
README.md
README.md
+11
-4
No files found.
.gitignore
View file @
a82eb275
...
@@ -5,3 +5,4 @@
...
@@ -5,3 +5,4 @@
.swp
.swp
dist
dist
ollama
ollama
ggml-metal.metal
.gitmodules
View file @
a82eb275
[submodule "llm/llama.cpp/ggml"]
[submodule "llm/llama.cpp/ggml"]
path = llm/llama.cpp/ggml
path = llm/llama.cpp/ggml
url = https://github.com/ggerganov/llama.cpp.git
url = https://github.com/ggerganov/llama.cpp.git
ignore = dirty
README.md
View file @
a82eb275
...
@@ -127,19 +127,26 @@ Ollama bundles model weights, configuration, and data into a single package, def
...
@@ -127,19 +127,26 @@ Ollama bundles model weights, configuration, and data into a single package, def
## Building
## Building
You will also need a C/C++ compiler such as GCC for MacOS and Linux or Mingw-w64 GCC for Windows.
Install
`cmake`
:
```
```
brew install cmake
```
Then generate dependencies and build:
```
go generate ./...
go build .
go build .
```
```
To run it
start the server:
Next,
start the server:
```
```
./ollama serve
&
./ollama serve
```
```
Finally, run a model
!
Finally, run a model
in another shell:
```
```
./ollama run llama2
./ollama run llama2
...
...
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