[v2] ci: run bm25 and ColBERT test in ci#1829
[v2] ci: run bm25 and ColBERT test in ci#1829Samoed merged 17 commits intoembeddings-benchmark:v2.0.0from
Conversation
KennethEnevoldsen
left a comment
There was a problem hiding this comment.
This only really checks if they can be installed. We should add an actual test as well?
|
I added two tests in this PR. However, they are not being run in the CI because the dependencies don't exist. |
|
Ahh thanks for the pointer. Any reason not to remove the skip? (I could later clean up the installs without knowing that I disabled a test). Will you also add a time diff? (coverage report would also be nice, but not required) |
|
The current issue with PyLate (referenced in GitHub Issue #79) is related to compatibility problems with older Python versions, which is causing the tests for Python 3.9 to fail. Not skipping would require all developers to install additional dependencies: |
|
Tests conducted on v2.0.0 with Python 3.11: checks occasionally take up to 12 minutes. Performance benchmarks: Test coverage summary: |
|
I believe I’ve added everything for now and would be happy to get your review of the changes!
|
|
@Samoed can you give me a review if you have some time? |
tests/test_benchmark/test_benchmark_integration_with_sentencetransformers.py
Show resolved
Hide resolved
Co-authored-by: Roman Solomatin <samoed.roman@gmail.com>
a29aa75 to
893d804
Compare
|
Why was |
|
|
The |
|
Awesome, thanks a lot! |
cI: Enable skipped tests for ColBERT and BM25
fix: get model meta from CrossEncoder
ref: use tmp_path for tests
test: add tests for model_meta
Checklist
make test.make lint.start in: #1759 (comment)