Skip to content

fix: correct MinInferenceVRAMGB and TotalVRAMGB calculation in PD planner#1236

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2688_8c39d47
Jul 7, 2026
Merged

fix: correct MinInferenceVRAMGB and TotalVRAMGB calculation in PD planner#1236
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2688_8c39d47

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Fixes incorrect MinInferenceVRAMGB and TotalVRAMGB calculations in the PD planner by replacing hardcoded values with dynamic inputs from metadata.mini_gpu_memory_gb and correcting the total VRAM formula to use pod-based logic.
  • Updates PlanPDRecommendation and planResultToRoleConfig to accept and propagate the minInferenceVRAMGB parameter, ensuring accurate GPU memory recommendations across different model configurations.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1232

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@HaiHui886
HaiHui886 merged commit f8d4133 into main Jul 7, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2688_8c39d47 branch July 7, 2026 02:53
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.

3 participants