[Sync] Lua Hyprland chain, licence cleanup
This commit is contained in:
1 parent
93b4f695ce
commit
47166d877f
183 files changed
+5618
-5839
No files matched your search
@@ -28,7 +28,7 @@ WHISPER_LANG=auto
|
||||
|
||||
which expands to:
|
||||
|
||||
```
|
||||
```sh
|
||||
whisper-server --model $WHISPER_MODEL \
|
||||
--host 0.0.0.0 --port $WHISPER_PORT \
|
||||
--inference-path /v1/audio/transcriptions \
|
||||
@@ -56,7 +56,7 @@ with auth in front — whisper-server has no `--api-key`.
|
||||
`git pull` edit is on disk immediately — but systemd caches unit files, so it still needs a reload.
|
||||
(Copying into `/etc` instead would work, but then every repo edit silently drifts.) On the server:
|
||||
|
||||
```
|
||||
```sh
|
||||
dotsync # nudges you if this dir changed
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl restart whisper@turbo whisper@small
|
||||
@@ -66,7 +66,7 @@ Editing only an `.env` needs no `daemon-reload` — just restart that instance.
|
||||
|
||||
First install (stow does not install units):
|
||||
|
||||
```
|
||||
```sh
|
||||
yay -S whisper-cpp ffmpeg
|
||||
curl -L -o ~/software/models/ggml-large-v3-turbo-q5_0.bin \
|
||||
https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo-q5_0.bin
|
||||
@@ -99,7 +99,7 @@ transcribing it, and the `gemma-4-E4B` preset samples at temp 1.0. Whisper is pu
|
||||
|
||||
**Still available as a fallback** for wav/mp3/flac (no config change needed), if these services are down:
|
||||
|
||||
```
|
||||
```sh
|
||||
curl -F file=@clip.wav -F model=gemma-4-E4B-it-UD-Q8_K_XL \
|
||||
http://$SERVER:11343/v1/audio/transcriptions
|
||||
```
|
||||
@@ -122,7 +122,7 @@ with line breaks mid-sentence.
|
||||
|
||||
## Verifying
|
||||
|
||||
```
|
||||
```sh
|
||||
systemctl status whisper@turbo whisper@small
|
||||
rocm-smi --showmeminfo vram # must be UNCHANGED vs before the services started
|
||||
|
||||
@@ -159,7 +159,7 @@ have no server integration, so **model size is the only real dial**.
|
||||
|
||||
A/B any candidate without touching a service:
|
||||
|
||||
```
|
||||
```sh
|
||||
curl -LO https://github.com/ggml-org/whisper.cpp/raw/master/samples/jfk.wav # known text
|
||||
time whisper-cli -m ~/software/models/ggml-small.en-q5_1.bin -f jfk.wav -t 6 -nt
|
||||
time whisper-cli -m ~/software/models/ggml-base.en-q5_1.bin -f jfk.wav -t 6 -nt
|
||||
|
||||
Reference in new issue
Block a user