# Run init\_start.sh failed

**URL:** <https://forums.developer.nvidia.com/t/run-init-start-sh-failed/210677>\
**Category:** Nemotron Speech + Riva\
**Tags:** riva\
**Created:** [April 8, 2022, 3:33pm UTC](https://forums.developer.nvidia.com/t/run-init-start-sh-failed/210677 "2022-04-08T15:33:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![1405956117](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1405956117](https://forums.developer.nvidia.com/u/1405956117)\
**Post date:** [April 8, 2022, 3:33pm UTC](https://forums.developer.nvidia.com/t/run-init-start-sh-failed/210677/1 "2022-04-08T15:33:40Z")

</div>

Please provide the following information when requesting support.

Hardware - Nvidia Geforce 1650TI  
Hardware - Intel i5 9400F  
Operating System - Ubuntu 20.04  
Riva Version Riva Speech Skills 1.10.0 Beta

I ran riva\_start.sh failed.

$ bash riva\_start.sh  
Starting Riva Speech Services. This may take several minutes depending on the number of models deployed.  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Waiting for Riva server to load all models…retrying in 10 seconds  
Health ready check failed.  
Check Riva logs with: docker logs riva-speech

And I checked the docker log, found the following message:

# ========================== === Riva Speech Skills ===

NVIDIA Release 22.02 (build 32720915)  
Riva Speech Server Version 1.10.0-beta

Copyright (c) 2018-2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.

Various files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This container image and its contents are governed by the NVIDIA Deep Learning Container License.  
By pulling and using the container, you accept the terms and conditions of this license:

> **[NVIDIA\_Deep\_Learning\_Container\_License.pdf](https://developer.download.nvidia.com/licenses/NVIDIA_Deep_Learning_Container_License.pdf)**
>
> 145.24 KB

WARNING: CUDA Minor Version Compatibility mode ENABLED.  
Using driver version 470.103.01 which has support for CUDA 11.4. This container  
was built with CUDA 11.6 and will be run in Minor Version Compatibility mode.  
CUDA Forward Compatibility is preferred over Minor Version Compatibility for use  
with this container but was unavailable:  
[[Forward compatibility was attempted on non supported HW (CUDA\_ERROR\_COMPAT\_NOT\_SUPPORTED\_ON\_DEVICE) cuInit()=804]]  
See [CUDA Compatibility — CUDA Compatibility](https://docs.nvidia.com/deploy/cuda-compatibility/) for details.

NOTE: The SHMEM allocation limit is set to the default of 64MB. This may be  
insufficient for Riva Speech Server. NVIDIA recommends the use of the following flags:  
docker run --gpus all --ipc=host --ulimit memlock=-1 --ulimit stack=67108864 …

> Riva waiting for Triton server to load all models…retrying in 1 second  
> I0408 12:45:01.876378 100 onnxruntime.cc:2319] TRITONBACKEND\_Initialize: onnxruntime  
> I0408 12:45:01.876460 100 onnxruntime.cc:2329] Triton TRITONBACKEND API version: 1.8  
> I0408 12:45:01.876468 100 onnxruntime.cc:2335] ‘onnxruntime’ TRITONBACKEND API version: 1.8  
> I0408 12:45:01.876473 100 onnxruntime.cc:2365] backend configuration:  
> {}  
> I0408 12:45:02.018362 100 pinned\_memory\_manager.cc:240] Pinned memory pool is created at ‘0x7f3a28000000’ with size 268435456  
> I0408 12:45:02.018695 100 cuda\_memory\_manager.cc:105] CUDA memory pool is created on device 0 with size 1000000000  
> E0408 12:45:02.020943 100 model\_repository\_manager.cc:1844] Poll failed for model directory ‘riva-trt-citrinet-1024-en-US-asr-offline-am-streaming-offline’: failed to open text file for read /data/models/riva-trt-citrinet-1024-en-US-asr-offline-am-streaming-offline/config.pbtxt: No such file or directory  
> I0408 12:45:02.022953 100 model\_repository\_manager.cc:994] loading: qa\_qa\_postprocessor:1  
> I0408 12:45:02.123480 100 model\_repository\_manager.cc:994] loading: qa\_tokenizer:1  
> I0408 12:45:02.131935 100 qa\_postprocessor\_cbe.cc:124] TRITONBACKEND\_ModelInitialize: qa\_qa\_postprocessor (version 1)  
> I0408 12:45:02.132803 100 backend\_model.cc:255] model configuration:  
> {  
> “name”: “qa\_qa\_postprocessor”,  
> “platform”: “”,  
> “backend”: “riva\_nlp\_qa”,  
> “version\_policy”: {  
> “latest”: {  
> “num\_versions”: 1  
> }  
> },  
> “max\_batch\_size”: 8,  
> “input”: [  
> {  
> “name”: “QA\_LOGITS\_\_0”,  
> “data\_type”: “TYPE\_FP32”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 384,  
> 2  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “SEQ\_LEN\_\_1”,  
> “data\_type”: “TYPE\_INT64”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “TOK\_STR\_\_2”,  
> “data\_type”: “TYPE\_STRING”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 384  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “TOK\_TO\_ORIG\_\_3”,  
> “data\_type”: “TYPE\_UINT16”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 384  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “IN\_PASSAGE\_STR\_\_4”,  
> “data\_type”: “TYPE\_STRING”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> }  
> ],  
> “output”: [  
> {  
> “name”: “ANSWER\_SPANS\_\_0”,  
> “data\_type”: “TYPE\_STRING”,  
> “dims”: [  
> -1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “ANSWER\_SCORES\_\_1”,  
> “data\_type”: “TYPE\_FP32”,  
> “dims”: [  
> -1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> }  
> ],  
> “batch\_input”: ,  
> “batch\_output”: ,  
> “optimization”: {  
> “priority”: “PRIORITY\_DEFAULT”,  
> “input\_pinned\_memory”: {  
> “enable”: true  
> },  
> “output\_pinned\_memory”: {  
> “enable”: true  
> },  
> “gather\_kernel\_buffer\_threshold”: 0,  
> “eager\_batching”: false  
> },  
> “instance\_group”: [  
> {  
> “name”: “qa\_qa\_postprocessor\_0”,  
> “kind”: “KIND\_CPU”,  
> “count”: 1,  
> “gpus”: ,  
> “secondary\_devices”: ,  
> “profile”: ,  
> “passive”: false,  
> “host\_policy”: “”  
> }  
> ],  
> “default\_model\_filename”: “”,  
> “cc\_model\_filenames”: {},  
> “metric\_tags”: {},  
> “parameters”: {  
> “version\_2\_with\_negative”: {  
> “string\_value”: “True”  
> },  
> “n\_best\_size”: {  
> “string\_value”: “20”  
> },  
> “max\_answer\_length”: {  
> “string\_value”: “30”  
> },  
> “bert\_model\_seq\_length”: {  
> “string\_value”: “384”  
> }  
> },  
> “model\_warmup”:   
> }  
> I0408 12:45:02.133061 100 qa\_postprocessor\_cbe.cc:126] TRITONBACKEND\_ModelInstanceInitialize: qa\_qa\_postprocessor\_0 (device 0)  
> I0408 12:45:02.133321 100 model\_repository\_manager.cc:1149] successfully loaded ‘qa\_qa\_postprocessor’ version 1  
> I0408 12:45:02.224030 100 model\_repository\_manager.cc:994] loading: riva-trt-riva\_ner-nn-bert-base-uncased:1  
> I0408 12:45:02.241504 100 tokenizer\_library.cc:18] TRITONBACKEND\_ModelInitialize: qa\_tokenizer (version 1)  
> W:parameter\_parser.cc:118: Parameter bos could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter dropout\_prob could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter eos could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter reverse could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter tokenizer\_to\_lower could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> I0408 12:45:02.243767 100 backend\_model.cc:255] model configuration:  
> {  
> “name”: “qa\_tokenizer”,  
> “platform”: “”,  
> “backend”: “riva\_nlp\_tokenizer”,  
> “version\_policy”: {  
> “latest”: {  
> “num\_versions”: 1  
> }  
> },  
> “max\_batch\_size”: 8,  
> “input”: [  
> {  
> “name”: “IN\_QUERY\_STR\_\_0”,  
> “data\_type”: “TYPE\_STRING”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “IN\_PASSAGE\_STR\_\_1”,  
> “data\_type”: “TYPE\_STRING”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> }  
> ],  
> “output”: [  
> {  
> “name”: “SEQ\_\_0”,  
> “data\_type”: “TYPE\_INT32”,  
> “dims”: [  
> 384  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “MASK\_\_1”,  
> “data\_type”: “TYPE\_INT32”,  
> “dims”: [  
> 384  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “SEQ\_LEN\_\_2”,  
> “data\_type”: “TYPE\_INT64”,  
> “dims”: [  
> 1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “TOK\_STR\_\_3”,  
> “data\_type”: “TYPE\_STRING”,  
> “dims”: [  
> 384  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “SEGMENT\_\_4”,  
> “data\_type”: “TYPE\_INT32”,  
> “dims”: [  
> 384  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “TOK\_TO\_ORIG\_\_5”,  
> “data\_type”: “TYPE\_UINT16”,  
> “dims”: [  
> 384  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> }  
> ],  
> “batch\_input”: ,  
> “batch\_output”: ,  
> “optimization”: {  
> “priority”: “PRIORITY\_DEFAULT”,  
> “input\_pinned\_memory”: {  
> “enable”: true  
> },  
> “output\_pinned\_memory”: {  
> “enable”: true  
> },  
> “gather\_kernel\_buffer\_threshold”: 0,  
> “eager\_batching”: false  
> },  
> “instance\_group”: [  
> {  
> “name”: “qa\_tokenizer\_0”,  
> “kind”: “KIND\_CPU”,  
> “count”: 1,  
> “gpus”: ,  
> “secondary\_devices”: ,  
> “profile”: ,  
> “passive”: false,  
> “host\_policy”: “”  
> }  
> ],  
> “default\_model\_filename”: “”,  
> “cc\_model\_filenames”: {},  
> “metric\_tags”: {},  
> “parameters”: {  
> “unk\_token”: {  
> “string\_value”: “[UNK]”  
> },  
> “vocab”: {  
> “string\_value”: “/data/models/qa\_tokenizer/1/tokenizer.vocab\_file”  
> },  
> “tokenizer”: {  
> “string\_value”: “wordpiece”  
> },  
> “max\_query\_length”: {  
> “string\_value”: “64”  
> },  
> “bos\_token”: {  
> “string\_value”: “[CLS]”  
> },  
> “to\_lower”: {  
> “string\_value”: “true”  
> },  
> “eos\_token”: {  
> “string\_value”: “[SEP]”  
> },  
> “task”: {  
> “string\_value”: “qa”  
> },  
> “doc\_stride”: {  
> “string\_value”: “128”  
> }  
> },  
> “model\_warmup”:   
> }  
> I0408 12:45:02.244480 100 tokenizer\_library.cc:21] TRITONBACKEND\_ModelInstanceInitialize: qa\_tokenizer\_0 (device 0)  
> I0408 12:45:02.275000 100 model\_repository\_manager.cc:1149] successfully loaded ‘qa\_tokenizer’ version 1  
> I0408 12:45:02.324704 100 model\_repository\_manager.cc:994] loading: riva-trt-riva\_qa-nn-bert-base-uncased:1  
> I0408 12:45:02.389447 100 tensorrt.cc:5145] TRITONBACKEND\_Initialize: tensorrt  
> I0408 12:45:02.389470 100 tensorrt.cc:5155] Triton TRITONBACKEND API version: 1.8  
> I0408 12:45:02.389477 100 tensorrt.cc:5161] ‘tensorrt’ TRITONBACKEND API version: 1.8  
> I0408 12:45:02.389560 100 tensorrt.cc:5204] backend configuration:  
> {}  
> I0408 12:45:02.389585 100 tensorrt.cc:5256] TRITONBACKEND\_ModelInitialize: riva-trt-riva\_ner-nn-bert-base-uncased (version 1)  
> I0408 12:45:02.390143 100 tensorrt.cc:5305] TRITONBACKEND\_ModelInstanceInitialize: riva-trt-riva\_ner-nn-bert-base-uncased\_0 (GPU device 0)  
> I0408 12:45:02.424962 100 model\_repository\_manager.cc:994] loading: token\_classification\_detokenizer:1  
> I0408 12:45:02.525213 100 model\_repository\_manager.cc:994] loading: token\_classification\_label\_tokens:1  
> I0408 12:45:02.625474 100 model\_repository\_manager.cc:994] loading: token\_classification\_tokenizer:1  
> I0408 12:45:02.693092 100 logging.cc:49] [MemUsageChange] Init CUDA: CPU +314, GPU +0, now: CPU 351, GPU 1723 (MiB)  
> Riva waiting for Triton server to load all models…retrying in 1 second  
> I0408 12:45:02.884058 100 logging.cc:49] Loaded engine size: 209 MiB  
> I0408 12:45:03.483453 100 logging.cc:49] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +1, GPU +8, now: CPU 1419, GPU 2289 (MiB)  
> I0408 12:45:03.598646 100 logging.cc:49] [MemUsageChange] Init cuDNN: CPU +114, GPU +52, now: CPU 1533, GPU 2341 (MiB)  
> I0408 12:45:03.599335 100 logging.cc:49] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +95, now: CPU 0, GPU 95 (MiB)  
> I0408 12:45:03.614462 100 logging.cc:49] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +8, now: CPU 1114, GPU 2333 (MiB)  
> I0408 12:45:03.615487 100 logging.cc:49] [MemUsageChange] Init cuDNN: CPU +0, GPU +8, now: CPU 1114, GPU 2341 (MiB)  
> I0408 12:45:03.677797 100 logging.cc:49] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +59, now: CPU 0, GPU 154 (MiB)  
> I0408 12:45:03.678006 100 tensorrt.cc:1409] Created instance riva-trt-riva\_ner-nn-bert-base-uncased\_0 on GPU 0 with stream priority 0 and optimization profile default[0];  
> I0408 12:45:03.678069 100 tensorrt.cc:5256] TRITONBACKEND\_ModelInitialize: riva-trt-riva\_qa-nn-bert-base-uncased (version 1)  
> I0408 12:45:03.678287 100 model\_repository\_manager.cc:1149] successfully loaded ‘riva-trt-riva\_ner-nn-bert-base-uncased’ version 1  
> I0408 12:45:03.678862 100 detokenizer\_cbe.cc:145] TRITONBACKEND\_ModelInitialize: token\_classification\_detokenizer (version 1)  
> I0408 12:45:03.679285 100 backend\_model.cc:255] model configuration:  
> {  
> “name”: “token\_classification\_detokenizer”,  
> “platform”: “”,  
> “backend”: “riva\_nlp\_detokenizer”,  
> “version\_policy”: {  
> “latest”: {  
> “num\_versions”: 1  
> }  
> },  
> “max\_batch\_size”: 8,  
> “input”: [  
> {  
> “name”: “IN\_TOKEN\_LABELS\_\_0”,  
> “data\_type”: “TYPE\_STRING”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> -1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “IN\_TOKEN\_SCORES\_\_1”,  
> “data\_type”: “TYPE\_FP32”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> -1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “IN\_SEQ\_LEN\_\_2”,  
> “data\_type”: “TYPE\_INT64”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> },  
> {  
> “name”: “IN\_TOK\_STR\_\_3”,  
> “data\_type”: “TYPE\_STRING”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> -1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> }  
> ],  
> “output”: [  
> {  
> “name”: “OUT\_TOKEN\_LABELS\_\_0”,  
> “data\_type”: “TYPE\_STRING”,  
> “dims”: [  
> -1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “OUT\_TOKEN\_SCORES\_\_1”,  
> “data\_type”: “TYPE\_FP32”,  
> “dims”: [  
> -1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “OUT\_SEQ\_LEN\_\_2”,  
> “data\_type”: “TYPE\_INT64”,  
> “dims”: [  
> 1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “OUT\_TOK\_STR\_\_3”,  
> “data\_type”: “TYPE\_STRING”,  
> “dims”: [  
> -1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> }  
> ],  
> “batch\_input”: ,  
> “batch\_output”: ,  
> “optimization”: {  
> “priority”: “PRIORITY\_DEFAULT”,  
> “cuda”: {  
> “graphs”: false,  
> “busy\_wait\_events”: false,  
> “graph\_spec”: ,  
> “output\_copy\_stream”: true  
> },  
> “input\_pinned\_memory”: {  
> “enable”: true  
> },  
> “output\_pinned\_memory”: {  
> “enable”: true  
> },  
> “gather\_kernel\_buffer\_threshold”: 0,  
> “eager\_batching”: false  
> },  
> “instance\_group”: [  
> {  
> “name”: “token\_classification\_detokenizer\_0”,  
> “kind”: “KIND\_CPU”,  
> “count”: 1,  
> “gpus”: ,  
> “secondary\_devices”: ,  
> “profile”: ,  
> “passive”: false,  
> “host\_policy”: “”  
> }  
> ],  
> “default\_model\_filename”: “”,  
> “cc\_model\_filenames”: {},  
> “metric\_tags”: {},  
> “parameters”: {},  
> “model\_warmup”: ,  
> “model\_transaction\_policy”: {  
> “decoupled”: false  
> }  
> }  
> I0408 12:45:03.679453 100 detokenizer\_cbe.cc:147] TRITONBACKEND\_ModelInstanceInitialize: token\_classification\_detokenizer\_0 (device 0)  
> I0408 12:45:03.679545 100 model\_repository\_manager.cc:1149] successfully loaded ‘token\_classification\_detokenizer’ version 1  
> I0408 12:45:03.679800 100 tensorrt.cc:5305] TRITONBACKEND\_ModelInstanceInitialize: riva-trt-riva\_qa-nn-bert-base-uncased\_0 (GPU device 0)  
> I0408 12:45:03.680293 100 logging.cc:49] [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 1228, GPU 2545 (MiB)  
> I0408 12:45:03.870424 100 logging.cc:49] Loaded engine size: 208 MiB  
> Riva waiting for Triton server to load all models…retrying in 1 second  
> I0408 12:45:03.984435 100 logging.cc:49] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +8, now: CPU 1760, GPU 2887 (MiB)  
> I0408 12:45:03.985024 100 logging.cc:49] [MemUsageChange] Init cuDNN: CPU +0, GPU +10, now: CPU 1760, GPU 2897 (MiB)  
> I0408 12:45:03.985336 100 logging.cc:49] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +95, now: CPU 0, GPU 249 (MiB)  
> I0408 12:45:04.000701 100 logging.cc:49] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +8, now: CPU 1344, GPU 2889 (MiB)  
> I0408 12:45:04.001185 100 logging.cc:49] [MemUsageChange] Init cuDNN: CPU +0, GPU +8, now: CPU 1344, GPU 2897 (MiB)  
> I0408 12:45:04.091156 100 logging.cc:49] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +62, now: CPU 0, GPU 311 (MiB)  
> I0408 12:45:04.091373 100 tensorrt.cc:1409] Created instance riva-trt-riva\_qa-nn-bert-base-uncased\_0 on GPU 0 with stream priority 0 and optimization profile default[0];  
> I0408 12:45:04.091447 100 sequence\_label\_cbe.cc:137] TRITONBACKEND\_ModelInitialize: token\_classification\_label\_tokens (version 1)  
> I0408 12:45:04.091637 100 model\_repository\_manager.cc:1149] successfully loaded ‘riva-trt-riva\_qa-nn-bert-base-uncased’ version 1  
> I0408 12:45:04.091921 100 backend\_model.cc:255] model configuration:  
> {  
> “name”: “token\_classification\_label\_tokens”,  
> “platform”: “”,  
> “backend”: “riva\_nlp\_seqlabel”,  
> “version\_policy”: {  
> “latest”: {  
> “num\_versions”: 1  
> }  
> },  
> “max\_batch\_size”: 8,  
> “input”: [  
> {  
> “name”: “TOKEN\_LOGIT\_\_1”,  
> “data\_type”: “TYPE\_FP32”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> -1,  
> 13  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> }  
> ],  
> “output”: [  
> {  
> “name”: “TOKEN\_LABELS\_\_0”,  
> “data\_type”: “TYPE\_STRING”,  
> “dims”: [  
> -1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “TOKEN\_SCORES\_\_1”,  
> “data\_type”: “TYPE\_FP32”,  
> “dims”: [  
> -1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> }  
> ],  
> “batch\_input”: ,  
> “batch\_output”: ,  
> “optimization”: {  
> “priority”: “PRIORITY\_DEFAULT”,  
> “input\_pinned\_memory”: {  
> “enable”: true  
> },  
> “output\_pinned\_memory”: {  
> “enable”: true  
> },  
> “gather\_kernel\_buffer\_threshold”: 0,  
> “eager\_batching”: false  
> },  
> “instance\_group”: [  
> {  
> “name”: “token\_classification\_label\_tokens\_0”,  
> “kind”: “KIND\_CPU”,  
> “count”: 1,  
> “gpus”: ,  
> “secondary\_devices”: ,  
> “profile”: ,  
> “passive”: false,  
> “host\_policy”: “”  
> }  
> ],  
> “default\_model\_filename”: “”,  
> “cc\_model\_filenames”: {},  
> “metric\_tags”: {},  
> “parameters”: {  
> “classes”: {  
> “string\_value”: “/data/models/token\_classification\_label\_tokens/1/label\_ids.csv”  
> }  
> },  
> “model\_warmup”:   
> }  
> I0408 12:45:04.091995 100 tokenizer\_library.cc:18] TRITONBACKEND\_ModelInitialize: token\_classification\_tokenizer (version 1)  
> W:parameter\_parser.cc:118: Parameter doc\_stride could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter max\_query\_length could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter bos could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter doc\_stride could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter dropout\_prob could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter eos could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter max\_query\_length could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter reverse could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> W:parameter\_parser.cc:118: Parameter tokenizer\_to\_lower could not be set from parameters  
> W:parameter\_parser.cc:119: Default value will be used  
> I0408 12:45:04.092467 100 backend\_model.cc:255] model configuration:  
> {  
> “name”: “token\_classification\_tokenizer”,  
> “platform”: “”,  
> “backend”: “riva\_nlp\_tokenizer”,  
> “version\_policy”: {  
> “latest”: {  
> “num\_versions”: 1  
> }  
> },  
> “max\_batch\_size”: 8,  
> “input”: [  
> {  
> “name”: “INPUT\_STR\_\_0”,  
> “data\_type”: “TYPE\_STRING”,  
> “format”: “FORMAT\_NONE”,  
> “dims”: [  
> 1  
> ],  
> “is\_shape\_tensor”: false,  
> “allow\_ragged\_batch”: false,  
> “optional”: false  
> }  
> ],  
> “output”: [  
> {  
> “name”: “SEQ\_\_0”,  
> “data\_type”: “TYPE\_INT32”,  
> “dims”: [  
> 128  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “MASK\_\_1”,  
> “data\_type”: “TYPE\_INT32”,  
> “dims”: [  
> 128  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “SEGMENT\_\_4”,  
> “data\_type”: “TYPE\_INT32”,  
> “dims”: [  
> 128  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “SEQ\_LEN\_\_2”,  
> “data\_type”: “TYPE\_INT64”,  
> “dims”: [  
> 1  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> },  
> {  
> “name”: “TOK\_STR\_\_3”,  
> “data\_type”: “TYPE\_STRING”,  
> “dims”: [  
> 128  
> ],  
> “label\_filename”: “”,  
> “is\_shape\_tensor”: false  
> }  
> ],  
> “batch\_input”: ,  
> “batch\_output”: ,  
> “optimization”: {  
> “priority”: “PRIORITY\_DEFAULT”,  
> “input\_pinned\_memory”: {  
> “enable”: true  
> },  
> “output\_pinned\_memory”: {  
> “enable”: true  
> },  
> “gather\_kernel\_buffer\_threshold”: 0,  
> “eager\_batching”: false  
> },  
> “instance\_group”: [  
> {  
> “name”: “token\_classification\_tokenizer\_0”,  
> “kind”: “KIND\_CPU”,  
> “count”: 1,  
> “gpus”: ,  
> “secondary\_devices”: ,  
> “profile”: ,  
> “passive”: false,  
> “host\_policy”: “”  
> }  
> ],  
> “default\_model\_filename”: “”,  
> “cc\_model\_filenames”: {},  
> “metric\_tags”: {},  
> “parameters”: {  
> “vocab”: {  
> “string\_value”: “/data/models/token\_classification\_tokenizer/1/tokenizer.vocab\_file”  
> },  
> “tokenizer”: {  
> “string\_value”: “wordpiece”  
> },  
> “bos\_token”: {  
> “string\_value”: “[CLS]”  
> },  
> “eos\_token”: {  
> “string\_value”: “[SEP]”  
> },  
> “to\_lower”: {  
> “string\_value”: “true”  
> },  
> “task”: {  
> “string\_value”: “single\_input”  
> },  
> “unk\_token”: {  
> “string\_value”: “[UNK]”  
> }  
> },  
> “model\_warmup”:   
> }  
> I0408 12:45:04.092498 100 sequence\_label\_cbe.cc:139] TRITONBACKEND\_ModelInstanceInitialize: token\_classification\_label\_tokens\_0 (device 0)  
> I0408 12:45:04.092589 100 model\_repository\_manager.cc:1149] successfully loaded ‘token\_classification\_label\_tokens’ version 1  
> I0408 12:45:04.092623 100 tokenizer\_library.cc:21] TRITONBACKEND\_ModelInstanceInitialize: token\_classification\_tokenizer\_0 (device 0)  
> I0408 12:45:04.103258 100 model\_repository\_manager.cc:1149] successfully loaded ‘token\_classification\_tokenizer’ version 1  
> I0408 12:45:04.103609 100 model\_repository\_manager.cc:994] loading: riva\_ner:1  
> I0408 12:45:04.204070 100 model\_repository\_manager.cc:994] loading: riva\_qa:1  
> I0408 12:45:04.304570 100 model\_repository\_manager.cc:1149] successfully loaded ‘riva\_ner’ version 1  
> I0408 12:45:04.304916 100 model\_repository\_manager.cc:1149] successfully loaded ‘riva\_qa’ version 1  
> I0408 12:45:04.305133 100 server.cc:522]  
> ±-----------------±-----+  
> | Repository Agent | Path |  
> ±-----------------±-----+  
> ±-----------------±-----+

