Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load yaml from scepter/methods/studio/scepter_ui.yaml error. Message: 'gbk' codec can't decode byte 0xad in position 2240 #20

Open
gezhonglunta opened this issue Apr 16, 2024 · 1 comment

Comments

@gezhonglunta
Copy link

gezhonglunta commented Apr 16, 2024

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

@jiangzeyinzi
Copy link
Collaborator

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants