Open gezhonglunta opened 7 months ago
Currently, we only support Linux environments and have not yet validated on the Windows environment. We will conduct relevant verifications in the future. We also recommend using the limited-time free notebook instances from the ModelScope community for a trial experience, see (https://modelscope.cn/my/mynotebook/preset).
Environment: Windows10_zh-cn, Anaconda Prompt The installation of the pre-environment is completed, but an error occurs when executing the following command.
conda activate scepter set PYTHONPATH=. python scepter/tools/webui.py --cfg scepter/methods/studio/scepter_ui.yaml
[Error]: Load yaml from scepter/methods/studio/scepter_ui.yaml error. Message: 'gbk' codec can't decode byte 0xad in position 2240: illegal multibyte sequence
All logs:
WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.0.1+cu118 with CUDA 1108 (you have 2.0.1+cpu) Python 3.8.10 (you have 3.8.0) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers) Memory-efficient attention, SwiGLU, sparse and more won't be available. Set XFORMERS_MORE_DETAILS=1 for more details C:\Users\D\anaconda3\envs\scepter\lib\site-packages\torch\amp\autocast_mode.py:204: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling warnings.warn('User provided device_type of \'cuda\', but CUDA is not available. Disabling') C:\Users\D\anaconda3\envs\scepter\lib\site-packages\torch\amp\autocast_mode.py:204: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling warnings.warn('User provided device_type of \'cuda\', but CUDA is not available. Disabling') 2024-04-16 10:25:25,889 - modelscope - INFO - PyTorch version 2.0.1 Found. 2024-04-16 10:25:25,905 - modelscope - INFO - Loading ast index from C:\Users\D\.cache\modelscope\ast_indexer 2024-04-16 10:25:26,005 - modelscope - INFO - Loading done! Current index file version is 1.13.3, with md5 ac1d3bd609750b67df17f2e7bfb00f54 and a total number of 972 components indexed [Info]: Loading config from scepter/methods/studio/scepter_ui.yaml [Error]: Load yaml from scepter/methods/studio/scepter_ui.yaml error. Message: 'gbk' codec can't decode byte 0xad in position 2240: illegal multibyte sequence