Skip equivalence test for TransfoXL (#16224)
* Skip test for TransfoXL * Single list
This commit is contained in:
@@ -476,6 +476,7 @@ class TFModelTesterMixin:
|
|||||||
"TFFunnelForPreTraining",
|
"TFFunnelForPreTraining",
|
||||||
"TFElectraForPreTraining",
|
"TFElectraForPreTraining",
|
||||||
"TFXLMWithLMHeadModel",
|
"TFXLMWithLMHeadModel",
|
||||||
|
"TFTransfoXLLMHeadModel",
|
||||||
]:
|
]:
|
||||||
self.assertEqual(tf_loss is None, pt_loss is None)
|
self.assertEqual(tf_loss is None, pt_loss is None)
|
||||||
|
|
||||||
@@ -490,7 +491,8 @@ class TFModelTesterMixin:
|
|||||||
"TFFunnelForPreTraining",
|
"TFFunnelForPreTraining",
|
||||||
"TFElectraForPreTraining",
|
"TFElectraForPreTraining",
|
||||||
"TFXLMWithLMHeadModel",
|
"TFXLMWithLMHeadModel",
|
||||||
] + ["TFTransfoXLLMHeadModel"]:
|
"TFTransfoXLLMHeadModel",
|
||||||
|
]:
|
||||||
self.assertEqual(tf_keys, pt_keys)
|
self.assertEqual(tf_keys, pt_keys)
|
||||||
|
|
||||||
# Since we deliberately make some tests pass above (regarding the `loss`), let's still try to test
|
# Since we deliberately make some tests pass above (regarding the `loss`), let's still try to test
|
||||||
|
|||||||
Reference in New Issue
Block a user