Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
8c8ebeb9
Unverified
Commit
8c8ebeb9
authored
Jan 29, 2026
by
Chendi.Xue
Committed by
GitHub
Jan 29, 2026
Browse files
[BUGFIX][XPU] fix memory check after XPU reuse GPU_worker (#33358)
Signed-off-by:
Chendi Xue
<
chendi.xue@intel.com
>
parent
831453fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/v1/worker/gpu_worker.py
vllm/v1/worker/gpu_worker.py
+1
-1
No files found.
vllm/v1/worker/gpu_worker.py
View file @
8c8ebeb9
...
@@ -330,7 +330,7 @@ class Worker(WorkerBase):
...
@@ -330,7 +330,7 @@ class Worker(WorkerBase):
free_gpu_memory
=
profile_result
.
after_profile
.
free_memory
free_gpu_memory
=
profile_result
.
after_profile
.
free_memory
# NOTE(woosuk): Here we assume that the other processes using the same
# NOTE(woosuk): Here we assume that the other processes using the same
# GPU did not change their memory usage during the profiling.
# GPU did not change their memory usage during the profiling.
assert
self
.
init_snapshot
.
free_memory
>
free_gpu_memory
,
(
assert
self
.
init_snapshot
.
free_memory
>
=
free_gpu_memory
,
(
"Error in memory profiling. "
"Error in memory profiling. "
f
"Initial free memory
{
format_gib
(
self
.
init_snapshot
.
free_memory
)
}
GiB, "
f
"Initial free memory
{
format_gib
(
self
.
init_snapshot
.
free_memory
)
}
GiB, "
f
"current free memory
{
format_gib
(
free_gpu_memory
)
}
GiB. "
f
"current free memory
{
format_gib
(
free_gpu_memory
)
}
GiB. "
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment