[Bugfix]Fix a conditional to not check zero value (#28754)
Signed-off-by: Yanan Cao <gmagogsfm@gmail.com>
This commit is contained in:
@@ -116,7 +116,8 @@ class VllmSerializableFunction(SerializableCallable):
|
|||||||
the AOT compiled path.
|
the AOT compiled path.
|
||||||
"""
|
"""
|
||||||
compile_inputs = [
|
compile_inputs = [
|
||||||
inp or example_inputs[i] for i, inp in enumerate(fn.example_inputs)
|
inp if inp is not None else example_inputs[i]
|
||||||
|
for i, inp in enumerate(fn.example_inputs)
|
||||||
]
|
]
|
||||||
with tracing(TracingContext(fake_mode)):
|
with tracing(TracingContext(fake_mode)):
|
||||||
fn.optimized_call = vllm_backend(
|
fn.optimized_call = vllm_backend(
|
||||||
|
|||||||
Reference in New Issue
Block a user