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
f377333b
Unverified
Commit
f377333b
authored
Oct 08, 2025
by
Daniele
Committed by
GitHub
Oct 08, 2025
Browse files
[Misc] add `usedforsecurity=False` in md5 hash call (#26357)
Signed-off-by:
Daniele Trifirò
<
dtrifiro@redhat.com
>
parent
f8607863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/model_executor/models/registry.py
vllm/model_executor/models/registry.py
+1
-1
No files found.
vllm/model_executor/models/registry.py
View file @
f377333b
...
...
@@ -609,7 +609,7 @@ class _LazyRegisteredModel(_BaseRegisteredModel):
if
model_path
.
exists
():
with
open
(
model_path
,
"rb"
)
as
f
:
module_hash
=
hashlib
.
md5
(
f
.
read
()).
hexdigest
()
module_hash
=
hashlib
.
md5
(
f
.
read
()
,
usedforsecurity
=
False
).
hexdigest
()
mi
=
self
.
_load_modelinfo_from_cache
(
module_hash
)
if
mi
is
not
None
:
...
...
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