Skip to content

Add span_alloc for the size of gpu data allocation#786

Closed
QingleiCao wants to merge 1 commit into
ICLDisco:masterfrom
QingleiCao:qinglei/separate_gpu_allocation
Closed

Add span_alloc for the size of gpu data allocation#786
QingleiCao wants to merge 1 commit into
ICLDisco:masterfrom
QingleiCao:qinglei/separate_gpu_allocation

Conversation

@QingleiCao

@QingleiCao QingleiCao commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

This is useful when the GPU copy memory grows during runtime. It may reserve more memory than currently needed, but it avoids the overhead of GPU memory reallocations.

It's not the best solution, as it's not good for low-rank on GPU.

@QingleiCao
QingleiCao requested a review from a team as a code owner July 17, 2026 14:14
@QingleiCao
QingleiCao marked this pull request as draft July 17, 2026 16:15
@QingleiCao

Copy link
Copy Markdown
Contributor Author

Not a good solution for distributed env

@QingleiCao

Copy link
Copy Markdown
Contributor Author

It seems this PR is not needed, as we can reallocate memory in the BODY on GPU for both CPU and GPU.

@QingleiCao QingleiCao closed this Jul 21, 2026
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