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

some issues about rational_kat_cu #13

Open
yueqiaohuayuan opened this issue Oct 3, 2024 · 5 comments
Open

some issues about rational_kat_cu #13

yueqiaohuayuan opened this issue Oct 3, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@yueqiaohuayuan
Copy link

hello,I encountered this error when installing the extension. I hope you can help me solve it.
Snipaste_2024-10-03_18-16-43

@dame-cell
Copy link

On the orignal repo for rational kat they said this

I successfully installed KAT on Windows, and I hope this information can help you:
You can use python setup.py install to see more detailed error messages instead of directly installing with pip.
I encountered a similar error before, and the cause was an incomplete configuration of the C++ environment in Windows. In Linux, similar errors are likely related to gcc, while in Windows, I had to configure twelve or more environment variables in detail. Additionally, in rational_kernel_group.cu, I replaced lines 19 and 130 with int g_index = d_index / D_per_group; to make it compatible with the Windows system.

@yueqiaohuayuan
Copy link
Author

在rational kat的原始仓库中,它们是这样的

我在 Windows 上成功安装了 KAT,希望这些信息能够对你有所帮助: 你可以使用 python setup.py install 来查看更详细的错误信息,而不是直接使用 pip 安装。 我之前也遇到过类似的错误,原因是 Windows 上的 C++ 环境配置不完整。在 Linux 上,类似的错误很可能与 gcc 有关,而在 Windows 上,我必须详细配置 12 个或更多的环境变量。另外,在rational_kernel_group.cu中,我将第 19 行和第 130 行替换为 int g_index = d_index / D_per_group; 因此与Windows系统兼容。

My system is win11,and,python=3.12.7,and“kat”is my virtual environment,but,But some problems still exist,I hope you can tell me the detailed configuration,I am a new student, I hope you can explain it in more detail,"系统找不到指定文件" in the picture means that the system cannot find the specified file.thanks,thanks,thanks!!!
Snipaste_2024-10-10_00-43-36
Snipaste_2024-10-10_00-44-18

@ereathl
Copy link

ereathl commented Oct 12, 2024

0365D4B5EC3F762E518DB2BA841D9454
Can you tell me how to fix this problem? Thank you.

@Adamdad Adamdad added the bug Something isn't working label Nov 1, 2024
@basuoluomiu
Copy link

你这个看起来是没装torch的原因,你先装一个torch试试呢?

@qiuluo-1999
Copy link

无标题 Hello, I'm also experiencing this issue, have you solved this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants