File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
_unittests/ut_torch_export_patches Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change 127127 ("py:func" , "torch._export.tools.report_exportability" ),
128128 ("py:meth" , "huggingface_hub.HfApi.list_models" ),
129129 ("py:meth" , "transformers.GenerationMixin.generate" ),
130+ ("py:meth" , "unittests.TestCase.subTest" ),
130131]
131132
132133nitpick_ignore_regex = [
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ def __init__(self):
3737 with bypass_export_some_errors (verbose = 1 ):
3838 values , spec = py_pytree .tree_flatten (cache )
3939 cache2 = py_pytree .tree_unflatten (values , spec )
40- self .assertEqual (cache .dtype , cache2 .dtype )
4140 self .assertEqual (cache .max_batch_size , cache2 .max_batch_size )
4241 self .assertEqual (cache .intermediate_size , cache2 .intermediate_size )
4342 self .assertEqual (cache .ssm_state_size , cache2 .ssm_state_size )
You can’t perform that action at this time.
0 commit comments