Hello @masahi
I have tried using your TraceWrapper and it works on BertForSequenceClassification model.
Thanks