Skip to content

[PIR] Update paddle.inference infer example for Ernie-vil2.0 #10500

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

Merged
merged 2 commits into from
May 21, 2025

Conversation

hanlintang
Copy link
Contributor

PR types

Bug fixes

PR changes

Models

Description

  1. 在文档更新lexical_analysis 进行推理时候的运行命令;
  2. ernie-vil2.0原本的arrow数据生成脚本一直提示存在匹配不上的文本和图片,重新写了脚本解决这个问题;
  3. ernie-vil2.0使用paddle.inference推理实现,代替原本使用fastdeploy的实现;
  4. 根据代码变化和运行实际,修改文档当中的命令与输出。
Modified:

slm/examples/lexical_analysis/README.md
slm/model_zoo/ernie-vil2.0/README.md
slm/model_zoo/ernie-vil2.0/deploy/python/infer.py
slm/model_zoo/ernie-vil2.0/preprocess/create_arrow_dataset.py

Issue: #9763
@DrownFish19

Copy link

paddle-bot bot commented Apr 25, 2025

Thanks for your contribution!

Copy link

codecov bot commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.67%. Comparing base (e8a19d3) to head (18bd621).
Report is 55 commits behind head on develop.

❌ Your project status has failed because the head coverage (48.67%) is below the target coverage (58.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #10500   +/-   ##
========================================
  Coverage    48.67%   48.67%           
========================================
  Files          768      768           
  Lines       126915   126915           
========================================
+ Hits         61777    61778    +1     
+ Misses       65138    65137    -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Apr 27, 2025
@luotao1 luotao1 assigned luotao1 and DrownFish19 and unassigned gongel Apr 27, 2025
Copy link
Collaborator

@DrownFish19 DrownFish19 left a comment

Choose a reason for hiding this comment

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

LGTM

@ZHUI ZHUI merged commit 38828ba into PaddlePaddle:develop May 21, 2025
10 of 12 checks passed
@hanlintang hanlintang deleted the vil20 branch May 21, 2025 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants