-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Revert "Added tesnorizeation for avx2 based gemm." #4007
Conversation
This reverts commit 23727eb.
@tqchen, sorry about that, but that is strange. It should have skipped this test.
I will check what is going on. |
I think there might be a difference between compiler supporting certain target and cpu has the corresponding feature |
I am wondering if CI is running on machine with AVX2 cpu support but the it is disabled. Will have to dig a bit into it. |
@tqchen, I might be grossly wrong here but I was able to run https://github.com/dmlc/tvm/blob/master/tests/python/contrib/test_gemm_acc16.py on non skylake machine, with the same "illegal instruction" error. Something is weird. This test also checks for the target, so I thought I will look at the corresponding code. |
as Tianqi said, compiler supporting the target would be different from guarding if the CPU has that particular feature and skipping out. |
@kimishpatel if you get a skylake machine and it still gives you illegal instructions, perhaps we need to look into the ASM being generated. You can do it by save the module to a .s file using https://docs.tvm.ai/api/python/module.html?highlight=module%20save#tvm.module.Module.save |
If we are building for the current machine we probably need Cupid of the machine to check if compiled module will be executable. |
@kimishpatel This PR is breaking the CI mainly because of some of the CI machine does not support the cpu feature. Can you send it in again and add additional guard so that it bypasses the test if the CI env does not support the instruction.