Hardware requirements
The following is a guide to the hardware requirements for the CAIMAN-ASR server.
Host requirements
The CAIMAN-ASR server requires a host machine with the following specifications. They were measured with the server running at its maximum sustained real-time-stream (RTS) rate on VectorPath cards, and rounded up to give some headroom.
| Resource | Requirement |
|---|---|
| vCPUs | 8 per card |
| Memory | 4 GB per card, plus 24 GB per n-gram model |
- vCPUs are hardware threads, as
nproccounts them. They were measured on AMD EPYC 7002-series processors (2.8 GHz maximum clock) with two threads per core, so each vCPU is half of a physical core. On a slower processor, or one with hyper-threading disabled, allow proportionally more. - N-gram models are used by the beam decoder, and are loaded in addition to the per-card memory. An n-gram model is 17 to 22 GB, depending on the model. It must stay in memory for the decoder to run at full speed, which is why it needs so much more than a card does. Cards that use the greedy decoder need no n-gram model.
- Storage: 100 GB. A model’s checkpoint is under 2 GB. With its n-gram, the base, large and extra-large models are 17 GB, 21 GB and 22 GB.
- Operating system: Ubuntu 22.04 LTS (recommended).
For example, a host with four cards, two running the base model with the greedy decoder and two running the extra-large model with the beam decoder, needs:
- 4 × 8 = 32 vCPUs
- 4 × 4 GB + 24 GB = 40 GB of memory (the 24 GB is for the one n-gram model)
Bandwidth
The server requires 500 Mbits/s of bandwidth per 1000 streams. For example, 2000 streams would require 1 Gbit/s of bandwidth. The bandwidth is dependent on the number of streams and not the number of cards (see the performance page for the streams a card handles). This figure has some headroom built in; the measured value on a reliable connection is 700 Mbits/s for 2000 streams.