ValueError: The NeuronTrainer only accept NeuronTrainingArguments, but <class 'optimum.neuron.training_args.Seq2SeqNeuronTrainingArguments'> was provided. #693
Labels
bug
Something isn't working
System Info
Who can help?
@michaelbenayoun
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction (minimal, reproducible, runnable)
Error message:
Minimal example to reproduce:
Run the following script with
torchrun train.py
.Expected behavior
The NeuronTrainer accepts Seq2SeqNeuronTrainingArguments.
I have a workaround going where I have patched these lines to accept
Seq2SeqNeuronTrainingArguments
:The text was updated successfully, but these errors were encountered: