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

无法运行tests目录下的Python测试脚本,缺少libtest_ops.so #110

Open
leepoly opened this issue Aug 28, 2024 · 1 comment
Open

Comments

@leepoly
Copy link

leepoly commented Aug 28, 2024

请问如何运行tests下各种测试脚本(比如gemm_test.py)?

注意到里面都有这一行 torch.classes.load_library(os.environ['TEST_SRCDIR'] + "/maga_transformer/tests/libtest_ops.so"),但是libtest_ops.so和TEST_SRCDIR没有给出,也没有指引,求解答!

@dongjiyingdjy
Copy link
Collaborator

直接bazel test + target就好了;当然最新版需要改成bazelisk test + target

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

3 participants
@leepoly @dongjiyingdjy and others