Add an integration test for LASR using pipe and chunked decoding#42823
Add an integration test for LASR using pipe and chunked decoding#42823eustlb merged 15 commits intohuggingface:mainfrom
Conversation
|
run-slow: lasr |
|
💔 This comment contains |
957df33 to
2310957
Compare
|
run-slow: lasr |
|
This comment contains models: ["models/lasr"] |
|
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. |
CI Results✅ No failing test specific to this PR 🎉 ! |
962049f to
d352827
Compare
d352827 to
36af114
Compare
eustlb
left a comment
There was a problem hiding this comment.
LGTM, thanks! running slow tests to ensure values are the correct ones on CI devices.
|
run-slow: lasr |
|
💔 This comment contains |
|
run-slow: lasr |
|
💔 This comment contains |
|
run-slow: lasr |
|
This comment contains models: ["models/lasr"] |
CI ResultsModel CI Report❌ Failed tests
|
|
The tests are failing due to the model used in integration testing is gated. Let me create a new test model later today. |
|
run-slow: lasr |
|
This comment contains models: ["models/lasr"] |
CI ResultsModel CI Report❌ Failed tests
|
| @classmethod | ||
| def setUp(cls): | ||
| cls.checkpoint_name = "eustlb/lasr" | ||
| cls.checkpoint_name = "hf-internal-testing/lasr-test" |
There was a problem hiding this comment.
@eustlb The test checkpoint is https://huggingface.co/wuketest/lasr_integration_test. Could you help me make a copy to hf-internal-testing/lasr-test?
|
run-slow: lasr |
|
💔 This comment contains |
|
run-slow: lasr |
|
This comment contains models: ["models/lasr"] |
Because of the out of date tokenizer mapping, AutoTokenizer started returning TokenizersBackend instead LasrTokenizer after huggingface#42894, which caused Google-Health/medasr#12.
Head branch was pushed to by a user without write access
|
run-slow: lasr |
|
@eustlb Mind taking another look? |
|
[For maintainers] Suggested jobs to run (before merge) run-slow: auto, lasr |
…gingface#42823) * Add an integration test for LASR using pipe and chunked decoding * Revise goldens in LasrForCTCIntegrationTest.test_model_integration_batched * Enable LasrForCTCIntegrationTest * add require_torch_accelerator * Use a publicly accessible test model for LASR and update integration test goldens * Correct the tokenizer mapping for LASR models Because of the out of date tokenizer mapping, AutoTokenizer started returning TokenizersBackend instead LasrTokenizer after huggingface#42894, which caused Google-Health/medasr#12. * Remove require_read_token since we now use a publicly assessible test checkpoint * update values for runners --------- Co-authored-by: eustlb <94853470+eustlb@users.noreply.github.com> Co-authored-by: Eustache Le Bihan <eulebihan@gmail.com>
What does this PR do?
test_model_integration_batchedThis is separated from #42720 per request from @eustlb.
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.