"vscode:/vscode.git/clone" did not exist on "bd28e442b1cb291f7ee6019b4b67731463f2fde7"
Unverified Commit 96cc0698 authored by richardhuo-nv's avatar richardhuo-nv Committed by GitHub
Browse files

fix: fix the if statement for checking tllm_disagg_params.opaque_state is none (#1679)

parent c7c3d0ed
......@@ -57,7 +57,7 @@ class DisaggregatedTypeConverter:
else:
encoded_opaque_state = (
base64.b64encode(tllm_disagg_params.opaque_state).decode("utf-8")
if tllm_disagg_params is not None
if tllm_disagg_params.opaque_state is not None
else None
)
return DisaggregatedParams(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment