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

[fp8]Support deep gemm #9955

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

risemeup1
Copy link
Contributor

Before submitting

  • Lint code. If there are lint issues, please format the code first.
# Install and register `pre-commit` in the project folder
pip install pre-commit && pre-commit install

# Process previous code files separately
pre-commit run --file XXXX.py
  • Add test cases into tests folder. If there are codecov issues, please add tests cases first.

PR types

PR changes

Description

Copy link

paddle-bot bot commented Feb 27, 2025

Thanks for your contribution!

Copy link

codecov bot commented Feb 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.08%. Comparing base (c71287d) to head (b491f17).
Report is 9 commits behind head on develop.

❌ Your project check has failed because the head coverage (51.08%) 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    #9955      +/-   ##
===========================================
- Coverage    51.28%   51.08%   -0.20%     
===========================================
  Files          745      745              
  Lines       118782   119261     +479     
===========================================
+ Hits         60912    60924      +12     
- Misses       57870    58337     +467     

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

aligned_m = get_tma_aligned_size(m, x.element_size())

# The last kernel gives a column-major TMA aligned layout
# if x.stride(0) == aligned_m * n and x.stride(1) == 1 and x.stride(2) == aligned_m:
Copy link
Contributor

Choose a reason for hiding this comment

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

可以通过 x.strides[0] 访问stride 属性,这段逻辑不能删除

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