Skip to content

[Cherry-Pick][Feature]distinguish whl version(#7204)#7224

Open
EmmonsCurse wants to merge 1 commit intoPaddlePaddle:release/2.6from
EmmonsCurse:cherry-pick/7204/release/2.6
Open

[Cherry-Pick][Feature]distinguish whl version(#7204)#7224
EmmonsCurse wants to merge 1 commit intoPaddlePaddle:release/2.6from
EmmonsCurse:cherry-pick/7204/release/2.6

Conversation

@EmmonsCurse
Copy link
Copy Markdown
Collaborator

Cherry-pick of #7204 (authored by @ChowMingSing) to release/2.6.

devPR:#7204


Motivation

rename whl

Modifications

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
  • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
  • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@paddle-bot
Copy link
Copy Markdown

paddle-bot bot commented Apr 7, 2026

Thanks for your contribution!

* [Feature]whl version

* [Feature]whl version,set root_is_pure = false

* [Feature]code style
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (release/2.6@7ab48c4). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff               @@
##             release/2.6    #7224   +/-   ##
==============================================
  Coverage               ?   73.26%           
==============================================
  Files                  ?      376           
  Lines                  ?    52886           
  Branches               ?     8249           
==============================================
  Hits                   ?    38746           
  Misses                 ?    11432           
  Partials               ?     2708           
Flag Coverage Δ
GPU 73.26% <ø> (?)

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.

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

Copy link
Copy Markdown

@fastdeploy-bot fastdeploy-bot left a comment

Choose a reason for hiding this comment

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

🤖 AI Code Review | 2026-04-08 10:48 CST

📋 Review 摘要

PR 概述:将 FastDeploy wheel 从纯 Python wheel(py3-none-any)改为平台特定 wheel(如 cp310-cp310-linux_x86_64),以便区分不同架构和 Python 版本的 whl 文件

变更范围:setup.py(打包构建配置)

影响面 Tag[Feature]

问题

级别 文件 概述
🟡 建议 setup.py:45 类文档注释描述为"pure Python packages",但实际变更后生成的是平台特定 wheel

总体评价

这是一个从 develop 分支 cherry-pick 到 release/2.6 的 PR,代码逻辑正确。使用 packaging.tags 是 Python 打包的推荐做法,变更合理。未发现阻塞性问题。



class CustomBdistWheel(bdist_wheel):
"""Custom wheel builder for pure Python packages."""
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 建议 类文档注释仍然描述为"Custom wheel builder for pure Python packages",但实际变更后生成的是平台特定的 wheel(非纯 Python)。

建议更新文档注释以与实际行为一致:

class CustomBdistWheel(bdist_wheel):
    """Custom wheel builder for platform-specific packages."""

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.

5 participants