Skip to content

fix(naming): remove gratuitous "vLLM" from neutral log strings (#18 OVER-translation) - #153

Merged
princepride merged 1 commit into
mainfrom
sync/over-translation-cleanup
Jun 6, 2026
Merged

fix(naming): remove gratuitous "vLLM" from neutral log strings (#18 OVER-translation)#153
princepride merged 1 commit into
mainfrom
sync/over-translation-cleanup

Conversation

@aoshen02

@aoshen02 aoshen02 commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Bidirectional translation audit, OVER direction: the original #18 sglang→vllm port injected vLLM into log/error strings where upstream slime was engine-neutral. Per the ground principle (vime = slime modulo sglang→vllm; never ADD an engine word where slime had none), restore neutrality.

7 strings (4 in vllm_engine.py, 3 in vllm_rollout.py). Each verified 1:1 against slime@cutoff 7a7aba4:

vime (before) slime original (neutral)
Error resetting vLLM prefix cache Error flushing cache
Timeout while resetting vLLM prefix cache Timeout while flushing cache.
Shutdown vLLM engine Shutdown engine
Simulating crash on vLLM engine Simulating crash on engine
vLLM rollout abort (pause) Abort request for …
Failed to resume vLLM worker Failed to abort worker …
vLLM rollout: resuming workers … (neutral style)

Kept (not over-translation): vime-original vLLM machinery (IPC weight transfer, /server_info, routing replay, MM placeholders, sleep/wake) and correct translations of slime SGLang (e.g. Use external SGLang enginevLLM).

Translation rule reference: agent_run/reports/SGLANG_TO_VLLM_TRANSLATION.md §1/§4.

🤖 Generated with Claude Code

aoshen02 added a commit that referenced this pull request Jun 5, 2026
OVER-translation audit: slime #1953 logged the neutral "Error flushing cache:
HTTP …"; the vime port added "vLLM" ("Error resetting vLLM prefix cache: HTTP
…"). Remove the engine word to match slime's neutral wording (endpoint name
reset_prefix_cache is kept). The 4 pre-existing occurrences inherited from
main are fixed separately in PR #153.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

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

Copy link
Copy Markdown
Contributor

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 simplifies logging and error messages across vllm_engine.py and vllm_rollout.py by removing redundant 'vLLM' prefixes from the text. No review comments were provided, and there is no additional feedback to address.

@aoshen02
aoshen02 force-pushed the sync/over-translation-cleanup branch from cf3939f to ded50f3 Compare June 5, 2026 07:27
aoshen02 added a commit that referenced this pull request Jun 5, 2026
slime #1953 logged the neutral "Error flushing cache: HTTP …"; the port wrote
"Error resetting vLLM prefix cache: HTTP …". Restore slime's exact wording
(the /reset_prefix_cache endpoint + flush_cache method are vLLM's real API,
unchanged). The 4 pre-existing main occurrences are fixed in PR #153.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
aoshen02 added a commit that referenced this pull request Jun 5, 2026
slime #1953 logged the neutral "Error flushing cache: HTTP …"; the port wrote
"Error resetting vLLM prefix cache: HTTP …". Restore slime's exact wording
(the /reset_prefix_cache endpoint + flush_cache method are vLLM's real API,
unchanged). The 4 pre-existing main occurrences are fixed in PR #153.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…VER-translation)

Restore slime-verbatim neutral log wording where vime had over-translated by
inserting "vLLM" into strings slime kept engine-agnostic:
  - "Shutdown vLLM engine" -> "Shutdown engine"
  - "Simulating crash on vLLM engine" -> "Simulating crash on engine"
  - "vLLM rollout: resuming workers..." -> "rollout: resuming workers..."
  - "Failed to resume vLLM worker" -> "Failed to resume worker"
  - "vLLM rollout abort (pause) for workers" -> "Abort request for %s"
  - "Failed to pause/abort worker" -> "Failed to abort worker at %s"

flush_cache log strings dropped from this PR: #137 removes that retry loop
entirely (vLLM /reset_prefix_cache always 200s), so there is nothing left to
re-word there.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aoshen02
aoshen02 force-pushed the sync/over-translation-cleanup branch from ded50f3 to 1915152 Compare June 5, 2026 14:04
@princepride
princepride marked this pull request as ready for review June 6, 2026 08:36
@princepride
princepride merged commit 0d1d33f into main Jun 6, 2026
10 of 14 checks passed
@aoshen02
aoshen02 deleted the sync/over-translation-cleanup branch June 8, 2026 14:17
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.

2 participants