-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for MPS device #317
Labels
enhancement
New feature or request
Comments
zhaochenyang20
added
enhancement
New feature or request
and removed
bug
Something isn't working
labels
Sep 3, 2023
I don't find an easy and clear way to ban The following code failed. training_args = Seq2SeqTrainingArguments(
output_dir=hyperparameter_choices.get("output_dir", "./result"),
logging_steps=hyperparameter_choices.get("logging_steps", 1),
save_strategy=hyperparameter_choices.get("save_strategy", "no"),
num_train_epochs=hyperparameter_choices.get("num_train_epochs", 10),
per_device_train_batch_size=hyperparameter_choices.get(
"per_device_train_batch_size", 100
),
warmup_steps=hyperparameter_choices.get("warmup_steps", 0),
weight_decay=hyperparameter_choices.get("weight_decay", 0.01),
logging_dir=hyperparameter_choices.get("logging_dir", "./result"),
learning_rate=hyperparameter_choices.get("learning_rate", 1e-4),
predict_with_generate=True,
use_mps_device=False,
) |
Merged
To clarify, what is the error you get when you run that code? |
Emmm. I gonna mention it later. |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our current trainer does not support MPS training.
The text was updated successfully, but these errors were encountered: