-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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: fetch generation tests #34807
base: main
Are you sure you want to change the base?
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
@@ -1,56 +0,0 @@ | |||
{% set name = "transformers" %} |
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.
this file is 4yr old and has very old requirements -- I'm assuming this was used in an older CI :D
@@ -3138,7 +3138,7 @@ def test_logits_processor_not_inplace(self): | |||
out = model.generate(input_ids, output_logits=True, output_scores=True, return_dict_in_generate=True) | |||
out_with_temp = model.generate( | |||
input_ids, | |||
temperature=0.5, |
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.
(this change is to trigger the tests in this file)
WIP -- now that generation tests are being run, we can notice a few broken ones 👀
Generation tests that were not part of the model mixin tests were not being fetched. This PR fixes it, by allowing each job to apply multiple separate filters to then run the union of all filtered tests.
This PR:
👉 New files being fetched:
test_preparation/tests_generate_test_list.txt
👉 dummy modification in a generation test triggering a test run:
(early commit before tests were fixed)