Traceback (most recent call last):
File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 548, in _run_script
self._session_state.on_script_will_rerun(rerun_data.widget_states)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/safe_session_state.py", line 68, in on_script_will_rerun
self._state.on_script_will_rerun(latest_widget_states)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py", line 484, in on_script_will_rerun
self._call_callbacks()
File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py", line 497, in _call_callbacks
self._new_widget_state.call_callback(wid)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py", line 249, in call_callback
callback(*args, **kwargs)
File "/mtai_workspace/MobiMaliangSDK/frontend/main.py", line 112, in switch_ckpt
ml.load_models(path, diffusers_format=os.path.isdir(path))
File "/mtai_workspace/MobiMaliangSDK/modules/shared.py", line 128, in load_models
self.feature_extractor = pipe.feature_extractor
File "/opt/conda/envs/py38/lib/python3.8/site-packages/diffusers/configuration_utils.py", line 137, in getattr
raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'")
AttributeError: 'StableDiffusionXLPipeline' object has no attribute 'feature_extractor'
事情是这样的,依照官方教程可以顺利在Ubuntu 20.04运行,只是有几个问题: 1、 全新安装后,Ubuntu会自动升级内核到5.15-113版本,安装驱动后是无法自动进入桌面的。需要在恢复模式中进入系统,原因不明。但是好在能进入; 2、 启动mtai_workspace容器并且进入容器后运行容器内的安装脚本安装完成环境,可以顺利使用ComfyUI-Musa,但是有很多局限,比如torch-musa的版本滞后了一些,很多插件无法使用; 3、 最主要的是ComfyUI-Musa本身已经停更,联系作者回复不会再更新;( 能否请摩尔线程的技术大佬出面做个官方版本的产品?据作者说他当初一晚上就做好可以运行……或者出个文档也可以,有一样需求的用户可以自行修改。谢谢啊!
补充一点,在摩笔马良中选择任何SDXL模型都会报错:
Traceback (most recent call last): File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 548, in _run_script self._session_state.on_script_will_rerun(rerun_data.widget_states) File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/safe_session_state.py", line 68, in on_script_will_rerun self._state.on_script_will_rerun(latest_widget_states) File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py", line 484, in on_script_will_rerun self._call_callbacks() File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py", line 497, in _call_callbacks self._new_widget_state.call_callback(wid) File "/opt/conda/envs/py38/lib/python3.8/site-packages/streamlit/runtime/state/session_state.py", line 249, in call_callback callback(*args, **kwargs) File "/mtai_workspace/MobiMaliangSDK/frontend/main.py", line 112, in switch_ckpt ml.load_models(path, diffusers_format=os.path.isdir(path)) File "/mtai_workspace/MobiMaliangSDK/modules/shared.py", line 128, in load_models self.feature_extractor = pipe.feature_extractor File "/opt/conda/envs/py38/lib/python3.8/site-packages/diffusers/configuration_utils.py", line 137, in getattr raise AttributeError(f"'{type(self).name}' object has no attribute '{name}'") AttributeError: 'StableDiffusionXLPipeline' object has no attribute 'feature_extractor'