-
Notifications
You must be signed in to change notification settings - Fork 65
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
UnicodeDecodeError when trying to build SageAttention #122
Comments
Same problem. It seems that the latest version of the code has a little error. I temporarily installed it successfully using another older fork. |
We will try to reproduce the problem on 3090. |
Thanks for your hard work. My OS is Traditional Chinese and the error message is "cp950 codec can't decode..." but not "gbk". It seems to have something to do with the language of the OS? |
I found a fix. I turned on "use unicode utf-8 for worldwide language support" in windows and the error is gone. I guess the error has something to do with the code not handling non-unicode system language packs |
Comment line 181 on ".\SageAttention\setup.py" ref: #98 |
Status update: problem fixed when I turned on "use unicode utf-8 for worldwide language support", thank all you guys! |
change the setup.py long_description=open('README.md').read(), after#long_description=open('README.md', encoding='utf-8').read(), |
I try to install sageattention for comfyui but I keep getting the following UnicodeDecodeError. I tried looking up online but couldn't find any relevant info. I have a 3090 with cuda 12.4+pytorch 2.5.1. Thanks so much for all your hardwork!
The text was updated successfully, but these errors were encountered: