-
Notifications
You must be signed in to change notification settings - Fork 296
[RAG] Test qwen3 reranker #2933
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
Draft
as-suvorov
wants to merge
10
commits into
openvinotoolkit:master
Choose a base branch
from
as-suvorov:as/rag_qwen3_reranker_bad_sim
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+182
−130
Draft
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
08828da
Print pip && print results
as-suvorov 93be0f2
add debug prints
as-suvorov 1f72f6e
Merge branch 'master' into as/rag_qwen3_reranker_bad_sim
as-suvorov 5c0b0c1
Fix printing
as-suvorov 8c73764
Merge remote-tracking branch 'upstream/master' into as/rag_qwen3_rera…
as-suvorov 5eef89a
Merge remote-tracking branch 'origin/as/rag_qwen3_reranker_bad_sim' i…
as-suvorov 53578e0
Log in pytest
as-suvorov cc4515c
Merge branch 'master' into as/rag_qwen3_reranker_bad_sim
as-suvorov a398ff0
Add padding_side for TextRerankPipeline
as-suvorov ee39432
Merge remote-tracking branch 'origin/as/rag_qwen3_reranker_bad_sim' i…
as-suvorov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -446,49 +446,49 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| test: | ||
| - name: 'Whisper' | ||
| # TODO: skip some tests temporary untill https://github.com/huggingface/datasets/issues/7647 dataset is fixed | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_whisper_pipeline.py ./tests/python_tests/test_whisper_pipeline_static.py -k "not test_smoke[sample_from_dataset0 and not test_whisper_constructors[sample_from_dataset0 and not test_max_new_tokens[sample_from_dataset0 and not test_language_mode[language and not test_task_mode[sample_from_dataset0 and not test_language_autodetect[sample_from_dataset0 and not test_whisper_config_constructor and not test_language_autodetect[sample_from_dataset1 and not test_language_autodetect[sample_from_dataset2 and not test_initial_prompt_hotwords[sample_from_dataset0 and not test_random_sampling[sample_from_dataset0"' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).whisper.test }} | ||
| timeout: 120 | ||
| - name: 'Cacheopt E2E (Part 1)' | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_kv_cache_eviction/test_kv_cache_eviction_1.py' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test }} | ||
| timeout: 180 | ||
| - name: 'Cacheopt E2E (Part 2)' | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_kv_cache_eviction/test_kv_cache_eviction_2.py' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test }} | ||
| timeout: 360 | ||
| - name: 'LLM & VLM' | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_llm_pipeline.py ./tests/python_tests/test_llm_pipeline_static.py ./tests/python_tests/test_vlm_pipeline.py ./tests/python_tests/test_structured_output.py --override-ini cache_dir=/mount/caches/pytest/' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).visual_language.test || fromJSON(needs.smart_ci.outputs.affected_components).LLM.test }} | ||
| timeout: 180 | ||
| - name: 'GGUF Reader tests' | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_gguf_reader.py' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).GGUF.test || fromJSON(needs.smart_ci.outputs.affected_components).LLM.test }} | ||
| timeout: 360 | ||
| - name: 'Tokenizer tests' | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_tokenizer.py' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).tokenizers.test }} | ||
| timeout: 60 | ||
| - name: 'API tests' | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_continuous_batching.py ./tests/python_tests/test_generation_config.py ./tests/python_tests/test_sampling.py ./tests/python_tests/test_text_streamer.py' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test || fromJSON(needs.smart_ci.outputs.affected_components).sampling.test || fromJSON(needs.smart_ci.outputs.affected_components).text_streamer.test }} | ||
| timeout: 60 | ||
| # - name: 'Whisper' | ||
| # # TODO: skip some tests temporary untill https://github.com/huggingface/datasets/issues/7647 dataset is fixed | ||
| # cmd: 'python -m pytest -v ./tests/python_tests/test_whisper_pipeline.py ./tests/python_tests/test_whisper_pipeline_static.py -k "not test_smoke[sample_from_dataset0 and not test_whisper_constructors[sample_from_dataset0 and not test_max_new_tokens[sample_from_dataset0 and not test_language_mode[language and not test_task_mode[sample_from_dataset0 and not test_language_autodetect[sample_from_dataset0 and not test_whisper_config_constructor and not test_language_autodetect[sample_from_dataset1 and not test_language_autodetect[sample_from_dataset2 and not test_initial_prompt_hotwords[sample_from_dataset0 and not test_random_sampling[sample_from_dataset0"' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).whisper.test }} | ||
| # timeout: 120 | ||
| # - name: 'Cacheopt E2E (Part 1)' | ||
| # cmd: 'python -m pytest -v ./tests/python_tests/test_kv_cache_eviction/test_kv_cache_eviction_1.py' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test }} | ||
| # timeout: 180 | ||
| # - name: 'Cacheopt E2E (Part 2)' | ||
| # cmd: 'python -m pytest -v ./tests/python_tests/test_kv_cache_eviction/test_kv_cache_eviction_2.py' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test }} | ||
| # timeout: 360 | ||
| # - name: 'LLM & VLM' | ||
| # cmd: 'python -m pytest -v ./tests/python_tests/test_llm_pipeline.py ./tests/python_tests/test_llm_pipeline_static.py ./tests/python_tests/test_vlm_pipeline.py ./tests/python_tests/test_structured_output.py --override-ini cache_dir=/mount/caches/pytest/' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).visual_language.test || fromJSON(needs.smart_ci.outputs.affected_components).LLM.test }} | ||
| # timeout: 180 | ||
| # - name: 'GGUF Reader tests' | ||
| # cmd: 'python -m pytest -v ./tests/python_tests/test_gguf_reader.py' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).GGUF.test || fromJSON(needs.smart_ci.outputs.affected_components).LLM.test }} | ||
| # timeout: 360 | ||
| # - name: 'Tokenizer tests' | ||
| # cmd: 'python -m pytest -v ./tests/python_tests/test_tokenizer.py' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).tokenizers.test }} | ||
| # timeout: 60 | ||
| # - name: 'API tests' | ||
| # cmd: 'python -m pytest -v ./tests/python_tests/test_continuous_batching.py ./tests/python_tests/test_generation_config.py ./tests/python_tests/test_sampling.py ./tests/python_tests/test_text_streamer.py' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).continuous_batching.test || fromJSON(needs.smart_ci.outputs.affected_components).sampling.test || fromJSON(needs.smart_ci.outputs.affected_components).text_streamer.test }} | ||
| # timeout: 60 | ||
| - name: 'Rag tests' | ||
| cmd: 'python -m pytest -v ./tests/python_tests/test_rag.py' | ||
| cmd: 'python -m pytest -s -v ./tests/python_tests/test_rag.py -k test_qwen3_rerank_documents' | ||
|
||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).RAG.test }} | ||
| timeout: 30 | ||
| - name: 'WWB tests' | ||
| cmd: 'python -m pytest -v ./tools/who_what_benchmark/tests -m "not nanollava"' | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }} | ||
| timeout: 120 | ||
| - name: 'WWB tests (nanollava)' | ||
| cmd: | | ||
| python -m pip install transformers==4.48.0 | ||
| python -m pytest -v ./tools/who_what_benchmark/tests -m nanollava | ||
| run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }} | ||
| timeout: 90 | ||
| # - name: 'WWB tests' | ||
| # cmd: 'python -m pytest -v ./tools/who_what_benchmark/tests -m "not nanollava"' | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }} | ||
| # timeout: 120 | ||
| # - name: 'WWB tests (nanollava)' | ||
| # cmd: | | ||
| # python -m pip install transformers==4.48.0 | ||
| # python -m pytest -v ./tools/who_what_benchmark/tests -m nanollava | ||
| # run_condition: ${{ fromJSON(needs.smart_ci.outputs.affected_components).WWB.test }} | ||
| # timeout: 90 | ||
| defaults: | ||
| run: | ||
| shell: bash | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Workflow configuration has been modified to only run specific tests. This change should be reverted before merging to ensure full test coverage in CI.