[Bugfix] Fix Machete unittests failing with NotImplementedError (#9218)

This commit is contained in:
Lucas Wilkinson 2024-10-10 13:39:56 -04:00 committed by GitHub
parent 83ea5c72b9
commit 18511aeda6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,6 +89,10 @@ torch::Tensor prepack_B(torch::Tensor const& B,
TORCH_LIBRARY_IMPL_EXPAND(TORCH_EXTENSION_NAME, CUDA, m) {
m.impl("machete_prepack_B", &prepack_B);
m.impl("machete_gemm", &gemm);
}
// use CatchAll since supported_schedules has no tensor arguments
TORCH_LIBRARY_IMPL(TORCH_EXTENSION_NAME, CatchAll, m) {
m.impl("machete_supported_schedules", &supported_schedules);
}