Traceback (most recent call last):
File "E:\soft\anaconda3\envs\qwen1\lib\site-packages\modelscope\utils\registry.py", line 211, in build_from_cfg
return obj_cls(**args)
File "E:\soft\anaconda3\envs\qwen1\lib\site-packages\modelscope\pipelines\nlp\llm_pipeline.py", line 190, in __init__
self._init_swift(kwargs['model'], kwargs.get('device', 'gpu'))
File "E:\soft\anaconda3\envs\qwen1\lib\site-packages\modelscope\pipelines\nlp\llm_pipeline.py", line 219, in _init_swift
from swift.llm.utils import MODEL_MAPPING, InferArguments
ImportError: cannot import name 'MODEL_MAPPING' from 'swift.llm.utils' (E:\soft\anaconda3\envs\qwen1\lib\site-packages\swift\llm\utils.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\work\AI\qwen1\main.py", line 4, in <module>
llm = ModelScopeLLM(model_name="Qwen/Qwen2.5-1.5B-Instruct", model_revision="master")
File "E:\soft\anaconda3\envs\qwen1\lib\site-packages\llama_index\llms\modelscope\base.py", line 133, in __init__
pipeline = pipeline_builder(
File "E:\soft\anaconda3\envs\qwen1\lib\site-packages\modelscope\pipelines\builder.py", line 180, in pipeline
return build_pipeline(cfg, task_name=task)
File "E:\soft\anaconda3\envs\qwen1\lib\site-packages\modelscope\pipelines\builder.py", line 65, in build_pipeline
return build_from_cfg(
File "E:\soft\anaconda3\envs\qwen1\lib\site-packages\modelscope\utils\registry.py", line 214, in build_from_cfg
raise type(e)(f'{obj_cls.__name__}: {e}')
ImportError: LLMPipeline: cannot import name 'MODEL_MAPPING' from 'swift.llm.utils' (E:\soft\anaconda3\envs\qwen1\lib\site-packages\swift\llm\utils.py)
环境安装根据llamaindex官网与modelscope安装的,我现在还需要安装什么环境吗?