fixing bug with non-contiguous mixed_mm [inductor] (#107495)
Summary: this PR detects
https://github.com/pytorch/pytorch/issues/107423 and falls back to the
non-triton kernel. It also adds a check for non-contiguous issues in
uint4x2 in the unit tests though its not an issue in this case.
Test Plan: python pytorch/test/inductor/test_pattern_matcher.py -k
"test_mixed_mm_bad_cases"
python pytorch/test/inductor/test_pattern_matcher.py -k
"test_uint4x2_mixed_mm"
Reviewers:
Subscribers:
Tasks:
Tags:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/107495
Approved by: https://github.com/davidberard98