-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[tests
] Adds GPU tests
#256
Conversation
The documentation is not available anymore as the PR was closed or merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @younesbelkada for adding the much-needed slow tests, essential, LGTM! 🚀🤗
Left a suggestion.
) | ||
|
||
model = AutoModelForCausalLM.from_pretrained(self.causal_lm_model_id, device_map="balanced") | ||
tokenizer = AutoTokenizer.from_pretrained(self.seq2seq_model_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tokenizer = AutoTokenizer.from_pretrained(self.seq2seq_model_id) | |
tokenizer = AutoTokenizer.from_pretrained(self.causal_lm_model_id) |
What does this PR do?
Let's continue extensively testing
peft
!This PR introduces slow GPU tests that will be run on a custom GCP instance.
For now GPU tests consists of the following
cc @pacman100