Sync from davanstrien/uv-scripts via hub-sync
Browse files
nemotron-transcribe-saturate.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# /// script
|
| 2 |
# requires-python = ">=3.11"
|
| 3 |
# dependencies = [
|
| 4 |
-
# "saturate[hf]==0.3.
|
| 5 |
# "soundfile",
|
| 6 |
# ]
|
| 7 |
#
|
|
@@ -25,9 +25,10 @@ over the vLLM recipe:
|
|
| 25 |
two windows' worth, so lower it for large WAV inputs.
|
| 26 |
- **Crash-safe, resumable output**: results stream to the output as parquet
|
| 27 |
parts; re-running the same command skips files already done (by path).
|
| 28 |
-
- **
|
| 29 |
-
|
| 30 |
-
|
|
|
|
| 31 |
- **No NeMo install**: SGLang-Omni is one pip install on the image below.
|
| 32 |
|
| 33 |
What it does NOT do (SGLang-Omni's integration, per the model card): no word
|
|
|
|
| 1 |
# /// script
|
| 2 |
# requires-python = ">=3.11"
|
| 3 |
# dependencies = [
|
| 4 |
+
# "saturate[hf]==0.3.1",
|
| 5 |
# "soundfile",
|
| 6 |
# ]
|
| 7 |
#
|
|
|
|
| 25 |
two windows' worth, so lower it for large WAV inputs.
|
| 26 |
- **Crash-safe, resumable output**: results stream to the output as parquet
|
| 27 |
parts; re-running the same command skips files already done (by path).
|
| 28 |
+
- **Retries, then durable error rows**: a file that meets a 5xx, a 429 or a
|
| 29 |
+
dropped connection is sent again (saturate 0.3.1 retries a multipart upload held
|
| 30 |
+
in memory); one that still fails, or that the server rejects, is recorded as
|
| 31 |
+
`{id, error}`, and `--retry-errors` re-admits only those on a later run.
|
| 32 |
- **No NeMo install**: SGLang-Omni is one pip install on the image below.
|
| 33 |
|
| 34 |
What it does NOT do (SGLang-Omni's integration, per the model card): no word
|