How to turn WanDB off in trainer?

I also faced the same issue, and the issue is caused by transformers/configuration_utils.py at main · huggingface/transformers · GitHub

Comment that part the issue should be solved.