Skip to content

Conversation

@Echo-Nie
Copy link
Contributor

@Echo-Nie Echo-Nie commented Oct 31, 2025

Motivation

Enhances the FastDeploy build system by introducing precompiled wheel support.
The motivation is to:

  • Reduce build time by reusing precompiled GPU operator binaries when available.
  • Improve flexibility by allowing users to toggle between source compilation and wheel-based installation.

Modifications

Added pre_wheel/ logic in build.sh;
Wheel validation;
Fallback to source compilation when the wheel is missing, corrupted, or fails to install.

Usage or Command

# Build wheel from source
bash build.sh 1 python false [90] 0

# Use precompiled wheel if available
bash build.sh 1 python false [90] 1

# Use precompiled wheel from a specific commit
bash build.sh 1 python false [90] 1 7dbd9412b0de47aacad9011e8ace492af7247620

Accuracy Tests

download pre_wheel:

e5a782c2ab73668645a17cd699116a25 eea13764594a96d4ba9b4c90840eaf57

build from source:

3ae500a6966a5901ad4de3b1049b7d1f 5ed1395c3e4244fafbf488b0d9cac3b2 60ed63d2f90da4d1c603a85394c86013

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.

Updated copyright year and added precompiled wheel installation logic.
@paddle-bot
Copy link

paddle-bot bot commented Oct 31, 2025

Thanks for your contribution!

@paddle-bot paddle-bot bot added the contributor External developers label Oct 31, 2025
@Echo-Nie
Copy link
Contributor Author

Echo-Nie commented Nov 4, 2025

/re-run all-failed

@Echo-Nie
Copy link
Contributor Author

Echo-Nie commented Nov 5, 2025

@YuanRisheng @zoooo0820

@Echo-Nie
Copy link
Contributor Author

/re-run all-failed

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

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants