Skip to content

Commit

Permalink
NEWS + READ%ME
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Jan 29, 2024
1 parent 2b21a2b commit 26614e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Makevars: added detection of AVX512F for adding compilation flags to PKG_CFLAGS/PKG_CPPFLAGS
- Add whisper_languages to get a data.frame of all languages the Whisper model can handle
- whisper_download_model change default timeout to 10 minutes if no timeout is set by the user + change output element in the list to 'download_success' instead of 'download_failed'

## CHANGES IN audio.whisper VERSION 0.3

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ Sys.unsetenv("WHISPER_CFLAGS")

To find out which hardware acceleration options your hardware supports, you can go to https://github.com/bnosac/audio.whisper/issues/26 and look for the CFLAGS (and optionally CXXFLAGS and LDFLAGS) settings which make sense on your hardware

- Common settings to set for `WHISPER_CFLAGS` on Mac/Linux/Windows are `-mavx -mavx2 -mfma -mf16c` and extra possible flags `-msse3` and `mssse3`
- E.g. on my local Windows machine I could set `-mavx -mavx2 -mfma -mf16c`
- Common settings to set for `WHISPER_CFLAGS` are `-mavx -mavx2 -mfma -mf16c` and extra possible flags `-msse3` and `mssse3`
- E.g. on my local Windows Intel machine I could set `-mavx -mavx2 -mfma -mf16c`
- For Mac users you can set `Sys.setenv(WHISPER_ACCELERATE = "1")` if your computer has the Accelerate framework
- On my older local Ubuntu machine there were no optimisation possibilities. Your mileage may vary.
- If you need extra settings in `PKG_CPPFLAGS` (`CXXFLAGS`), you can e.g. use `Sys.setenv(WHISPER_CPPFLAGS = "-mcpu=native")` before installing the package
Expand Down

0 comments on commit 26614e0

Please sign in to comment.