Skip to content

Commit aa0ac68

Browse files
committed
temp fix for offline ci
Signed-off-by: h-guo18 <[email protected]>
1 parent 15be4d2 commit aa0ac68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/speculative_decoding/eagle_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def make_eagle_supervised_data_module(
270270
# Filter to conversations that exist in the offline data and in the provided json
271271
valid_entries = []
272272
for entry in data_json:
273-
conv_id = entry.get("conversation_id") or entry.get("id")
273+
conv_id = entry.get("conversation_id", entry.get("id"))
274274
if conv_id is None:
275275
raise ValueError(
276276
"Each entry in the data json must have a 'conversation_id' or 'id' field."

0 commit comments

Comments
 (0)