d
gcw_GYGYTJUF/CrisperWhisper
Model Introduction
Files & versions
Pull Requests
Discussion
Analysis

CrisperWhisper

Introduction

CrisperWhisper is a fine-tuned variant of OpenAI's whisper-large-v3 for high-quality verbatim speech recognition. It supports both German (de) and English (en) transcription with improved timestamp accuracy and word-level alignment.

The CrisperWhisper model is supported on vLLM-Ascend via the native WhisperForConditionalGeneration architecture. This document provides deployment and verification instructions for Ascend NPU.

Supported Features

FeatureStatus
ACLGraph (PIECEWISE)Supported
TranscriptionSupported
TranslationSupported
Language DetectionSupported
Segment TimestampsSupported
Tensor ParallelismSupported
Multi-NPU (TP)Supported

Environment Preparation

Model Weight

  • nyrahealth/CrisperWhisper (FP16/BF16): Download model weight

You can use ModelScope or HuggingFace mirror to download the model:

export HF_ENDPOINT=https://hf-mirror.com

Installation

Use the official vllm-ascend Docker image or pip install:

pip install vllm-ascend

Ensure vllm[audio] dependencies are installed for audio feature extraction:

VLLM_TARGET_DEVICE=empty pip install -v ".[audio]"

Deployment

Single NPU

export HF_ENDPOINT=https://hf-mirror.com
export MODEL_PATH="nyrahealth/CrisperWhisper"

vllm serve "${MODEL_PATH}" \
  --host 0.0.0.0 \
  --port 8000 \
  --served-model-name crisper-whisper \
  --dtype bfloat16 \
  --max-model-len 448 \
  --max-num-seqs 5 \
  --block-size 128 \
  --trust-remote-code \
  --compilation-config '{"cudagraph_mode": "PIECEWISE"}'

:::{note} Encoder-decoder models on Ascend currently require PIECEWISE ACLGraph mode (automatically enforced by vllm-ascend platform). FULL_DECODE_ONLY is not supported for Whisper. :::

Multiple NPU (Tensor Parallelism)

export HF_ENDPOINT=https://hf-mirror.com
export MODEL_PATH="nyrahealth/CrisperWhisper"
export TP_SIZE=2

vllm serve "${MODEL_PATH}" \
  --host 0.0.0.0 \
  --port 8000 \
  --served-model-name crisper-whisper \
  --dtype bfloat16 \
  --max-model-len 448 \
  --max-num-seqs 5 \
  --block-size 128 \
  --trust-remote-code \
  --tensor-parallel-size ${TP_SIZE} \
  --compilation-config '{"cudagraph_mode": "PIECEWISE"}'

Functional Verification

Readiness Check

curl -sf http://127.0.0.1:8000/v1/models

Transcription (English)

curl http://localhost:8000/v1/audio/transcriptions \
  -H "Content-Type: multipart/form-data" \
  -F file="@sample_en.wav" \
  -F model="crisper-whisper" \
  -F language="en" \
  -F response_format="verbose_json"

Transcription (German)

curl http://localhost:8000/v1/audio/transcriptions \
  -H "Content-Type: multipart/form-data" \
  -F file="@sample_de.wav" \
  -F model="crisper-whisper" \
  -F language="de" \
  -F response_format="verbose_json"

Translation (to English)

curl http://localhost:8000/v1/audio/translations \
  -H "Content-Type: multipart/form-data" \
  -F file="@sample_de.wav" \
  -F model="crisper-whisper" \
  -F response_format="verbose_json"

Chat Completions (with Audio)

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "crisper-whisper",
    "messages": [
      {
        "role": "user",
        "content": [
          {"type": "text", "text": "Transcribe this audio."},
          {"type": "audio_url", "audio_url": {"url": "https://example.com/audio.wav"}}
        ]
      }
    ],
    "max_completion_tokens": 200,
    "temperature": 0.0
  }'

Fallback Commands

If inference fails, try the following in order:

  1. Disable ACLGraph (eager mode):

    --enforce-eager
  2. Reduce batch size:

    --max-num-seqs 1
  3. Reduce memory utilization:

    --gpu-memory-utilization 0.7

Accuracy & Performance Notes

  • CrisperWhisper is based on whisper-large-v3 (1.55B parameters).
  • On Ascend NPU, the encoder uses Conv1d + Transformer, and the decoder uses causal self-attention + cross-attention.
  • All attention types (encoder self-attention, decoder self-attention, encoder-decoder cross-attention) are supported by vllm-ascend's attention_v1.py backend.
  • For verbatim transcription benchmarks, refer to the CrisperWhisper paper.