mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-06 07:01:49 +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 = []
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user