-
Notifications
You must be signed in to change notification settings - Fork 8
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
ninja -v指令出错导致transformer_inference.so文件缺失 #12
Comments
Hi, Would you post your full error message? I do not have this problem. |
Here is the whole stack trace. Btw, could u please tell me the versions of GCC and Ninja you use?
|
Hi, the output of running
and the output of running
Would you |
Well, I have fixed it by adjusting the version of gcc to match yours, removing the file u mentioned above, and setting Though similar problems occasionally occur during other installations, it works fine in this repo. Anyway, thanks a lot! |
Hi~
我在运行demo.py时出现了以下Error:
我初步认为这是ninja -v指令执行存在问题,导致共享目标文件transformer_inference.so没有生成。
我已经尝试了网上解决
Command '['ninja', '-v']' returned non-zero exit status 1
的各种方法,例如安装或禁用ninja库、降低pytorch版本等,但都无法解决这个问题。我使用的环境如下:
请问你是否遇到过这个问题?如果没有的话可否分享一下你的transformer_inference.so文件,该文件大概在路径<user_path>/.cache/torch_extensions/pyXX_cuXX/transformer_inference处。
谢谢!
The text was updated successfully, but these errors were encountered: