Skip to content

Calc real VXPU memory size by hami/valcano gpu memory scale factor#1231

Open
csg-pr-bot wants to merge 1 commit into
mainfrom
sync_mr_2689_7562e4c
Open

Calc real VXPU memory size by hami/valcano gpu memory scale factor#1231
csg-pr-bot wants to merge 1 commit into
mainfrom
sync_mr_2689_7562e4c

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Introduces a new VGPUMemoryScalingFactor configuration (default 10) to correct VXPU memory reporting, as HAMI/Volcano vGPU values are scaled and previously displayed inaccurately.
  • Updates resource collection and request logic to convert between scaled and real memory sizes by applying the scaling factor during data retrieval and resource allocation.
  • Requires setting the STARHUB_SERVER_RUNNER_VGPU_MEMORY_SCING_FACTOR environment variable in deployment configurations to enable the conversion logic.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1230

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.

1 participant