runtime error

ns/3.10.13/lib/python3.10/site-packages/modelscope/pipelines/builder.py", line 54, in build_pipeline return build_from_cfg( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/modelscope/utils/registry.py", line 184, in build_from_cfg LazyImportModule.import_module(sig) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/modelscope/utils/import_utils.py", line 456, in import_module importlib.import_module(module_name) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/modelscope/pipelines/multi_modal/text_to_image_synthesis_pipeline.py", line 8, in <module> from modelscope.models.multi_modal import ( File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/modelscope/utils/import_utils.py", line 415, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/modelscope/utils/import_utils.py", line 434, in _get_module raise RuntimeError( RuntimeError: Failed to import modelscope.models.multi_modal.ofa_for_text_to_image_synthesis_model because of the following error (look up to see its traceback): cannot import name '_compare_version' from 'torchmetrics.utilities.imports' (/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/torchmetrics/utilities/imports.py)

Container logs:

Fetching error logs...