go : fix CUDA build (#2416)

* Fixed go cuda bindings building

* Added note to go bindings Readme to build using cuda support

---------

Co-authored-by: Binozo <entwickler@binozoworks.de>
This commit is contained in:
Binozo
2024-09-15 12:23:56 +03:00
committed by GitHub
co-authored by Binozo
parent a551933542
commit 049b3a0e53
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -62,6 +62,12 @@ This will compile a static `libwhisper.a` in a `build` folder, download a model
make examples
```
To build using cuda support add `GGML_CUDA=1`:
```bash
GGML_CUDA=1 make examples
```
The examples are placed in the `build` directory. Once built, you can download all the models with the following command:
```bash