Skip to content

Commit fc1e8db

Browse files
committed
Updated README with vulkan instructions
1 parent b84b771 commit fc1e8db

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,17 @@ directory and have the following dependencies met:
109109
- Recent version of Go (ie, 1.22+)
110110
- C++ compiler and cmake
111111
- For CUDA, you'll need the CUDA toolkit installed including the `nvcc` compiler
112+
- For Vulkan, you'll need the Vulkan SDK installed
113+
- For the Rasperry Pi, install the following additional packages first: `sudo apt install libvulkan-dev libvulkan1 mesa-vulkan-drivers glslc`
114+
- For Metal, you'll need Xcode installed on macOS
112115

113116
The following `Makefile` targets can be used:
114117

115-
- `OS=linux make whisper` - creates the server binary, and places it in the `build` directory. Should link to Metal on macOS
116-
- `OS=linux GGML_CUDA=1 make whisper` - creates the server binary linked to CUDA, and places it in the `build` directory. Should work for amd64 and arm64 (Jetson) platforms
118+
- `make whisper` - creates the server binary, and places it in the `build` directory. Should link to Metal on macOS
119+
- `GGML_CUDA=1 make whisper` - creates the server binary linked to CUDA, and places it in the `build` directory. Should work for amd64 and arm64 (Jetson) platforms
120+
- `GGML_VULKAN=1 make whisper` - creates the server binary linked to Vulkan, and places it in the `build` directory.
117121

118-
See all the other targets in the `Makefile` for more information.
122+
See all the other targets and variations in the `Makefile` for more information.
119123

120124
## Command Line Usage
121125

0 commit comments

Comments
 (0)