I0408 12:45:04.305352 100 server.cc:549]  
±---------------------±----------------------------------------------------------------------------------±-------+  
| Backend | Path | Config |  
±---------------------±----------------------------------------------------------------------------------±-------+  
| onnxruntime | /opt/tritonserver/backends/onnxruntime/libtriton\_onnxruntime.so | {} |  
| riva\_nlp\_qa | /opt/tritonserver/backends/riva\_nlp\_qa/libtriton\_riva\_nlp\_qa.so | {} |  
| riva\_nlp\_tokenizer | /opt/tritonserver/backends/riva\_nlp\_tokenizer/libtriton\_riva\_nlp\_tokenizer.so | {} |  
| tensorrt | /opt/tritonserver/backends/tensorrt/libtriton\_tensorrt.so | {} |  
| riva\_nlp\_detokenizer | /opt/tritonserver/backends/riva\_nlp\_detokenizer/libtriton\_riva\_nlp\_detokenizer.so | {} |  
| riva\_nlp\_seqlabel | /opt/tritonserver/backends/riva\_nlp\_seqlabel/libtriton\_riva\_nlp\_seqlabel.so | {} |  
±---------------------±----------------------------------------------------------------------------------±-------+

I0408 12:45:04.305551 100 server.cc:592]  
±---------------------------------------±--------±-------+  
| Model | Version | Status |  
±---------------------------------------±--------±-------+  
| qa\_qa\_postprocessor | 1 | READY |  
| qa\_tokenizer | 1 | READY |  
| riva-trt-riva\_ner-nn-bert-base-uncased | 1 | READY |  
| riva-trt-riva\_qa-nn-bert-base-uncased | 1 | READY |  
| riva\_ner | 1 | READY |  
| riva\_qa | 1 | READY |  
| token\_classification\_detokenizer | 1 | READY |  
| token\_classification\_label\_tokens | 1 | READY |  
| token\_classification\_tokenizer | 1 | READY |  
±---------------------------------------±--------±-------+

