Skip to content

Conversation

@Qin-sx
Copy link
Contributor

@Qin-sx Qin-sx commented Jul 3, 2025

PR Category

User Experience

PR Types

Improvements

Description

当前问题

scaled_dot_product_attention函数,输入是3D时,输出不是3D

解决方案

将输出也改为3D

Qin-sx added 6 commits June 14, 2025 22:17
modified: python/paddle/nn/functional/flash_attention.py	modified: test/legacy_test/test_scaled_dot_product_attention.py
modified: test/legacy_test/test_scaled_dot_product_attention.py
modified: test/legacy_test/test_scaled_dot_product_attention.py
modified: python/paddle/nn/functional/flash_attention.py	modified: test/legacy_test/test_scaled_dot_product_attention.py
modified: python/paddle/nn/functional/flash_attention.py
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (develop@8ae7423). Learn more about missing BASE report.

Additional details and impacted files
@@ Coverage Diff @@ ## develop #73804 +/- ## =========================================== Coverage ? 100.00% =========================================== Files ? 1 Lines ? 2 Branches ? 0 =========================================== Hits ? 2 Misses ? 0 Partials ? 0 

☔ 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.
@paddle-bot paddle-bot bot added the contributor External developers label Jul 3, 2025
Copy link
Contributor

@zhwesky2010 zhwesky2010 left a comment

Choose a reason for hiding this comment

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

LGTM

@zhwesky2010 zhwesky2010 merged commit fcab4c5 into PaddlePaddle:develop Jul 7, 2025
101 of 107 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

4 participants