mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Back out "[pytree] Require serialized_type_name" (#120041)
Summary: D53785493 breaks apf.rec.ir.tests.ir_export_deserialize_test.IRExportDeserializeTest: test_export_deserialize_ebc failed: https://www.internalfb.com/sandcastle/workflow/3436246515685789584 Test Plan: buck2 test mode/opt apf/rec/ir/tests:ir_export_deserialize_test Differential Revision: D53834881 Co-authored-by: Wilson Hong <wilsonhong@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/120041 Approved by: https://github.com/ydwu4
This commit is contained in:
committed by
PyTorch MergeBot
parent
4625ecb858
commit
3f4dd9bfa4
@ -913,6 +913,7 @@ TreeSpec(tuple, None, [*,
|
||||
# the namedtuple type.
|
||||
self.assertEqual(spec.context._fields, roundtrip_spec.context._fields)
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_pytree_custom_type_serialize_bad(self):
|
||||
class DummyType:
|
||||
def __init__(self, x, y):
|
||||
|
||||
Reference in New Issue
Block a user