aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJohannes Gäßler <johannesg@5d6.de>2023-05-08 02:42:01 +0200
committerGitHub <noreply@github.com>2023-05-08 02:42:01 +0200
commit1f48b0abcfbd6cc99571e42348e0ec97e4be8b93 (patch)
tree615e8273f6788fdfea285859bab63981c030c742 /README.md
parente1295513a48ae8254d8af5ec0250b56d6eaffefd (diff)
Documented CUDA reproducibility, added warning (#1346)
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 19cc94a..6cbdcbf 100644
--- a/README.md
+++ b/README.md
@@ -257,6 +257,8 @@ Building the program with BLAS support may lead to some performance improvements
cmake --build . --config Release
```
+Note: Because llama.cpp uses multiple CUDA streams for matrix multiplication results [are not guaranteed to be reproducible](https://docs.nvidia.com/cuda/cublas/index.html#results-reproducibility). If you need reproducibility, set `GGML_CUDA_MAX_STREAMS` in the file `ggml-cuda.cu` to 1.
+
### Prepare Data & Run
```bash