Instructions to use Retrieve0/Qwen3-ASR-1.7B-TensorRT-Encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use Retrieve0/Qwen3-ASR-1.7B-TensorRT-Encoder with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Remove INT8 encoder files
Browse filesFiles changed (3)
- README.md+2-9
- encoder-window.int8.onnxDeleted-3
- encoder-window.int8.onnx_dataDeleted-3
8 unmodified lines910111212131413 unmodified lines282930323132333435383637383911 unmodified lines515253565754555610 unmodified lines676869747071727374807576777811 unmodified lines90919298999394958 unmodified lines- onnx- bf16- fp16- int8---
<p align="center">13 unmodified lines| --- | --- | --- || BF16 | `encoder-window.bf16.onnx`, `encoder-window.bf16.onnx.data` | Reference export for GPUs with BF16 support || FP16 | `encoder-window.fp16.onnx`, `encoder-window.fp16.onnx.data` | Compatibility export for older NVIDIA GPUs || INT8 Q/DQ | `encoder-window.int8.onnx`, `encoder-window.int8.onnx_data` | Calibrated quantized export |
TensorRT `.engine` files are not included because they depend on the target GPU architecture and TensorRT build environment. Build an engine locally with this project.
### Precision and calibration
BF16 is the project reference precision. FP16 supports NVIDIA GPUs without BF16. INT8 applies symmetric Q/DQ quantization to Conv and MatMul operations; remaining operations use floating-point precision. Calibration used 32 audio files and produced 52 encoder windows.BF16 is the project reference precision. FP16 supports NVIDIA GPUs without BF16. This repository publishes the BF16 and FP16 encoder exports.
### Requirements
11 unmodified linesuv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf build --encoder-precision bf16uv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf build --encoder-precision fp16
uv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf quantize-encoder .\calibration-audio --max-audio-files 32uv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf build --encoder-precision int8```
### License and citation10 unmodified lines| --- | --- | --- || BF16 | `encoder-window.bf16.onnx`、`encoder-window.bf16.onnx.data` | 支持 BF16 的 GPU 上的基准导出 || FP16 | `encoder-window.fp16.onnx`、`encoder-window.fp16.onnx.data` | 兼容不支持 BF16 的较旧 NVIDIA GPU || INT8 Q/DQ | `encoder-window.int8.onnx`、`encoder-window.int8.onnx_data` | 经校准的量化导出 |
本仓库不提供 TensorRT `.engine` 文件,因为它们依赖目标 GPU 架构和 TensorRT 构建环境。请在目标设备上使用本项目构建 engine。
### 精度与校准
BF16 是本项目的基准精度。FP16 用于不支持 BF16 的 NVIDIA GPU。INT8 对 Conv 和 MatMul 运算应用对称 Q/DQ 量化,其余运算保留浮点精度。校准使用了 32 个音频文件,生成 52 个 encoder window。BF16 是本项目的基准精度,FP16 用于不支持 BF16 的 NVIDIA GPU。本仓库发布 BF16 和 FP16 encoder 导出文件。
### 运行要求
11 unmodified linesuv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf build --encoder-precision bf16uv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf build --encoder-precision fp16
uv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf quantize-encoder .\calibration-audio --max-audio-files 32uv run qwen3-asr --model Qwen/Qwen3-ASR-1.7B-hf build --encoder-precision int8```
### 许可证与引用123version https://git-lfs.github.com/spec/v1oid sha256:6cc2b80f21dd5036919e8a67abc4d90452500f17eaa24f74e530c248b225f585size 1893394123version https://git-lfs.github.com/spec/v1oid sha256:6c92889d879e992d617a5c1070bf206fb08acf96c056c62657a6a094ed95aaefsize 634978752README.md+2-9
encoder-window.int8.onnxDeleted-3
encoder-window.int8.onnx_dataDeleted-3