Microphone Text Input Mod User Documention
Architectury 2.x

Introduction
The Microphone Text Input Mod is a Fabric mod designed for Minecraft clients. It provides speech recognition input functionality and automatically converts spoken words into text chat messages, enhancing the in - game communication experience.
Features
- Multiple Modes: Supports different operation modes, including
AUTO_SEND,RELEASE_KEY_TO_SEND, andRELEASE_KEY_TO_INPUT. - Advanced Configuration: Allows users to adjust advanced parameters related to the Whisper library, such as the number of threads, audio context size, and sampling strategy.
Dependencies
| Dependency Name | Fabric | NeoForge |
|---|---|---|
| Java | 21 | 21 |
| Fabric API | see fabric.mod.json | ❌ |
| Architectury API | ❌ | see neoforge.mods.toml |
| MidnightLib | see fabric.mod.json | see neoforge.mods.toml |
Configuration
Keybinding
| Keybinding Name | Recognize |
|---|---|
| Category | key.category.minecraft.mcmti |
| Translation Key | key.mcmti.recognize |
| Default Key | V |
General Settings
| Setting | Translation Key | Field | Type | Default Value | Description |
|---|---|---|---|---|---|
| GGML Whisper Model | mcmti.midnightconfig.model |
me.jaffe2718.mcmti.config.McmtiConfig.model |
String |
"" |
Path to the GGML Whisper model. |
| Language | mcmti.midnightconfig.language |
me.jaffe2718.mcmti.config.McmtiConfig.language |
String |
"en" |
Language for speech recognition. |
| Mode | mcmti.midnightconfig.mode |
me.jaffe2718.mcmti.config.McmtiConfig.mode |
me.jaffe2718.mcmti.config.McmtiConfig.Mode |
"RELEASE_KEY_TO_SEND" |
Mod's work mode. |
| Record Cycle (ms) | mcmti.midnightconfig.recordCycleMs |
me.jaffe2718.mcmti.config.McmtiConfig.recordCycleMs |
int |
5000 |
Record cycle in milliseconds. |
| Record Buffer Size (byte) | mcmti.midnightconfig.recordBufferSize |
me.jaffe2718.mcmti.config.McmtiConfig.recordBufferSize |
int |
1024 |
Record buffer size in bytes. |
| Prefix | mcmti.midnightconfig.prefix |
me.jaffe2718.mcmti.config.McmtiConfig.prefix |
String |
"⌈Speech Input⌋" |
Prefix added to the recognized text. |
| Draft Input | mcmti.midnightconfig.draftInput |
me.jaffe2718.mcmti.config.McmtiConfig.draftInput |
boolean |
false |
Enable draft input. If enabled, the recognized text will be shown in the entry as a draft. |
| Encoding Repair | mcmti.midnightconfig.encodingRepair |
me.jaffe2718.mcmti.config.McmtiConfig.encodingRepair |
boolean |
false |
Enable encoding repair. |
| Source Encoding | mcmti.midnightconfig.srcEncoding |
me.jaffe2718.mcmti.config.McmtiConfig.srcEncoding |
String |
Charset.defaultCharset().displayName() |
Source encoding for text. Applies only if encoding repair is enabled. |
| Destination Encoding | mcmti.midnightconfig.dstEncoding |
me.jaffe2718.mcmti.config.McmtiConfig.dstEncoding |
String |
Charset.defaultCharset().displayName() |
Destination encoding for text. Applies only if encoding repair is enabled. |
Advanced Settings
| Setting | Translation Key | Field | Type | Default Value | Description |
|---|---|---|---|---|---|
| Enable Advanced Config | mcmti.midnightconfig.advancedConfig |
me.jaffe2718.mcmti.config.McmtiConfig.advancedConfig |
boolean |
false |
Enable advanced configuration. |
| nThreads | mcmti.midnightconfig.nThreads |
me.jaffe2718.mcmti.config.McmtiConfig.nThreads |
int |
0 |
Number of threads to use for the operation of the Whisper model. 0 for max cores. |
| audioCtx | mcmti.midnightconfig.audioCtx |
me.jaffe2718.mcmti.config.McmtiConfig.audioCtx |
int |
0 |
Audio context size for the Whisper model. 0 means use default. |
| nMaxTextCtx | mcmti.midnightconfig.nMaxTextCtx |
me.jaffe2718.mcmti.config.McmtiConfig.nMaxTextCtx |
int |
16384 |
Max tokens to use from past text as prompt for the decoder. |
| offsetMs | mcmti.midnightconfig.offsetMs |
me.jaffe2718.mcmti.config.McmtiConfig.offsetMs |
int |
0 |
Offset in ms to start recording from. |
| durationMs | mcmti.midnightconfig.durationMs |
me.jaffe2718.mcmti.config.McmtiConfig.durationMs |
int |
0 |
Audio duration to process in ms. 0 means use default. |
| translate | mcmti.midnightconfig.translate |
me.jaffe2718.mcmti.config.McmtiConfig.translate |
boolean |
false |
Translate the text to the default language. |
| noTimestamps | mcmti.midnightconfig.noTimestamps |
me.jaffe2718.mcmti.config.McmtiConfig.noTimestamps |
boolean |
false |
Do not generate timestamps. |
| initialPrompt | mcmti.midnightconfig.initialPrompt |
me.jaffe2718.mcmti.config.McmtiConfig.initialPrompt |
String |
"" |
Initial text to use as a prompt for the whisper. |
| noContext | mcmti.midnightconfig.noContext |
me.jaffe2718.mcmti.config.McmtiConfig.noContext |
boolean |
true |
Do not use past transcription (if any) as initial prompt for the decoder. |
| singleSegment | mcmti.midnightconfig.singleSegment |
me.jaffe2718.mcmti.config.McmtiConfig.singleSegment |
boolean |
false |
Force single segment output (useful for streaming). |
| printSpecial | mcmti.midnightconfig.printSpecial |
me.jaffe2718.mcmti.config.McmtiConfig.printSpecial |
boolean |
false |
Print special tokens. |
| printProgress | mcmti.midnightconfig.printProgress |
me.jaffe2718.mcmti.config.McmtiConfig.printProgress |
boolean |
true |
Print progress information. |
| printRealtime | mcmti.midnightconfig.printRealtime |
me.jaffe2718.mcmti.config.McmtiConfig.printRealtime |
boolean |
false |
Print results from within whisper.cpp (avoid it, use callback instead). |
| printTimestamps | mcmti.midnightconfig.printTimestamps |
me.jaffe2718.mcmti.config.McmtiConfig.printTimestamps |
boolean |
true |
Print timestamps for each text segment when printing realtime. |
| suppressBlank | mcmti.midnightconfig.suppressBlank |
me.jaffe2718.mcmti.config.McmtiConfig.suppressBlank |
boolean |
true |
Decoder option. |
| suppressNonSpeechTokens | mcmti.midnightconfig.suppressNonSpeechTokens |
me.jaffe2718.mcmti.config.McmtiConfig.suppressNonSpeechTokens |
boolean |
true |
Tokenizer option. |
| temperature | mcmti.midnightconfig.temperature |
me.jaffe2718.mcmti.config.McmtiConfig.temperature |
float |
0.0f |
Initial decoding temperature. |
| maxInitialTs | mcmti.midnightconfig.maxInitialTs |
me.jaffe2718.mcmti.config.McmtiConfig.maxInitialTs |
float |
1.0f |
Maximum initial timestamp. |
| lengthPenalty | mcmti.midnightconfig.lengthPenalty |
me.jaffe2718.mcmti.config.McmtiConfig.lengthPenalty |
float |
-1.0f |
Length penalty. |
| temperatureInc | mcmti.midnightconfig.temperatureInc |
me.jaffe2718.mcmti.config.McmtiConfig.temperatureInc |
float |
0.4f |
Temperature increment. |
| entropyThold | mcmti.midnightconfig.entropyThold |
me.jaffe2718.mcmti.config.McmtiConfig.entropyThold |
float |
2.4f |
Entropy threshold (similar to OpenAI's "compression_ratio_threshold"). |
| logprobThold | mcmti.midnightconfig.logprobThold |
me.jaffe2718.mcmti.config.McmtiConfig.logprobThold |
float |
-1.0f |
Log probability threshold. |
| noSpeechThold | mcmti.midnightconfig.noSpeechThold |
me.jaffe2718.mcmti.config.McmtiConfig.noSpeechThold |
float |
0.6f |
No speech threshold. |
| greedyBestOf | mcmti.midnightconfig.greedyBestOf |
me.jaffe2718.mcmti.config.McmtiConfig.greedyBestOf |
int |
-1 |
Specific to greedy sampling strategy. |
| beamSearchBeamSize | mcmti.midnightconfig.beamSearchBeamSize |
me.jaffe2718.mcmti.config.McmtiConfig.beamSearchBeamSize |
int |
2 |
Specific to bean search sampling strategy. |
| beamSearchPatience | mcmti.midnightconfig.beamSearchPatience |
me.jaffe2718.mcmti.config.McmtiConfig.beamSearchPatience |
float |
-1.0f |
Specific to bean search sampling strategy. |
| grammar | mcmti.midnightconfig.grammar |
me.jaffe2718.mcmti.config.McmtiConfig.grammar |
String |
"" |
Grammar file path. Empty means no grammar. |
| grammarPenalty | mcmti.midnightconfig.grammarPenalty |
me.jaffe2718.mcmti.config.McmtiConfig.grammarPenalty |
float |
100.0f |
Penalty for non grammar tokens. |
| whisperSamplingStrategy | mcmti.midnightconfig.whisperSamplingStrategy |
me.jaffe2718.mcmti.config.McmtiConfig.whisperSamplingStrategy |
io.github.freshsupasulley.whisperjni.WhisperSamplingStrategy |
BEAM_SEARCH |
The WhisperContext enum to configure whisper's sampling strategy. |
| vad | mcmti.midnightconfig.vad |
me.jaffe2718.mcmti.config.McmtiConfig.vad |
boolean |
false |
Enable VAD (Voice Activity Detection). |
| vad__max_speech_duration_s | mcmti.midnightconfig.vad__max_speech_duration_s |
me.jaffe2718.mcmti.config.McmtiConfig.vad__max_speech_duration_s |
float |
0f |
Max duration of a speech segment before forcing a new segment. |
| vad__min_silence_duration_ms | mcmti.midnightconfig.vad__min_silence_duration_ms |
me.jaffe2718.mcmti.config.McmtiConfig.vad__min_silence_duration_ms |
int |
0 |
Min silence duration to consider speech as ended. |
| vad__min_speech_duration_ms | mcmti.midnightconfig.vad__min_speech_duration_ms |
me.jaffe2718.mcmti.config.McmtiConfig.vad__min_speech_duration_ms |
int |
0 |
Min duration for a valid speech segment. |
| vad__samples_overlap | mcmti.midnightconfig.vad__samples_overlap |
me.jaffe2718.mcmti.config.McmtiConfig.vad__samples_overlap |
float |
0f |
Overlap in seconds when copying audio samples from speech segment. |
| vad__speech_pad_ms | mcmti.midnightconfig.vad__speech_pad_ms |
me.jaffe2718.mcmti.config.McmtiConfig.vad__speech_pad_ms |
int |
0 |
Padding added before and after speech segments. |
| vad__threshold | mcmti.midnightconfig.vad__threshold |
me.jaffe2718.mcmti.config.McmtiConfig.vad__threshold |
float |
0f |
Probability threshold to consider as speech. |
| vad_model_path | mcmti.midnightconfig.vad_model_path |
me.jaffe2718.mcmti.config.McmtiConfig.vad_model_path |
String |
"" |
Path to the VAD model. Empty means use default. |
| useCustomDynamicLib | mcmti.midnightconfig.useCustomDynamicLib |
me.jaffe2718.mcmti.config.McmtiConfig.useCustomDynamicLib |
boolean |
false |
Enable using custom dynamic library for Whisper. |
| customDynamicLibDir | mcmti.midnightconfig.customDynamicLibDir |
me.jaffe2718.mcmti.config.McmtiConfig.customDynamicLibDir |
String |
"" |
Custom dynamic link library directory for Whisper. |
- For more info, see WhisperFullParams.java
WARNING: Activating the advanced configuration will change the default parameters of the Whisper model configuration, which will have a critical impact on the speech recognition results. Inappropriate configuration of advanced parameters can lead to problems such as speech recognition failure, high computer resource usage, and program crashes. Please use with caution.
Usage
- Install the mod and download the GGML Whisper model.
- Configure the mod according to your needs in the configuration menu.
- Use the keybinding you set (default is
V) to start recording and speech recognition. - If the mode is set to
AUTO_SEND, the recognized text will be automatically sent as a chat message. If set toRELEASE_KEY_TO_SENDorRELEASE_KEY_TO_INPUT, follow the corresponding key - release actions.
Use VAD
If you want to use VAD (Voice Activity Detection), you need to download VAD model,
enable the advanced configuration and set the vad_model_path to the path of the VAD model in the configuration menu.
Custom Dynamic Library
- Download the custom dynamic library from Jaffe2718/whisper-jni and extract the files.
- Enable the advanced configuration and set the
useCustomDynamicLibtotruein the configuration menu. - Set the
customDynamicLibDirto the directory where the custom dynamic library is located in the configuration menu. - If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and libraries running Vulkan installed.
vulkaninfo - If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
nvidia-smiFor Linux, you need to install
CUDA Toolkit >= 12.4.0and configure the environment variables. For Windows, if the game crashes, you have to force the game to use theJava >= 25, see Jaffe2718/whisper-jni/v0.5.6
Troubleshooting
- Crash on Startup: Please check the compatibility and version of your use of the dynamic link library. You can disable the advanced configuration and set the
useCustomDynamicLibtofalseto use the default dynamic library (CPU version). - Audio Input Device Load Failed: Please check if Java has access to the audio input device.
- Whisper Model Load Failed: Make sure the path to the GGML Whisper model is correct.
Contributing
If you'd like to contribute to this project, please feel free to submit issues or pull requests on GitHub.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 6mo ago | 1 | ||||
| 6mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 7mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
| 9mo ago | 1 | ||||
|
R
2.1.9
|
9mo ago | 1 | |||
|
R
2.1.9
|
9mo ago | 1 | |||
|
R
2.1.8
|
9mo ago | 1 | |||
|
R
2.1.8
|
9mo ago | 1 | |||
|
R
2.1.7
|
last yr. | 1 | |||
|
R
2.1.7
|
last yr. | 1 | |||
|
R
2.1.6
|
last yr. | 1 | |||
|
R
2.1.6
|
last yr. | 1 | |||
|
R
2.1.5
|
last yr. | 1 | |||
|
R
2.1.5
|
last yr. | 1 | |||
|
R
2.1.4
|
last yr. | 1 | |||
|
R
2.1.4
|
last yr. | 1 | |||
|
R
2.1.3
|
last yr. | 1 | |||
|
R
2.1.3
|
last yr. | 1 | |||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
|
R
2.1.2
|
last yr. | 1 | |||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
|
R
2.1.1
|
last yr. | 1 | |||
|
R
2.1.1
|
last yr. | 1 | |||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
|
R
2.1.0
|
last yr. | 1 | |||
|
R
2.1.0
|
last yr. | 1 | |||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 | ||||
| last yr. | 1 |
1. adjust: use comment format for recognizer;
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| 26.1 | [fabric-api 0.148.2+26.1.2](https://modrinth.com/mod/fabric-api/version/0.148.2+26.1.2) <br> [midnightlib 1.9.3-fabric](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-fabric) | [midnightlib 1.9.3-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-neoforge) |
| 26.1.1 | [fabric-api 0.148.2+26.1.2](https://modrinth.com/mod/fabric-api/version/0.148.2+26.1.2) <br> [midnightlib 1.9.3-fabric](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-fabric) | [midnightlib 1.9.3-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-neoforge) |
| 26.1.2 | [fabric-api 0.148.2+26.1.2](https://modrinth.com/mod/fabric-api/version/0.148.2+26.1.2) <br> [midnightlib 1.9.3-fabric](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-fabric) | [midnightlib 1.9.3-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use comment format for recognizer;
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| 26.1 | [fabric-api 0.148.2+26.1.2](https://modrinth.com/mod/fabric-api/version/0.148.2+26.1.2) <br> [midnightlib 1.9.3-fabric](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-fabric) | [midnightlib 1.9.3-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-neoforge) |
| 26.1.1 | [fabric-api 0.148.2+26.1.2](https://modrinth.com/mod/fabric-api/version/0.148.2+26.1.2) <br> [midnightlib 1.9.3-fabric](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-fabric) | [midnightlib 1.9.3-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-neoforge) |
| 26.1.2 | [fabric-api 0.148.2+26.1.2](https://modrinth.com/mod/fabric-api/version/0.148.2+26.1.2) <br> [midnightlib 1.9.3-fabric](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-fabric) | [midnightlib 1.9.3-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.3+26.1-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. feature: support developers to extend custom speech recognition mod (need to refer to this mod as a dependency to
develop new mod);
2. feature: support event listeners for developers;
3. adjust: optimize lifecycle of the recognizers;
4. adjust: remove architectury dependency;
5. fix: resolved an issue where there was no warning when advanced config were turned on;
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| 26.1 | [fabric-api 0.145.3+26.1.1](https://modrinth.com/mod/fabric-api/version/0.145.3+26.1.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-fabric) | [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-neoforge) |
| 26.1.1 | [fabric-api 0.145.3+26.1.1](https://modrinth.com/mod/fabric-api/version/0.145.3+26.1.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-fabric) | [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. feature: support developers to extend custom speech recognition mod (need to refer to this mod as a dependency to
develop new mod);
2. feature: support event listeners for developers;
3. adjust: optimize lifecycle of the recognizers;
4. adjust: remove architectury dependency;
5. fix: resolved an issue where there was no warning when advanced config were turned on;
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
| 26.1 | [fabric-api 0.145.3+26.1.1](https://modrinth.com/mod/fabric-api/version/0.145.3+26.1.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-fabric) | [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-neoforge) |
| 26.1.1 | [fabric-api 0.145.3+26.1.1](https://modrinth.com/mod/fabric-api/version/0.145.3+26.1.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-fabric) | [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+26.1-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21 | [fabric-api 0.102.0+1.21](https://modrinth.com/mod/fabric-api/version/0.102.0+1.21) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.1 | [fabric-api 0.116.8+1.21.1](https://modrinth.com/mod/fabric-api/version/0.116.8+1.21.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21 | [fabric-api 0.102.0+1.21](https://modrinth.com/mod/fabric-api/version/0.102.0+1.21) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.1 | [fabric-api 0.116.8+1.21.1](https://modrinth.com/mod/fabric-api/version/0.116.8+1.21.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | Forge |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.20 | [fabric-api 0.83.0+1.20](https://modrinth.com/mod/fabric-api/version/0.83.0+1.20) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-fabric) | [architechury-api 9.2.14+forge](https://modrinth.com/mod/architectury-api/version/9.2.14+forge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-neoforge) |
| 1.20.1 | [fabric-api 0.92.7+1.20.1](https://modrinth.com/mod/fabric-api/version/0.92.7+1.20.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-fabric) | [architechury-api 9.2.14+forge](https://modrinth.com/mod/architectury-api/version/9.2.14+forge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: optimize toast messages
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | Forge |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.20 | [fabric-api 0.83.0+1.20](https://modrinth.com/mod/fabric-api/version/0.83.0+1.20) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-fabric) | [architechury-api 9.2.14+forge](https://modrinth.com/mod/architectury-api/version/9.2.14+forge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-neoforge) |
| 1.20.1 | [fabric-api 0.92.7+1.20.1](https://modrinth.com/mod/fabric-api/version/0.92.7+1.20.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-fabric) | [architechury-api 9.2.14+forge](https://modrinth.com/mod/architectury-api/version/9.2.14+forge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.20.1-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
- improve: compatibility with Minecraft from 1.21 to 1.21.8
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21 | [fabric-api 0.102.0+1.21](https://modrinth.com/mod/fabric-api/version/0.102.0+1.21) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.1 | [fabric-api 0.116.8+1.21.1](https://modrinth.com/mod/fabric-api/version/0.116.8+1.21.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
- improve: compatibility with Minecraft from 1.21 to 1.21.8
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21 | [fabric-api 0.102.0+1.21](https://modrinth.com/mod/fabric-api/version/0.102.0+1.21) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.1 | [fabric-api 0.116.8+1.21.1](https://modrinth.com/mod/fabric-api/version/0.116.8+1.21.1) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-fabric) | [architechury-api 13.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/13.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.1-neoforge) |
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.4 | [fabric-api 0.119.4+1.21.4](https://modrinth.com/mod/fabric-api/version/0.119.4+1.21.4) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 15.0.3+neoforge](https://modrinth.com/mod/architectury-api/version/15.0.3+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.5 | [fabric-api 0.128.2+1.21.5](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.5) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-fabric) | [architechury-api 16.1.4+neoforge](https://modrinth.com/mod/architectury-api/version/16.1.4+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.5-neoforge) |
| 1.21.6 | [fabric-api 0.128.2+1.21.6](https://modrinth.com/mod/fabric-api/version/0.128.2+1.21.6) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.6+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.6+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.7 | [fabric-api 0.129.0+1.21.7](https://modrinth.com/mod/fabric-api/version/0.129.0+1.21.7) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
| 1.21.8 | [fabric-api 0.136.1+1.21.8](https://modrinth.com/mod/fabric-api/version/0.136.1+1.21.8) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-fabric) | [architechury-api 17.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/17.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.8-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD5. adjust: description of the mod to include the link of the unofficial Whisper model
## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.11 | [fabric-api 0.141.3+1.21.11](https://modrinth.com/mod/fabric-api/version/0.141.3+1.21.11) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-fabric) | [architechury-api 19.0.1+neoforge](https://modrinth.com/mod/architectury-api/version/19.0.1+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.11-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)
1. adjust: use
io.github.jaffe2718:whisper-jni:1.0.1 as Whisper dependency, use musl libc as default forLinux + CPU, current version of the binary dynamic link library is not compatible with the old versions2. fix: split the message into multiple parts not longer than 256 characters to avoid overflow due to the limited chat
message length of Minecraft
3. fix: auto switch to default native library if the custom library load failed
4. optimize: use
SHA-256 checksum for built-in VAD## Download Whisper Model
- [Official Whisper GGML Model](https://huggingface.co/ggerganov/whisper.cpp/tree/main)
- [Unofficial Whisper GGML Model](https://huggingface.co/Jaffe2718/ggml-whisper-unofficial/tree/main)
- [VAD Model](https://huggingface.co/ggml-org/whisper-vad)
## Dependencies
| Minecraft | Fabric | NeoForge |
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 1.21.9 | [fabric-api 0.134.1+1.21.9](https://modrinth.com/mod/fabric-api/version/0.134.1+1.21.9) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.5+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.5+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
| 1.21.10 | [fabric-api 0.138.4+1.21.10](https://modrinth.com/mod/fabric-api/version/0.138.4+1.21.10) <br> [midnightlib 1.9.2-fabric](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-fabric) | [architechury-api 18.0.8+neoforge](https://modrinth.com/mod/architectury-api/version/18.0.8+neoforge) <br> [midnightlib 1.9.2-neoforge](https://modrinth.com/mod/midnightlib/version/1.9.2+1.21.10-neoforge) |
## Compatibility
| | Windows | Linux | MacOS |
|-------------------|---------------------------------|---------------------------------|---------------------------------|
| x86_64 | Compatible | Compatible | Compatible |
| arm64 | Not compatible | Compatible | Compatible |
| x86_64 + Vulkan | External dynamic library needed | External dynamic library needed | External dynamic library needed |
| arm64 + Vulkan | Not compatible | External dynamic library needed | External dynamic library needed |
| x86_64 + openBLAS | External dynamic library needed | Not compatible | Not compatible |
| x86_64 + CUDA | External dynamic library needed | External dynamic library needed | Not compatible |
### NOTE
The provided dynamic link libraries of
Vulkan and CUDAin [GitHub Releases](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) are compiled on
ubuntu-22.04 withGLIBC 2.35, and may not be compatible with all Linux distributions. There are some solutions that may work, if yourgame crashes and it is confirmed in the crash log that it is incompatible between GLIBC versions, you can try any of the
following:
1. Use a different version of GLIBC (recommended)
1. Check the environment variables for
Vulkan or CUDA Toolkit 12.42. Download [glibc-2.35.tar.gz](https://ftp.gnu.org/pub/gnu/glibc/glibc-2.35.tar.gz)
3. Compile & install at
/path/to/your/glibc-2.35, **DO NOT** replace the system glibc and **DO NOT** set up anyglobal environment variables for it
4. Use some launcher that supports custom environment variables, such
as [Prism Launcher](https://prismlauncher.org/wiki/help-pages/environment-variables/), set
LD_LIBRARY_PATH to/path/to/your/glibc-2.35/lib642. Compile the dynamic link library yourself and edit the config file of the mod
1. Clone the [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni) repository:
git clone https://github.com/Jaffe2718/whisper-jni.git2. Switch to the tag
v1.0.1: cd whisper-jni && git checkout v1.0.13. Install
Vulkan SDK and ShaderC for building Vulkan dynamic link library, or CUDA Toolkit 12.4 forbuilding
CUDA dynamic link library4. Build
## Custom Dynamic Library
1. Download the custom dynamic library
from [Jaffe2718/whisper-jni](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1) and extract the files, *
- DO NOT USE OTHER VERSIONS**
useCustomDynamicLib to true in the configuration menu.3. Set the
customDynamicLibDir to the directory where the custom dynamic library is located in the configuration menu.4. If you want to use the dynamic library which is supported vulkan, check your check that your computer has drivers and
libraries running Vulkan installed.
``
shell
vulkaninfo
`
5. If you want to use CUDA, check that your computer has drivers and libraries running CUDA installed.
`shell
nvidia-smi
`
For Linux, you need to install CUDA Toolkit >= 12.4.0 and configure the environment variables.
For Windows, if the game crashes, you have to force the game to use the Java >= 25`,see [Jaffe2718/whisper-jni/v1.0.1](https://github.com/Jaffe2718/whisper-jni/releases/tag/v1.0.1)