Skip to content
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

split out testing of computer vision from llm and nlp examples in CI #782

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Jan 5, 2025

There are 5 computer vision and 4 llm and nlp examples under test. It makes sense to split these into separate groups now.

Run times from https://github.com/iterative/datachain/actions/runs/12623540854/job/35172643534?pr=781 -

292.75s call     tests/examples/test_examples.py::test_computer_vision_examples[examples/computer_vision/iptc_exif_xmp_lib.py]
276.43s call     tests/examples/test_examples.py::test_llm_and_nlp_examples[examples/llm_and_nlp/unstructured-embeddings-gen.py]
104.46s call     tests/examples/test_examples.py::test_computer_vision_examples[examples/computer_vision/openimage-detect.py]
56.33s call     tests/examples/test_examples.py::test_llm_and_nlp_examples[examples/llm_and_nlp/unstructured-summary-map.py]
42.42s call     tests/examples/test_examples.py::test_llm_and_nlp_examples[examples/llm_and_nlp/hf-dataset-llm-eval.py]
27.27s call     tests/examples/test_examples.py::test_computer_vision_examples[examples/computer_vision/ultralytics-bbox.py]
26.70s call     tests/examples/test_examples.py::test_computer_vision_examples[examples/computer_vision/ultralytics-segment.py]
25.25s call     tests/examples/test_examples.py::test_computer_vision_examples[examples/computer_vision/ultralytics-pose.py]
0.01s setup    tests/examples/test_examples.py::test_llm_and_nlp_examples[examples/llm_and_nlp/claude-query.py]

Copy link

Deploying datachain-documentation with  Cloudflare Pages  Cloudflare Pages

Latest commit: 34207a9
Status: ✅  Deploy successful!
Preview URL: https://a8c0b8cf.datachain-documentation.pages.dev
Branch Preview URL: https://split-examples.datachain-documentation.pages.dev

View logs

@mattseddon
Copy link
Member Author

I think the change will only take effect after this is merged.

@mattseddon mattseddon marked this pull request as ready for review January 5, 2025 23:00
@mattseddon mattseddon requested a review from a team January 5, 2025 23:00
Copy link

codecov bot commented Jan 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.33%. Comparing base (0a53122) to head (34207a9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #782   +/-   ##
=======================================
  Coverage   87.33%   87.33%           
=======================================
  Files         128      128           
  Lines       11181    11181           
  Branches     1514     1514           
=======================================
  Hits         9765     9765           
  Misses       1041     1041           
  Partials      375      375           
Flag Coverage Δ
datachain 87.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mattseddon mattseddon merged commit 6dff062 into main Jan 5, 2025
32 of 34 checks passed
@mattseddon mattseddon deleted the split-examples branch January 5, 2025 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants