mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-09-04 02:47:00 +08:00
Ignore '<string>' filepath (#17330)
Signed-off-by: rzou <zou3519@gmail.com>
This commit is contained in:
parent
d6da8a8ff2
commit
165cb56329
@ -382,6 +382,10 @@ class VllmBackend:
|
|||||||
hash_content = []
|
hash_content = []
|
||||||
for filepath in forward_code_files:
|
for filepath in forward_code_files:
|
||||||
hash_content.append(filepath)
|
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:
|
with open(filepath) as f:
|
||||||
hash_content.append(f.read())
|
hash_content.append(f.read())
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user