I0408 12:45:04.370080 100 metrics.cc:623] Collecting metrics for GPU 0: NVIDIA GeForce GTX 1650 SUPER  
I0408 12:45:04.370385 100 tritonserver.cc:1932]  
±---------------------------------±---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+  
| Option | Value |  
±---------------------------------±---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+  
| server\_id | triton |  
| server\_version | 2.19.0 |  
| server\_extensions | classification sequence model\_repository model\_repository(unload\_dependents) schedule\_policy model\_configuration system\_shared\_memory cuda\_shared\_memory binary\_tensor\_data statistics trace |  
| model\_repository\_path[0] | /data/models |  
| model\_control\_mode | MODE\_NONE |  
| strict\_model\_config | 1 |  
| rate\_limit | OFF |  
| pinned\_memory\_pool\_byte\_size | 268435456 |  
| cuda\_memory\_pool\_byte\_size{0} | 1000000000 |  
| response\_cache\_byte\_size | 0 |  
| min\_supported\_compute\_capability | 6.0 |  
| strict\_readiness | 1 |  
| exit\_timeout | 30 |  
±---------------------------------±---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

I0408 12:45:04.370395 100 server.cc:252] Waiting for in-flight requests to complete.  
I0408 12:45:04.370401 100 model\_repository\_manager.cc:1026] unloading: token\_classification\_tokenizer:1  
I0408 12:45:04.370445 100 model\_repository\_manager.cc:1026] unloading: token\_classification\_label\_tokens:1  
I0408 12:45:04.370481 100 model\_repository\_manager.cc:1026] unloading: riva\_qa:1  
I0408 12:45:04.370567 100 model\_repository\_manager.cc:1026] unloading: token\_classification\_detokenizer:1  
I0408 12:45:04.370575 100 sequence\_label\_cbe.cc:141] TRITONBACKEND\_ModelInstanceFinalize: delete instance state  
I0408 12:45:04.370607 100 model\_repository\_manager.cc:1026] unloading: riva-trt-riva\_qa-nn-bert-base-uncased:1  
I0408 12:45:04.370617 100 sequence\_label\_cbe.cc:138] TRITONBACKEND\_ModelFinalize: delete model state  
I0408 12:45:04.370624 100 model\_repository\_manager.cc:1132] successfully unloaded ‘riva\_qa’ version 1  
I0408 12:45:04.370639 100 tokenizer\_library.cc:25] TRITONBACKEND\_ModelInstanceFinalize: delete instance state  
I0408 12:45:04.370676 100 model\_repository\_manager.cc:1026] unloading: riva-trt-riva\_ner-nn-bert-base-uncased:1  
I0408 12:45:04.370721 100 model\_repository\_manager.cc:1026] unloading: riva\_ner:1  
I0408 12:45:04.370768 100 model\_repository\_manager.cc:1026] unloading: qa\_tokenizer:1  
I0408 12:45:04.370847 100 model\_repository\_manager.cc:1026] unloading: qa\_qa\_postprocessor:1  
I0408 12:45:04.370865 100 tensorrt.cc:5343] TRITONBACKEND\_ModelInstanceFinalize: delete instance state  
I0408 12:45:04.370886 100 detokenizer\_cbe.cc:149] TRITONBACKEND\_ModelInstanceFinalize: delete instance state  
I0408 12:45:04.370905 100 tensorrt.cc:5343] TRITONBACKEND\_ModelInstanceFinalize: delete instance stateI0408 12:45:04.370911 100 detokenizer\_cbe.cc:146] TRITONBACKEND\_ModelFinalize: delete model state  
I0408 12:45:04.370923 100 server.cc:267] Timeout 30: Found 8 live models and 0 in-flight non-inference requests

