[Bugfix] Fix Machete unittests failing with NotImplementedError (#9218)
This commit is contained in:
parent
83ea5c72b9
commit
18511aeda6
@ -89,6 +89,10 @@ torch::Tensor prepack_B(torch::Tensor const& B,
|
|||||||
TORCH_LIBRARY_IMPL_EXPAND(TORCH_EXTENSION_NAME, CUDA, m) {
|
TORCH_LIBRARY_IMPL_EXPAND(TORCH_EXTENSION_NAME, CUDA, m) {
|
||||||
m.impl("machete_prepack_B", &prepack_B);
|
m.impl("machete_prepack_B", &prepack_B);
|
||||||
m.impl("machete_gemm", &gemm);
|
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);
|
m.impl("machete_supported_schedules", &supported_schedules);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user