浏览代码

update faq (#1176)

Michael Yang 1 年之前
父节点
当前提交
90860b6a7e
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/faq.md

+ 6 - 0
docs/faq.md

@@ -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.