Skip to content

[Deprecation] Deprecate cprofile and cprofile_context#39100

Merged
DarkLight1337 merged 1 commit into
mainfrom
wentao-deprecate-cprofile
Apr 21, 2026
Merged

[Deprecation] Deprecate cprofile and cprofile_context#39100
DarkLight1337 merged 1 commit into
mainfrom
wentao-deprecate-cprofile

Conversation

@yewentao256
Copy link
Copy Markdown
Member

Purpose

Deprecate cprofile and cprofile_context as these are not used at all inside vLLM

But since we have document describing this so it is a better idea to go for a deprecate period instead of deleting it directly.

Signed-off-by: yewentao256 <zhyanwentao@126.com>
@yewentao256 yewentao256 added the ready ONLY add when PR is ready to merge/full CI is needed label Apr 6, 2026
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 6, 2026

Documentation preview: https://vllm--39100.org.readthedocs.build/en/39100/

@mergify mergify Bot added the documentation Improvements or additions to documentation label Apr 6, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request deprecates the vllm.utils.profiling helper functions, specifically cprofile and cprofile_context, in favor of using Python's native cProfile module. The changes include updating the documentation and adding @deprecated decorators to the functions in vllm/utils/profiling.py, with a planned removal in version v0.21. I have no feedback to provide.

@yewentao256
Copy link
Copy Markdown
Member Author

@DarkLight1337 CC

@DarkLight1337
Copy link
Copy Markdown
Member

cc @youkaichao

@yewentao256
Copy link
Copy Markdown
Member Author

yewentao256 commented Apr 20, 2026

Hi @DarkLight1337 Seems that @youkaichao is very busy recently, I don't think this part is risky to remove as not used at all. Wondering if you could help land it? Thanks!

Copy link
Copy Markdown
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

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

Ok let's move forward with this then.

@DarkLight1337 DarkLight1337 merged commit 301024a into main Apr 21, 2026
52 checks passed
@DarkLight1337 DarkLight1337 deleted the wentao-deprecate-cprofile branch April 21, 2026 03:25
@DarkLight1337 DarkLight1337 added this to the v0.20.0 cherry picks milestone Apr 21, 2026
khluu pushed a commit that referenced this pull request Apr 22, 2026
Signed-off-by: yewentao256 <zhyanwentao@126.com>
(cherry picked from commit 301024a)
Copilot AI pushed a commit to hongbolv/vllm that referenced this pull request Apr 22, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Co-authored-by: hongbolv <33214277+hongbolv@users.noreply.github.com>
baonudesifeizhai pushed a commit to baonudesifeizhai/vllm that referenced this pull request Apr 23, 2026
yzong-rh pushed a commit to yzong-rh/vllm that referenced this pull request Apr 23, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Yifan <yzong@redhat.com>
avinashsingh77 pushed a commit to avinashsingh77/vllm that referenced this pull request Apr 27, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Avinash Singh <avinashsingh.rcoem@gmail.com>
Lafunamor pushed a commit to Lafunamor/vllm that referenced this pull request May 1, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Signed-off-by: Adrian <info@zzit.ch>
Copilot AI pushed a commit to hongbolv/vllm that referenced this pull request May 7, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
Co-authored-by: hongbolv <33214277+hongbolv@users.noreply.github.com>
mystous pushed a commit to mystous/vllm_hybrid that referenced this pull request May 10, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
(cherry picked from commit 301024a)
weifang231 pushed a commit to weifang231/eb-vllm that referenced this pull request May 13, 2026
my-other-github-account pushed a commit to my-other-github-account/vllm that referenced this pull request May 15, 2026
my-other-github-account pushed a commit to my-other-github-account/vllm that referenced this pull request May 15, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
(cherry picked from commit 92f5f32)
my-other-github-account pushed a commit to my-other-github-account/vllm that referenced this pull request May 15, 2026
my-other-github-account pushed a commit to my-other-github-account/vllm that referenced this pull request May 15, 2026
…9100)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
(cherry picked from commit 3fb4b5b)
mfylcek pushed a commit to mfylcek/vllm that referenced this pull request May 19, 2026
jhu960213 pushed a commit to jhu960213/vllm that referenced this pull request May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants