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
165cb563
Unverified
Commit
165cb563
authored
Apr 28, 2025
by
Richard Zou
Committed by
GitHub
Apr 28, 2025
Browse files
Ignore `'<string>'` filepath (#17330)
Signed-off-by:
rzou
<
zou3519@gmail.com
>
parent
d6da8a8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vllm/compilation/backends.py
vllm/compilation/backends.py
+4
-0
No files found.
vllm/compilation/backends.py
View file @
165cb563
...
...
@@ -382,6 +382,10 @@ class VllmBackend:
hash_content
=
[]
for
filepath
in
forward_code_files
:
hash_content
.
append
(
filepath
)
if
filepath
==
"<string>"
:
# This means the function was dynamically generated, with
# e.g. exec(). We can't actually check these.
continue
with
open
(
filepath
)
as
f
:
hash_content
.
append
(
f
.
read
())
import
hashlib
...
...
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