bartowski commited on
Commit
2b13ec9
·
verified ·
1 Parent(s): dd2cbcf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -28,6 +28,16 @@ Run them in your choice of tools:
28
 
29
  Note: if it's a newly supported model, you may need to wait for an update from the developers.
30
 
 
 
 
 
 
 
 
 
 
 
31
  ## Prompt format
32
 
33
  ```
 
28
 
29
  Note: if it's a newly supported model, you may need to wait for an update from the developers.
30
 
31
+ ## Warning for CUDA users
32
+
33
+ If running with CUDA on a model that has `Q4_K` or `Q5_K` for `61.blk.ffn_down_exps` you should compile with the following flag:
34
+
35
+ `-DGGML_CUDA_FORCE_CUBLAS=ON`
36
+
37
+ to avoid `NaN` activations. This is most likely an issue in `llama.cpp` itself and will hopefully be resolved, but in the meantime this fixes the issue.
38
+
39
+ You can check in the info on huggingface which models are affected, but it seems to be `Q5_K_S`, `Q4_K_S`, `Q3_K_XL`, `Q3_K_L`, `Q3_K_M`, `IQ3_M`, `IQ3_XS`, and `IQ3_XXS`
40
+
41
  ## Prompt format
42
 
43
  ```