davanstrien HF Staff commited on
Commit
cefbf72
·
verified ·
1 Parent(s): eb7e0d5

Sync from davanstrien/uv-scripts via hub-sync

Browse files
Files changed (1) hide show
  1. nemotron-transcribe-saturate.py +5 -4
nemotron-transcribe-saturate.py CHANGED
@@ -1,7 +1,7 @@
1
  # /// script
2
  # requires-python = ">=3.11"
3
  # dependencies = [
4
- # "saturate[hf]==0.3.0",
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
- - **Durable error rows**: each file is sent once (saturate does not retry
29
- multipart uploads); a failed file is recorded as `{id, error}`, and
30
- `--retry-errors` re-admits only those on a later run.
 
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