mirror of
https://github.com/pytorch/pytorch.git
synced 2025-11-16 23:44:53 +08:00
fix build tests - test_vmap.py::TestVmapOperatorsOpInfoCPU, test_ops.py::TestOperatorsCPU
This commit is contained in:
@ -401,6 +401,8 @@ CROSS_REF_EXCLUDE_SET = {
|
||||
# CompositeAutogradImplicit
|
||||
# See https://github.com/pytorch/pytorch/issues/81669
|
||||
(None, None, "nn.functional.relu6"),
|
||||
(None, None, "nn.functional.linear_cross_entropy"),
|
||||
(None, None, "aten.linear_cross_entropy"),
|
||||
# This decomp runs before autograd.
|
||||
(None, None, "nn.functional.rrelu"),
|
||||
(None, None, "meshgrid"),
|
||||
|
||||
@ -14860,6 +14860,20 @@ op_db: list[OpInfo] = [
|
||||
supports_forward_ad=False,
|
||||
supports_fwgrad_bwgrad=False,
|
||||
decorators=(onlyCPU,),
|
||||
skips=(
|
||||
DecorateInfo(unittest.skip("linear_cross_entropy vmap support pending"),
|
||||
"TestVmapOperatorsOpInfo",
|
||||
"test_op_has_batch_rule"),
|
||||
DecorateInfo(unittest.skip("linear_cross_entropy vmap support pending"),
|
||||
"TestVmapOperatorsOpInfo",
|
||||
"test_vmap_exhaustive"),
|
||||
DecorateInfo(unittest.skip("linear_cross_entropy fake tensor support pending"),
|
||||
"TestFakeTensor",
|
||||
"test_fake"),
|
||||
DecorateInfo(unittest.skip("linear_cross_entropy fake tensor support pending"),
|
||||
"TestFakeTensor",
|
||||
"test_fake_autocast"),
|
||||
),
|
||||
),
|
||||
OpInfo('nn.functional.normalize',
|
||||
dtypes=floating_and_complex_types_and(torch.half, torch.bfloat16),
|
||||
|
||||
Reference in New Issue
Block a user