Skip to content

fix auto-parallel#587

Merged
tianlef merged 1 commit intoPaddlePaddle:developfrom
sevenan2:qwen3vl_auto
Mar 18, 2026
Merged

fix auto-parallel#587
tianlef merged 1 commit intoPaddlePaddle:developfrom
sevenan2:qwen3vl_auto

Conversation

@sevenan2
Copy link
Copy Markdown
Contributor

@sevenan2 sevenan2 commented Mar 3, 2026

1、fix bias tensor 提前释放问题, bias.clone()避免因提前释放找不到
2、fix view导致的shape异常,view->reshape

@sevenan2 sevenan2 force-pushed the qwen3vl_auto branch 2 times, most recently from 0040162 to c878c97 Compare March 9, 2026 06:52
t_pass = t_pass.astype(dtype="float32")
res = paddle.cat((t, t_pass), axis=-1).astype(orig_t_dtype)
else:
res = t
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

res dtype 是 "float32",但这里是否应该保持 dtype 和 orig_t_dtype 一致呢?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

已修改,感谢提醒

@tianlef tianlef merged commit c21cfd1 into PaddlePaddle:develop Mar 18, 2026
29 of 31 checks passed
ShigureNyako pushed a commit to ShigureNyako/PaddleFleet that referenced this pull request Mar 18, 2026
@ShigureNyako
Copy link
Copy Markdown
Contributor

✅ Cherry-pick successful! Created PR: #643

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 45.45455% with 6 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (develop@1bee994). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...paddlefleet/models/common/embeddings/rope_utils.py 0.00% 6 Missing ⚠️

❌ Your patch status has failed because the patch coverage (45.45%) is below the target coverage (90.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             develop     #587   +/-   ##
==========================================
  Coverage           ?   38.46%           
==========================================
  Files              ?        5           
  Lines              ?       13           
  Branches           ?        1           
==========================================
  Hits               ?        5           
  Misses             ?        8           
  Partials           ?        0           
Flag Coverage Δ
coverage_combine 38.46% <45.45%> (?)

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

Files with missing lines Coverage Δ
src/paddlefleet/tensor_parallel/layers.py 100.00% <100.00%> (ø)
src/paddlefleet/transformer/attention.py 100.00% <100.00%> (ø)
src/paddlefleet/utils.py 100.00% <100.00%> (ø)
...paddlefleet/models/common/embeddings/rope_utils.py 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants