ImportError: cannot import name 'GradientAccumulator'
transformers==2.4.1;
tensoflow==2.1.0;
torch==1.4.0;
when i start with follow code get some error and i didn't have tensoflow-gpu.

**code**
---------------------------------------------------------------------------
from transformers import (
    TF2_WEIGHTS_NAME,
    BertConfig,
    BertTokenizer,
    DistilBertConfig,
    DistilBertTokenizer,
    GradientAccumulator,
    RobertaConfig,
    RobertaTokenizer,
    TFBertForTokenClassification,
    TFDistilBertForTokenClassification,
    TFRobertaForTokenClassification,
    create_optimizer,
)


**error**
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-2-4dd6bfff15e9> in <module>()
     12 from seqeval import metrics
     13 
---> 14 from transformers import (
     15     TF2_WEIGHTS_NAME,
     16     BertConfig,

ImportError: cannot import name 'GradientAccumulator'

Hi,
anyone found workaround for this issue?
Thanks<|||||>This shouldn't happen with transformers v2.4.1 and tensorflow >= 2.0.0.

I can't replicate this issue with the versions you mentioned.

Would you mind telling me what gets printed out when you run the following snippet?

```py
from transformers import __version__
import tensorflow as tf

print("Transformers version", __version__)
print("TensorFlow version", tf.__version__)
```<|||||>This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
<|||||>well done