File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Original file line number Diff line number Diff line change @@ -71,6 +71,27 @@ To install with Metal (MPS), set the `LLAMA_METAL=on` environment variable befor
71
71
CMAKE_ARGS=" -DLLAMA_METAL=on" FORCE_CMAKE=1 pip install llama-cpp-python
72
72
```
73
73
74
+ #### Windows remarks
75
+
76
+ To set the variables ` CMAKE_ARGS ` and ` FORCE_CMAKE ` in PowerShell, follow the next steps (Example using, OpenBLAS):
77
+
78
+ ``` ps
79
+ $env:CMAKE_ARGS = "-DLLAMA_OPENBLAS=on"
80
+ ```
81
+
82
+ ``` ps
83
+ $env:FORCE_CMAKE = 1
84
+ ```
85
+
86
+ Then, call ` pip ` after setting the variables:
87
+ ```
88
+ pip install llama-cpp-python
89
+ ```
90
+
91
+ See the above instructions and set ` CMAKE_ARGS ` to the BLAS backend you want to use.
92
+
93
+ #### MacOS remarks
94
+
74
95
Detailed MacOS Metal GPU install documentation is available at [ docs/install/macos.md] ( docs/install/macos.md )
75
96
76
97
## High-level API
You can’t perform that action at this time.
0 commit comments