update faq (#1176)

This commit is contained in:
Michael Yang 2023-11-17 08:42:58 -08:00 committed by GitHub
parent 81092147c4
commit 90860b6a7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,3 +148,9 @@ Build and run this image:
docker build -t ollama-with-ca .
docker run -d -e HTTPS_PROXY=https://my.proxy.example.com -p 11434:11434 ollama-with-ca
```
### How do I use Ollama with GPU acceleration in Docker?
The Ollama Docker container can be configured with GPU acceleration in Linux or Windows (with WSL2). This requires the [nvidia-container-toolkit](https://github.com/NVIDIA/nvidia-container-toolkit).
GPU acceleration is not available for Docker Desktop in macOS due to the lack of GPU passthrough and emulation.