I0408 12:45:04.370955 100 model\_repository\_manager.cc:1132] successfully unloaded ‘riva\_ner’ version 1  
I0408 12:45:04.370984 100 tokenizer\_library.cc:25] TRITONBACKEND\_ModelInstanceFinalize: delete instance state  
I0408 12:45:04.371234 100 model\_repository\_manager.cc:1132] successfully unloaded ‘token\_classification\_label\_tokens’ version 1  
I0408 12:45:04.371671 100 model\_repository\_manager.cc:1132] successfully unloaded ‘token\_classification\_detokenizer’ version 1  
I0408 12:45:04.371737 100 qa\_postprocessor\_cbe.cc:128] TRITONBACKEND\_ModelInstanceFinalize: delete instance state  
I0408 12:45:04.371755 100 qa\_postprocessor\_cbe.cc:125] TRITONBACKEND\_ModelFinalize: delete model state  
I0408 12:45:04.372342 100 model\_repository\_manager.cc:1132] successfully unloaded ‘qa\_qa\_postprocessor’ version 1  
I0408 12:45:04.373135 100 tokenizer\_library.cc:20] TRITONBACKEND\_ModelFinalize: delete model state  
I0408 12:45:04.373422 100 tokenizer\_library.cc:20] TRITONBACKEND\_ModelFinalize: delete model state  
I0408 12:45:04.374046 100 model\_repository\_manager.cc:1132] successfully unloaded ‘token\_classification\_tokenizer’ version 1  
I0408 12:45:04.376284 100 model\_repository\_manager.cc:1132] successfully unloaded ‘qa\_tokenizer’ version 1  
I0408 12:45:04.378483 100 tensorrt.cc:5282] TRITONBACKEND\_ModelFinalize: delete model state  
I0408 12:45:04.381356 100 tensorrt.cc:5282] TRITONBACKEND\_ModelFinalize: delete model state  
I0408 12:45:04.391763 100 model\_repository\_manager.cc:1132] successfully unloaded ‘riva-trt-riva\_ner-nn-bert-base-uncased’ version 1  
I0408 12:45:04.394650 100 model\_repository\_manager.cc:1132] successfully unloaded ‘riva-trt-riva\_qa-nn-bert-base-uncased’ version 1

