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
bd292be0
Unverified
Commit
bd292be0
authored
Jan 15, 2026
by
Richard Zou
Committed by
GitHub
Jan 15, 2026
Browse files
[BugFix] Python file source reading can fail on UnicodeDecodeError (#32416)
Signed-off-by:
Richard Zou
<
zou3519@gmail.com
>
parent
41c544f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/compilation/backends.py
vllm/compilation/backends.py
+1
-1
No files found.
vllm/compilation/backends.py
View file @
bd292be0
...
...
@@ -606,7 +606,7 @@ class VllmBackend:
try
:
with
open
(
filepath
)
as
f
:
hash_content
.
append
(
f
.
read
())
except
OSError
:
except
(
OSError
,
UnicodeDecodeError
)
:
logger
.
warning
(
"Failed to read file %s"
,
filepath
)
continue
code_hash
=
hashlib
.
sha256
(
"
\n
"
.
join
(
hash_content
).
encode
()).
hexdigest
()
...
...
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