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

Arendjan/vlm #84

Merged
merged 15 commits into from
Jan 23, 2025
Merged

Arendjan/vlm #84

merged 15 commits into from
Jan 23, 2025

Conversation

ArendJanKramer
Copy link
Collaborator

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 469 files.

Valid Invalid Ignored Fixed
206 3 260 0
Click to see the invalid file list
  • lib/pages/vlm/widgets/image_grid.dart
  • openvino_bindings/src/vlm/load_image.cpp
  • openvino_bindings/src/vlm/load_image.hpp
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

lib/pages/vlm/widgets/image_grid.dart Outdated Show resolved Hide resolved
openvino_bindings/src/vlm/load_image.cpp Outdated Show resolved Hide resolved
openvino_bindings/src/vlm/load_image.hpp Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 25.69170% with 188 lines in your changes missing coverage. Please review.

Project coverage is 32.22%. Comparing base (2a16293) to head (b0cdbd9).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
lib/providers/vlm_inference_provider.dart 7.69% 96 Missing ⚠️
lib/interop/vlm_inference.dart 0.00% 59 Missing ⚠️
lib/interop/generated_bindings.dart 0.00% 14 Missing ⚠️
lib/pages/vlm/widgets/assistant_message.dart 82.60% 12 Missing ⚠️
lib/project.dart 0.00% 6 Missing ⚠️
lib/interop/openvino_bindings.dart 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
- Coverage   33.33%   32.22%   -1.11%     
==========================================
  Files          39       42       +3     
  Lines        1494     1747     +253     
==========================================
+ Hits          498      563      +65     
- Misses        996     1184     +188     
Flag Coverage Δ
unittests 32.22% <25.69%> (-1.11%) ⬇️

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.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 464 files.

Valid Invalid Ignored Fixed
202 2 260 0
Click to see the invalid file list
  • lib/pages/text_to_image/widgets/assistant_message.dart
  • lib/pages/text_to_image/widgets/user_message.dart
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

@ArendJanKramer ArendJanKramer marked this pull request as ready for review January 22, 2025 15:32
Comment on lines +93 to +101
const auto t2 = std::chrono::steady_clock::now();

const auto generate_time = std::chrono::duration_cast<std::chrono::milliseconds>(t2 - t1).count();

const auto load_time_f = static_cast<float>(load_time);
const auto generate_time_f = static_cast<float>(generate_time);
auto metrics = convertToVLMMetricsStruct(results.perf_metrics);
metrics.generate_time = generate_time_f;
metrics.load_time = load_time_f;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we check with OV team why metrics are not correct? Perhaps newer OpenVINO version could fix this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes will check with them

openvino_bindings/src/vlm/vlm_inference_test.cc Outdated Show resolved Hide resolved
@ArendJanKramer ArendJanKramer merged commit ce6f20a into main Jan 23, 2025
10 of 12 checks passed
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