Update README.md

This commit is contained in:
Amith Koujalgi 2023-12-14 15:22:13 +05:30 committed by GitHub
parent 9e1fc52ba2
commit 6f7f349619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,6 +94,11 @@ Start the Ollama docker container:
docker run -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
```
With GPUs
```
docker run -d --gpus=all -v ~/ollama:/root/.ollama -p 11434:11434 ollama/ollama
```
Instantiate `OllamaAPI`
```java