mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[AOTI] Enable OP test__weight_int4pack_mm_with_scales_and_zeros
in AOTI. (#155780)
The op test__weight_int4pack_mm_with_scales_and_zeros is for Intel GPU. It is functionally equivalent to the CUDA/CPU op test__weight_int4pack_mm (with the constraint that oneDNN only supports integer zero points, which is why we need this API). Since test__weight_int4pack_mm is already included in AOTI's fallback list, this PR adds support for XPU. Pull Request resolved: https://github.com/pytorch/pytorch/pull/155780 Approved by: https://github.com/jansel
This commit is contained in:
committed by
PyTorch MergeBot
parent
463fe36532
commit
670dab6c63
@ -169,4 +169,5 @@ inductor_fallback_ops: dict[str, dict[str, list[str]]] = {
|
||||
"aten.view_as_complex.default": {},
|
||||
"aten.view_as_real.default": {},
|
||||
"aten.view.dtype": {},
|
||||
"aten._weight_int4pack_mm_with_scales_and_zeros.default": {},
|
||||
}
|
||||
|
Reference in New Issue
Block a user