runtime error

tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly. Traceback (most recent call last): File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1086, in _get_module return importlib.import_module("." + module_name, self.__name__) File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 783, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/user/.local/lib/python3.8/site-packages/transformers/testing_utils.py", line 39, in <module> from _pytest.doctest import ( ModuleNotFoundError: No module named '_pytest' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "app.py", line 1, in <module> from test import test_predict File "/home/user/app/test.py", line 9, in <module> from transformers import * File "<frozen importlib._bootstrap>", line 1037, in _handle_fromlist File "<frozen importlib._bootstrap>", line 1039, in _handle_fromlist File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1074, in __getattr__ value = self._get_module(name) File "/home/user/.local/lib/python3.8/site-packages/transformers/utils/import_utils.py", line 1088, in _get_module raise RuntimeError( RuntimeError: Failed to import transformers.testing_utils because of the following error (look up to see its traceback): No module named '_pytest'

Container logs:

Fetching error logs...