Closed blagav closed 3 years ago
you may replace is_world_master by is_world_process_zero.
Any solutions to this? I am not able to use ray tune backend in any way
If you get this error still it's probably because you're using mismatched library versions/example versions. Using the latest examples or a more recent version (v4.1.x) should patch this.
If it doesn't, then please open a new issue and fill in the issue template so that we may help you. Thank you.
Environment info
transformers
version: 4.0.0Who can help
@sgugger — Would you be able to offer any insight?
Information
Model I am using (Bert, XLNet ...): BertForSequenceClassification
The problem arises when using:
The tasks I am working on is:
To reproduce
The error occurs when I try to run a hyperparameter search for my finetuning step using Ray Tune. I am able to successfully finetune the BertForSequenceClassification model normally — the error only arises when running hyperparameter search.
Expected behavior
I am trying to run Ray Tune from Huggingface as per these instructions: https://huggingface.co/blog/ray-tune
If anyone has any insight as to what could be causing this error, it would be greatly appreciated, thank you!