runtime error

1, 2.3.1+rocm5.7, 2.3.1+rocm6.0) ERROR: No matching distribution found for torch==1.8.0+cu101 [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: pip install --upgrade pip ERROR: Could not find a version that satisfies the requirement detectron2 (from versions: none) ERROR: No matching distribution found for detectron2 [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: pip install --upgrade pip [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: pip install --upgrade pip /usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 20, in <module> model = LayoutLMv2ForTokenClassification.from_pretrained("nielsr/layoutlmv2-finetuned-funsd") File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3626, in from_pretrained model = cls(config, *model_args, **model_kwargs) File "/usr/local/lib/python3.10/site-packages/transformers/models/layoutlmv2/modeling_layoutlmv2.py", line 1135, in __init__ self.layoutlmv2 = LayoutLMv2Model(config) File "/usr/local/lib/python3.10/site-packages/transformers/models/layoutlmv2/modeling_layoutlmv2.py", line 690, in __init__ requires_backends(self, "detectron2") File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1463, in requires_backends raise ImportError("".join(failed)) ImportError: LayoutLMv2Model requires the detectron2 library but it was not found in your environment. Checkout the instructions on the installation page: https://github.com/facebookresearch/detectron2/blob/master/INSTALL.md and follow the ones that match your environment. Please note that you may need to restart your runtime after installation.

Container logs:

Fetching error logs...