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
5b7a2728
Commit
5b7a2728
authored
Sep 24, 2023
by
Jeffrey Morgan
Browse files
improvements to `docs/linux.md`
parent
d2a784e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
docs/linux.md
docs/linux.md
+17
-2
No files found.
docs/linux.md
View file @
5b7a2728
...
...
@@ -12,9 +12,24 @@ Ollama is distributed as a self-contained binary. Download it to a directory in
```
sudo curl -L https://ollama.ai/download/ollama-linux-amd64 -o /usr/bin/ollama
sudo chmod +x /usr/bin/ollama
```
## Install CUDA drivers (optional for Nvidia GPUs)
## Start Ollama
Start Ollama by running
`ollama serve`
:
```
ollama serve
```
Once Ollama is running, run a model:
```
ollama run llama2
```
## Install CUDA drivers (optional – for Nvidia GPUs)
[
Download and install
](
https://developer.nvidia.com/cuda-downloads
)
CUDA.
...
...
@@ -24,7 +39,7 @@ Verify that the drivers are installed by running the following command, which sh
nvidia-smi
```
## Adding Ollama as a startup service
## Adding Ollama as a startup service
(optional)
Create a user for Ollama:
...
...
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