> Riva waiting for Triton server to load all models…retrying in 1 second  
> I0408 12:45:05.371090 100 server.cc:267] Timeout 29: Found 0 live models and 0 in-flight non-inference requests  
> error: creating server: Internal - failed to load all models  
> Riva waiting for Triton server to load all models…retrying in 1 second  
> Riva waiting for Triton server to load all models…retrying in 1 second  
> Triton server died before reaching ready state. Terminating Riva startup.  
> Check Triton logs with: docker logs  
> /opt/riva/bin/start-riva: line 1: kill: (100) - No such process

I can’t find the problem, need your help. Thanks!

---

<div class="post-metadata">

**Author:** ![rvinobha](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/rvinobha/32/14047_2.png) [@rvinobha](https://forums.developer.nvidia.com/u/rvinobha)\
**Post date:** [April 12, 2022, 6:55am UTC](https://forums.developer.nvidia.com/t/run-init-start-sh-failed/210677/2 "2022-04-12T06:55:47Z")

</div>

Hi @1405956117 ,

Thanks for your interest in Riva,

Thanks for sharing us the logs,

Since GTX 1650 Ti has 4GB of VRAM, we recommend running single model at a time for functionality and performance,

This can be changed in the `config.sh`, at main level we can enable only for the category that we are interested in, for example if i want to run nlp perhaps we can disable all other riva services and vice versa

```auto
service_enabled_asr=false
service_enabled_nlp=true
service_enabled_tts=false

```

Once decided which module to use (like asr or nlp or tts), then you can perhaps further go down in the config.sh, **find the exact model which we intend to use and comment out other models** ,

For example, in nlp if we choose to run Text Classification model for 4classes (weather), we can have that uncommented and comment out all the rest of the models (reference image below)

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/4/4/44d5d37549d0fcb533193fd1c1ca8c1950799475.png)

So, we recommended the following steps,

1. Run `bash riva_clean.sh`
2. Modify the `config.sh` to run only a single model
3. Run `bash riva_init.sh` and share logs (if facing any error)
4. Run `bash riva_start.sh` and share logs (if facing any error)

You can try the above steps and let us know if it works for you
